| Current Path : /var/www/html/mmishra/iws8/html/indem/webbioexam/biomedical/ |
| Current File : /var/www/html/mmishra/iws8/html/indem/webbioexam/biomedical/dispatchlist.php |
<center><table><tr><td colspan=2 align=center><h2>Indian Institute of Information Technology Allahabad</h2></td></tr>
<tr><td width=20% align=center><img src="logo.gif" width="75" height="78" /></td>
<td width=80% align=center>
(A University under Section 3 0f UGC Act 1956)<br>
A Centre of Excellence in Information Technology, Estd. By Min. of HRD, Govt. of India, New Delhi<br>
Devghat Jhalwa, Allahabad – 211012, U.P. (INDIA)<br>
Ph: 0532-2922025,2922067 Fax: 0532-2922081 <br>
Web: <a href="http://www.iiita.ac.in/">www.iiita.ac.in</a> Email:
</td></tr>
</table>
<hr><h3>Online Applicantion Received For Five Year Integrated M. Tech. in Biomedical Engineering 2012-2013 </h3></center>
<?php
include "javafunctions.inc";
include "functions.inc";
dbConnect();
//$tbl = 'tbl_registration';
$tbl = 'tbl_final_alloted';
//$tbl = 'remaining_alloted_2';
$sno = 0;
echo "
<table border=1>
<tr><td><b>Sr No.</b></td>
<td><b>App. ID</b></td>
<td><b>Roll No.</b></td>
<td><b>Full Name</b></td>
<td><b>Father Name</b></td>
<td><b>Address</b></td>
</tr>";
$rs = mysql_query("select * from $tbl where flag!=1 and rollno NOT LIKE 'NULL' order by rollno");
if ($rs) {
while ($o = mysql_fetch_object($rs)){
$sno = $sno + 1;
$id = $o->id;
$rollno = $o->rollno;
$fullname = $o->fullname;
$dob = $o->dob;
$gender = $o->gender;
$nationality = $o->nationality;
$category = $o->category;
$fathername = $o->fathername;
$mothername = $o->mothername;
$address = $o->address;
$state = $o->state;
$pincode = $o->pincode;
$phone = $o->phone;
$fax = $o->fax;
$email = $o->email;
$txntype = $o->txntype;
$txnnumber = $o->txnnumber;
$amount = $o->amount;
$depositdate = $o->depositdate;
$bankbranch = $o->bankbranch;
$discipline12 = $o->discipline12;
$board12 = $o->board12;
$year12 = $o->year12;
$percentage12 = $o->percentage12;
$appearing12 = $o->appearing12;
$discipline10 = $o->discipline10;
$board10 = $o->board10;
$year10 = $o->year10;
$percentage10 = $o->percentage10;
$appearing10 = $o->appearing10;
$photo = $o->photo;
$status = $o->status;
if ($state) {
$ts = mysql_query("select sid from tbl_states where state='$state'");
if ($ts) {
$o = mysql_fetch_object($ts);
$sid = $o->sid;
}
}
switch ($category){
case "GE";
$cid = 1;
break;
case "MN";
$cid = 2;
break;
case "OBC";
$cid = 3;
break;
case "PD";
$cid = 4;
break;
case "SC";
$cid = 5;
break;
case "ST";
$cid = 6;
break;
}
if ($rollno) {
if ($rollno > 0 and $rollno < 10)
{ $rollno = "000".$rollno; }
if ($rollno > 9 and $rollno < 100)
{ $rollno = "00".$rollno; }
if ($rollno > 99 and $rollno < 1000)
{ $rollno = "0".$rollno; }
}
echo "<tr>
<td>".$sno."</td>
<td>".$id."</td>
<td>MBM".$sid.$cid.$rollno."</td>
<td>".ucwords($fullname)."</td>
<td>".ucwords($fathername)."</td>
<td>".ucwords($address)."</td>
</tr>
";
}}
echo "
</table>
";
?>