<style>

td{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;



}

table, td

{

    border-color: #600;

    border-style: solid;

}



table

{

    border-width: 0 0 1px 1px;

    border-spacing: 0;

    border-collapse: collapse;

}



td

{

    margin: 0;

    padding: 0px;

    border-width: 1px 1px 0 0;

   

}
.style4 {
	color: #0033FF;
	font-weight: bold;
	font-size: 18px;
}
.style5 {
	color: #FF0000;
	font-size: 18px;
}
.style7 {color: #006600; font-size: 18px; }
</style>

<?php 
include "dbconfig.php";
?>

<?php 

$rollno=$_GET['rollno'];

$counter=$_GET['counter'];


$check_exist_qry1="select * from pay_fees where roll_no=$rollno and session='$session' and code='$code'";

$run_qry1=mysql_query($check_exist_qry1);

$total_found1=mysql_num_rows($run_qry1);

//$roww = mysql_fetch_array($run_qry1, MYSQL_BOTH);



while ($roww = mysql_fetch_array($run_qry1)){

    $roll_no=$roww['roll_no'];
	$check_exist_qry2="select * from ufverify where croll_on='$roll_no' and session='$session' and code='$code'";

$run_qry2=mysql_query($check_exist_qry2);

$total_found2=mysql_num_rows($run_qry2);

if(($roll_no!="")&&($total_found2=="")){

//echo "*************";

$check_exist_qry2="select * from class2 where college_roll='$rollno' and session='$session' and code='$code'";

$run_qry2=mysql_query($check_exist_qry2);

$total_found2=mysql_num_rows($run_qry2);

$rowww = mysql_fetch_array($run_qry2, MYSQL_BOTH);




	if (function_exists('date_default_timezone_set'))

{

  date_default_timezone_set('Asia/Kolkata');

}



$datee=date('Y-m-d');

$vtime=date('h-i-s A');



if($total_found2!=""){	

?>

<form action="uni_Student_veryfication3.php" method="post" enctype="multipart/form-data">

<input name="counter" value="<?php echo $counter; ?>" type="text" readonly="readonly" />

<input name="croll_on" value="<?php echo $rollno; ?>" type="text" readonly="readonly" />

<input name="sname" value="<?php echo $rowww['StudentName']; ?>" type="text"  readonly="readonly"/>

<input name="fname" value="<?php echo $rowww['FatherName']; ?>" type="text" readonly="readonly"/>

<input name="subject" value="<?php echo $rowww['class_app']; ?>" type="text" readonly="readonly"/>

<input name="vdate" value="<?php echo $datee; ?>" type="text" readonly="readonly"/>

<input name="vtime" value="<?php echo $vtime; ?>" type="text" readonly="readonly"/>

<input name="class" value="<?php echo $rowww['Course']; ?>" type="text" readonly="readonly"/>

<input name="gender" value="<?php echo $rowww['Gender']; ?>" type="text" readonly="readonly"/>

<input name="user_name" value="<?php echo $rowww['MobileNO']; ?>" type="text" readonly="readonly"/>

<table width="100%" border="1">

  <tr>

    <td colspan="2">View Student Detail</td>
  </tr>

  <tr>

    <td colspan="2"><div align="center"><iframe src="pay_fees_2.php?fno=<?php echo $rowww['fno']; ?>&&btnSave2=Save&&all_game_valueb=<?php echo $rowww['class_app']; ?>&&CourseType=<?php echo $rowww['CourseType']; ?>&&Course=<?php echo $rowww['Course']; ?>&&Course_Details=<?php echo $rowww['Course_Details']; ?>&&session=<?php echo $rowww['session']; ?>&&Student_Type=<?php echo $rowww['Student_Type']; ?>&college=<?php echo $rowww['college']; ?>&college_roll=<?php echo $rowww['college_roll']; ?>" width="1000" height="800" scrolling="yes"></iframe></td>
  </tr>

  <tr>

    <td colspan="2">&nbsp;</td>
  </tr>

  <tr>

    <td width="50%"><div align="right">Enter Examination Form Number</div></td>

    <td width="50%"><input type="text" name="ex_form_no" id="ex_form_no" required /></td>
  </tr>


 

  <tr>
    <td width="50%"><div align="right">Enter Register Roll Number</div></td>
    <td><input type="text" name="register_no" id="register_no" required /></td>
  </tr>
  <tr>

    <td>&nbsp;</td>

    <td><input type="submit" name="submit"  value="Verify" /></td>
  </tr>
</table>

</form>



<?php }else{ ?>

<center><h2>

Please Check Admission Fees.



</h2></center>

<?php 

} ?>

<br>



<?php } else{ ?>

<div align="center" style="color:#FF0000; font-size:24px">Already Verify Roll Number - <?php echo $rollno; ?></div>

<?php 

}}?>