Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/indem/pks-ec/medical/
Upload File :
Current File : /var/www/html/mmishra/indem/pks-ec/medical/summary1.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 &ndash;  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>
<br>
<hr>
<?php
include "javafunctions.inc";
include "functions.inc";
dbConnect();

$tbl = 'insurance';

$sno = 0;
echo " 
<table border=1>
	<tr><td><b>Sr No.</b></td>
	    <td><b>Enroll No./Program</b></td>
	    <td><b>Student Details</b></td>
	    <td><b>Comm. Deetails</b></td>
	    <td><b>Fee Payee Gaurdian Details</b></td>
	    <td><b>Spouse Details</b></td>
	    <td><b>First Child Details</b></td>
	    <td><b>Second Child Details</b></td>
	    <td><b>PreExisting Diseases</b></td>
	</tr>";

	$rs = mysql_query("select * from $tbl order by enrollno");
	if ($rs) {
		while ($o = mysql_fetch_object($rs)){
		
		$sno = $sno + 1;
	
		$id = $o->id;
		$enrollno = $o->enrollno;
		$program = $o->program;
		$fullname = $o->fullname;
		$dob = $o->dob;
		$gender = $o->gender;
		$bg = $o->bg;
		$nationality = $o->nationality;
		$category = $o->category;
		$fathername = $o->fathername;
		$address = $o->address;
		$state = $o->state;
		$pincode = $o->pincode;
		$phone = $o->phone;
		$email = $o->email;

 		$comaddress = $o->comaddress;
	        $comcity = $o->comcity;
	        $compincode = $o->compincode;
	        $comstate = $o->comstate;
	        $compolicestation = $o->compolicestation;
	        $comphone = $o->comphone;
	        $commobile = $o->commobile;
	        $comemail = $o->comemail;
	
	        $fpgname = $o->fpgname;
	        $relation = $o->relation;
	        $fpgaddress = $o->fpgaddress;
	        $fpgcity = $o->fpgcity;
	        $fpgpincode = $o->fpgpincode;
	        $fpgstate = $o->fpgstate;
	        $fpgphone = $o->fpgphone;
	        $fpgemail = $o->fpgemail;
	
	        $maritalstatus = $o->maritalstatus;
	        $spousename = $o->spousename;
	        $spouseage = $o->spouseage;
	        $spouseaddress = $o->spouseaddress;
	        $spousecity = $o->spousecity;
	        $spousepincode = $o->spousepincode;
	        $spousestate = $o->spousestate;
	        $spousephone = $o->spousephone;
	        $spouseemail = $o->spouseemail;
	
	        $children = $o->children;
	        $fchildname = $o->fchildname;
	        $fchildage = $o->fchildage;
	        $fchildgender = $o->fchildgender;
	        $fchildaddress = $o->fchildaddress;
	        $fchildcity = $o->fchildcity;
	        $fchildpincode = $o->fchildpincode;
	        $fchildstate = $o->fchildstate;
	        $fchildphone = $o->fchildphone;
	        $fchildemail = $o->fchildemail;
	 
		$schildname = $o->schildname;
	        $schildage = $o->schildage;
	        $schildgender = $o->schildgender;
	        $schildaddress = $o->schildaddress;
	        $schildcity = $o->schildcity;
	        $schildpincode = $o->schildpincode;
	        $schildstate = $o->schildstate;
	        $schildphone = $o->schildphone;
	        $schildemail = $o->schildemail;
	
	        $pediseases1 = $o->pediseases1;
	        $pediseases2 = $o->pediseases2;
	        $pediseases3 = $o->pediseases3;
	        $pediseases4 = $o->pediseases4;
	        $pediseases5 = $o->pediseases5;
	
	
	echo "<tr>
		<td>".$sno."</td>
		<td>".$enrollno."<br>
			".ucwords($program)."</td>
		<td>".ucwords($fullname)."<br>
			".$dob."<br>
			".$gender."<br>
			".$bg."<br>
			".$nationality."<br>
			".$category."<br>
			".ucwords($fathername)."<br>
			".ucwords($address)."<br>
			".$state."<br>
			".$pincode."<br>
			".$phone."<br>
			".$email."<br>
		</td>
		<td>".$comaddress."<br>
		        ".$comcity."<br>
			".$compincode."<br>
			".$comstate."<br>
	        	".$compolicestation."<br>
	        	".$comphone."<br>
	        	".$commobil."<br>
	        	".$comemail."<br>
		</td>
		<td>".$fpgname."<br>
	        	".$relation."<br>
	        	".$fpgaddress."<br>
	        	".$fpgcity."<br>
	        	".$fpgpincode."<br>
	        	".$fpgstate."<br>
	        	".$fpgphone."<br>
	        	".$fpgemail."<br>
		</td>
		<td>".$maritalstatus."<br>
	        	".$spousename."<br>
	        	".$spouseage."<br>
	        	".$spouseaddress."<br>
	        	".$spousecity."<br>
			".$spousepincode."<br>
	        	".$spousestate."<br>
			".$spousephone."<br>
			".$spouseemail."<br>
		</td>
		<td>".$children."<br>
		        ".$fchildname."<br>
			".$fchildage."<br>
			".$fchildgender."<br>
	        	".$fchildaddress."<br>
	        	".$fchildcity."<br>
	        	".$fchildpincode."<br>
			".$fchildstate."<br>
	        	".$fchildphone."<br>
	        	".$fchildemail."<br>
	 	</td>
		<td>".$schildname."<br>
	        	".$schildage."<br>
	        	".$schildgender."<br>
	        	".$schildaddress."<br>
	        	".$schildcity."<br>
	        	".$schildpincode."<br>
	        	".$schildstate."<br>
	        	".$schildphone."<br>
	        	".$schildemail."<br>
		</td>
		<td>".$pediseases1."<br>
			".$pediseases2."<br>
	        	".$pediseases3."<br>
	        	".$pediseases4."<br>
			".$pediseases5."<br>
		</td>
	</tr>";
}}
echo "
</table>
";
?>