<script>
window.print();
window.onfocus=function(){ window.close();}
</script>
<?php
$aryForm=$db->getRow("SELECT * FROM student WHERE   school_id='".$_SESSION["admin"]["school_id"]."' and idno='".$_GET['id']."'");
//echo "<pre>";print_r($aryForm); 
?>
<table style="width:550px; height:300px; border:2px solid brown;background:salmon;border-radius:20px;" border="0">
<tr>
	<td  style="border-bottom:1px solid #999;border-radius:20px 20px 0px 0px; background:lightgreen;" colspan="4">&nbsp;
    <img src="<?php echo $LinksDetails["logo"] ?>" width="85px">
    <div style="float:right"><span style="float:right"> ID No: <?php echo $aryForm["idno"] ?></span>
    <h1><?php echo ucfirst($LinksDetails["site_name"]) ?></h1>
    </div>
    </td>
</tr>
  <tr>
    <td rowspan="5"><img src="<?php echo URL_ROOT ?>media/photo/<?php echo $aryForm["photo"] ?>" height="150px" width="150px;"></td>
	
	  </tr>
	  <tr >
    <td></td>
    <td>Name</td>
    <td><?php echo $aryForm["name"] ?></td>
 </tr>
  <tr >
    <td>&nbsp;</td>
    <td>Father's Name</td>
    <td><?php echo $aryForm["fname"] ?></td>
  </tr>
  <tr >
    <td>&nbsp;</td>
    <td>Class</td>
    <td><?php echo $aryForm["class"] ?></td>
    
  </tr>
  <tr >
    <td>&nbsp;</td>
    <td>DOB</td>
    <td><?php echo $aryForm["dob"] ?></td>
  </tr>
  
  <tr >
     <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>Subject</td>
    <td><?php echo $aryForm["subject"] ?></td>
  </tr>
   <tr>
   <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>Mobile No.</td>
    <td><?php echo $aryForm["mobile"] ?></td>
  </tr></br></br>
   <tr>
   <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>Address</td>
    <td><?php echo $aryForm["address"] ?></td>
  </tr>
</table>
