<?php 
include "dbconfig.php";
//$host = 'localhost';
//$username = 'onlinemy_port';
//$password = '!vXFa%Du9MTL';
//$database = 'onlinemy_port';
//$dbconfig = mysql_connect($host,$username,$password,$database);
//
//$db=onlinemy_port;
//$link;
//$link = mysql_connect( "localhost", "onlinemy_port", "!vXFa%Du9MTL" );
//if ( ! $link )
//die( "Couldn't connect to MySQL" );
//mysql_select_db( $db, $link )
//or die ( "Couldn't open iet: ".mysql_error() );


$croll_on=$_POST['croll_on'];
$sname=$_POST['sname'];
$fname=$_POST['fname'];
$subject=$_POST['subject'];
$vdate=$_POST['vdate'];
$vtime=$_POST['vtime'];
$class=$_POST['class'];
$gender=$_POST['gender'];
$user_name=$_POST['user_name'];
$ex_form_no=$_POST['ex_form_no'];
$no=1;
$counter=$_POST['counter'];
$ckbb=isset($ckbb);
$ckbb=$_POST['ckbb'];
$register_no=$_POST['register_no'];

$slist=$_POST['slist'];$slist=isset($slist);$slistt = implode(",",$_POST['slist']);


	$ins_qry_cpr="INSERT INTO `sfverify` (`croll_on`, `ex_form_no`, `sname`, `fname`, `subject`, `vdate`, `vtime`, `class`, `gender`, `user_name`, `no`, `counter`, `class_app_list_new`, `register_no`,`code`,`session`) VALUES ('$croll_on', '$ex_form_no', '$sname', '$fname', '$subject', '$vdate', '$vtime', '$class', '$gender', '$user_name', '$no', '$counter', '$subject', '$register_no','$code','$session');";
	$retval_challan = mysql_query($ins_qry_cpr);
	
	
?>
<center><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:2px #990000 solid; height:270px; width:800px; background-image:url(water_mark.png); background-repeat:repeat;">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:none">
      <tr>
        <td width="9%" style="border:none">&nbsp;</td>
        <td width="91%" style="border:none"><div align="center" style="text-transform:capitalize; font-size:18px;"></div>
         
          <div align="center"><strong>Scholarship Form Verification </strong><br />
         </div></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      
      <tr>
        <td width="18%"><strong>College Roll Number</strong></td>
        <td width="24%"><span class="style3"><?php echo $croll_on; ?></span></td>
        <td width="24%"><strong>Scholarship Form Number</strong></td>
        <td width="34%"><span class="style3"><?php echo $ex_form_no; ?></span></td>
      </tr>
      <tr>
        <td><strong>Student Name</strong></td>
        <td><span class="style3"><?php echo $sname; ?></span></td>
        <td>Register Roll Number</td>
        <td><span class="style3"><?php echo $register_no; ?></span></td>
        </tr>
      <tr>
        <td><strong>Class</strong></td>
        <td><span class="style3"><?php echo $class; ?></span></td>
        <td><strong>Father Name</strong></td>
        <td><span class="style3"><?php echo $fname; ?></span></td>
      </tr>
      <tr>
        <td><strong>Subject</strong></td>
        <td ><span class="style3"><?php echo $subject; ?></span></td>
         <td><strong>Gender</strong></td>
         <td><?php echo $gender; ?></td>
      </tr>
      <tr>
        <td><strong>Verification Date</strong></td>
        <td><span style="font-size:10px"><span class="style3"><?php echo $vdate; ?></span></span></td>
        <td><strong>Verification Time</strong></td>
        <td><span class="style3"><?php echo $vtime; ?></span></td>
        </tr>
      <tr>
        <td>&nbsp;</td>
        <td style="font-size:10px">&nbsp;</td>
        <td style="font-size:10px">&nbsp;</td>
        <td style="font-size:10px">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="2"><div align="right"><strong>Verification Counter Name</strong></div></td>
        <td style="font-size:10px"><?php echo $counter; ?></td>
        <td style="font-size:10px">&nbsp;</td>
        </tr>
      <tr>
        <td colspan="4"><p>&nbsp;</p>
          <p align="right"><strong>Signature Form Verification Officer </strong></p></td>
        </tr>
    </table></td>
  </tr>
  
</table><br />
<a href="Scholarship_veryfication.php" style="font-size:16px;" >Click Here to Back</a></center>