Sh3ll
OdayForums


Server : Apache
System : Linux profile 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
User : apache ( 48)
PHP Version : 8.0.28
Disable Function : NONE
Directory :  /var/www/html/mmishra/indem/webbioexam/biomedical/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/mmishra/indem/webbioexam/biomedical/pagewise_b.php
<style>
<!--table.background { background: url("images/bg.png") no-repeat center;} -->
table.background { background: url("images/seal.jpg") no-repeat center;}
</style>
<form method="post">
<?php
include "javafunctions.inc";
include "functions.inc";
dbConnect();
//$tbl = 'tbl_registration';
//$tbl = 'tbl_paid_300512';
//$tbl = 'tbl_paid_310512_n';
//$tbl = 'tbl_paid_310512_te';
//$tbl = 'tbl_paid_010612_n';
//$tbl = 'tbl_final_alloted';
//$tbl = 'remaining_alloted_1';
$tbl = 'tbl_final_alloted';

$per_page = 50;
//Calculating No. of pages
$sql = "select * from $tbl where flag != 2";
//$sql = "select * from $tbl where rollno>1048";
//$sql = "select * from $tbl";
$result = mysql_query ($sql);
$count = mysql_num_rows($result);
$pages = ceil($count/$per_page);

if (!$page) $page=1; 

if($_GET){
   $page = $_GET['page'];
   if (!$page) $page = 1;
}

$start = ($page-1)*$per_page;

$rs = mysql_query("select * from $tbl where flag !=2 order by rollno limit $start,$per_page");
//$rs = mysql_query("select * from $tbl where flag !=2 and rollno >1048 order by rollno limit $start,$per_page");
//$rs = mysql_query("select * from $tbl where flag!=2 and rollno > 401 limit $start,$per_page");
//$rs = mysql_query("select * from $tbl t, tbl_states ts where t.flag!=1 limit $start,$per_page");
	//while ($rs){
	//  	$o = mysql_fetch_object($rs);
	
	while ($o = mysql_fetch_object($rs)){
			
		$photoid = $o->id;
		$id = $o->id;
		$no = $o->no;
		$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;
	
		//$sid = $o->sid;
 		
		if ($state) {
		        $ts = mysql_query("select sid from tbl_states where state='$state'");
		        if ($ts) {
		                $p = mysql_fetch_object($ts);
		                $sid = $p->sid;
		        }
		} 
		//	$rollno = 1;
		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; }
		}
		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;
		}

echo "<center>
	<table>
		<tr VALIGN='TOP'>
			<td width=20% align=center><img src='logo.gif' width='55' height='68' /></td>
			<td align=center nowrap><h4>INDIAN INSTITUTE OF INFORMATION TECHNOLOGY ALLAHABAD<br>
			(A University under Section 3 0f UGC Act 1956)<br>
			Five Year Integrated M. Tech. Program in Bio-Medical Engineering 2012</h4></td>


		</tr>
	</table>
	<font size=+1><b>ADMIT CARD</b></font>
	    <table border=1 class='background'>
		<tr><td><b>Name & Address of Candidate</b></td>
		    <td colspan='2' align='right'><b>Roll No.&nbsp;&nbsp;</b>MBM".$sid.$cid.$rollno."<br></td>
		</tr>
		<tr><td>".ucwords($fullname)."<br>C/o ".ucwords($fathername)."<br>".ucwords($address)."<br>".ucwords($state)."<br>PIN: ".$pincode."<br></td>";
		 //   <td align='center' colspan=2><img src='photos/$photoid.jpg' height=130 width=110 /></td>
	 		$photofile='photofno/'.$no.'.jpg';
			if (file_exists($photofile)) {
		                echo "<td align='center' colspan=2><img src='photofno/$no.jpg' height=130 width=110 /></td>";
		        }
		        else {
		                echo "<td align='center' colspan=2><img src='photos/$id.jpg' height=130 width=110 /></td>";
		        }

		echo "</tr>
		<tr><td><b>Name & Address of Examination Centre:</b><br>
			   Indian Institute of Information Technology Allahabad<br>
			   Deoghat, Jhalwa Allahabad - 211012</td>
		    <td><b><center>Date & Time of<br>
		    		   Written Test</b><br>
				   17.06.2012<br>
				   (10:00 AM- 01:00 PM)
			   </center> 
		    <td><center><img src='images/are.jpg' width=110/></cneter></td>
		</tr>   
		<tr><td colspan='3'><b>Application No.:&nbsp;</b> $id <b>&nbsp;Category:</b> ";

	switch ($category){
	   case "GE";
		echo "General";
		break;
	   case "MN";
		echo "Minority";
		break;
	   case "OBC";
		echo "Other Backward Class";
		break;
	   case "PD";
		echo "Physically Disabled";
		break;
	   case "SC";
		echo "Scheduled Caste";
		break;
	   case "ST";
		echo "Scheduled Tribe";
		break;
	}

