<?php
$aryForm=$db->getRow("SELECT * FROM student WHERE school_id='".$_SESSION["admin"]["school_id"]."' and idno='".$_GET['id']."'");
?>
<style>
body{font-size:15px;}
.heading{color:green;border:1px solid red;padding-left:10px;text-align:center}
.table{text-align:left;}
.first{border-right:1px solid red;width:38%;padding-right:2px;}
.second{padding-left: 25px;}</style>
<div style="border:5px solid green;height:945px;padding:5px;">
<div class="headPrint" style="text-align:center;">
    <!--<img src="<?php echo URL_ROOT ?>media/photo/<?php echo $aryForm["photo"] ?>" style="float:right" height="60px">-->
    <h1><img src="<?php echo $LinksDetails["logo"] ?>" height="80px" width="70px;">
	<span style="color:red;font-size:27px; display: inline-block; position: relative;"><?php echo ucfirst(trim($LinksDetails["site_name"])) ?></span></h1>
    <div style="color:green"><?php echo ucfirst(trim($LinksDetails["contact_content"])) ?></div><br>
    <div style="text-decoration:underline; font-size:20px;color:#900; font-weight:bold;">ADMISSION DETAILS</div>
</div>
<h2 class="heading">Student Personal Information :</h2>
<table class="table" cellpadding="0" cellspacing="0" style="color:blue;">
	<tr>
    	<th >Name : </th><th class="first"><?php echo $aryForm["name"] ?></th>
        <th class="second">Session : </th><th><?php echo $aryForm["session"] ?></th>
        
	</tr>
    <tr>
    	<th>Admission No : </th><th class="first"><?php echo $aryForm["admissionno"] ?></th>
        <th class="second">Mobile : </th><th><?php echo $aryForm["mobile"] ?></th>    </tr>
    <tr>
    	<th>Admission Class : </th><th class="first"><?php echo $aryForm["admissionclass"] ?></th>
    	<th class="second">Admission Date : </th><th><?php echo $aryForm["doa"] ?></th>
    </tr>
    <tr>
    	 <th>Class : </th><th class="first"><?php echo $aryForm["class"] ?></th>
        <th class="second">Section : </th><th><?php echo $aryForm["section"] ?></th>
    </tr>
    <tr>
    	<th>D.O.B : </th><th class="first"><?php echo $aryForm["dob"] ?></th>
        <th class="second">Gender : </th><th><?php echo $aryForm["gender"] ?></th>
	</tr>
     <tr>
    	<th>Height : </th><th class="first"><?php echo $aryForm["height"] ?></th>
        <th class="second">Weight : </th><th><?php echo $aryForm["weight"] ?></th>
	</tr>
    
</table>
<h2 class="heading">Student Parent's Information :</h2>
<table class="table" cellpadding="0" cellspacing="0" style="color:blue;">
	<tr>
    	<th>Father's Name : </th><th class="first"><?php echo $aryForm["fname"] ?></th>
        <th class="second">Occupation : </th><th><?php echo $aryForm["foccupation"] ?></th>
   </tr>
    <tr>
    	<th>Mother's Name : </th><th class="first"><?php echo $aryForm["mname"] ?></th>
        <th class="second">Email : </th><th><?php echo $aryForm["email"] ?></th>
    </tr>
    
</table>
<h2 class="heading">Student Address Information :</h2>
<table class="table" cellpadding="0" cellspacing="0" style="color:blue;">
	<tr>
    	<th>Permanent Adddress : </th><th><?php echo $aryForm["address"] ?></th>
    </tr>
    <tr>
    	<th>Local Adddress : </th><th><?php echo $aryForm["address"] ?></th>
    </tr>
</table>
<h2 class="heading">Student Guardian's Information :</h2>
<table class="table" cellpadding="0" cellspacing="0" style="color:blue;">
	<tr>
    	<th>Name : </th><th><?php echo $aryForm["fname"] ?></th>
        
   </tr>
    	<th>Mobile NO: </th><th><?php echo $aryForm["mobile"] ?></th>
   </tr>
   <tr><th>Alternate Mobile NO : </th><th><?php echo $aryForm["mincome"] ?></th></tr>   
</table>
<br /><br /><br /><br />
<table class="table" cellpadding="0" cellspacing="0" style="color:blue;">
	<tr>
    	<th>Addmission taken by : </th><th><?php echo $name=$db->getVal("Select name from users where id='".$aryForm["added_by"]."'"); ?></th>
        <th style="width:50%">&nbsp; </th><th>Signature</th>
    </tr>
</table>
</div>
<script>
window.print();
//window.onfocus=function(){ window.close();}
</script>