echo "</td>
	</tr>
     </table>
</center>
<ul>
<font size=-1>
<center><b>[ Essential Information - See details on: <a href='http://www.iiita.ac.in'>www.iiita.ac.in</a> ]</b> </center>
        <li>The examinees must report for examination 30 minutes before the commencement of the examination, i.e. 9:30 AM, must take his/her seat in the examination hall 15 minutes before the commencement of the examinaton, i.e. 9:45 AM.</li>
        <li> Mobile phones, Calculators and any other electronic gazettes are STRICTLY prohibited inside the examination hall.  </li>
        <li> Please bring <b>Black Ball Point Pen</b> for filling the OMR sheet at the time of examination.  </li>
<!--	<li> There will be total 120 objective type questions, 40 questions each from Physics, Chemistry and Mathematics/Biology. </li> -->
        <li> Fee shall have to be deposited as per rules already stated in M.Tech. Admission Broucher.  </li>
        <li> Fee can be paid by Demand Draft drawn in favour of 'IIIT-Allahabad' & made payable at 'Allahabad'.  </li>
        <li> All originals alongwith one set of photocopied certificates MUST be brought. Admission shall be cancelled in case of non-submission of all original certificates as stated in the Application Form. All original documents of selected candidates shall be retained by IIIT-A.  </li>
        <li> Candidate who have attached certificates in languages other than Hindi & English, must bring their translated copies duly certified by competent authorities alongwith OR else admission may be denied.  </li>
        <li> Three Latest good quality color passport size photographs are required for admission.  </li>
        <li> Candidates MUST bring 'MN/OBC/PD/SC/ST' Category certificate in Original to avail the benefits under respective Category, at the time of admission.  </li>
        <li> Institute reserves the right to get the Certificates cross-checked from appropriate authorities. In case of any irregularities being found, at any stage, admission of the candidate shall be cancelled together with other legal action, as per law.  </li>
        <li> <b>HELP DESK</b> with complete details about seating arrangements in various examination halls will be functional from 9:00 AM to 10:00 AM on 17.06.2012 in the administrative block.</li>
<center><b><u>Reaching IIIT - Allahabad </u></b></center>
	<li> Allahabad is well connected by Mail/Superfast/ Express/ Passenger trains from New Delhi, Lucknow, Varanasi & Kolkata. (Railway Station is Allahabad Junction) </li>
	<li> Please exit from Platform number 1 side of the Railway Station & hire an autorikshaw for IIIT-Allahabad, Jhalwa (@Rs. 70 - Rs. 100 depending upon day/night time arrivals) </li>
	<li> Auto rickshaw charges from Civil Lines, Bus Stand shall range from Rs. 100 - Rs. 125. </li>
</ul>
";
echo "<P STYLE='page-break-after: always;'></P>";
}
?>
<center><input type="button" value="Print" onclick="printpage()" /></center>
</font>
</form>

ZeroDay Forums Mini