<?php include "header.php"; ?>
<div id="page-wrapper">

            <div class="row">
                <!-- Page Header -->
                <div class="col-lg-12">
                    <h1 class="page-header">Pay Fees</h1>
<link href="style.css" rel="stylesheet" type="text/css" border="0"/>
	<style type="text/css">
<!--
.style6 {
	color: #FFFFFF;
	font-weight: bold;
	font-size: 14px;
}
.style7 {color: #000000}
.style12 {font-size: 12px; color: #0000FF; }
.style13 {color: #0000FF; font-variant: small-caps; font-size: 12px; }
.style15 {color: #990000}
.style16 {
	color: #000000;
	font-weight: bold;
	font-style: italic;
}
.style19 {color: #000000; font-weight: bold; }
.style20 {color: #FF0000; font-weight: bold; }
.style41 {color: #0000FF}
.style42 {color: #0000FF; font-weight: bold; }
-->
    </style>
	<table width="100%"  border="0" cellspacing="0" cellpadding="4" align="center" bgcolor="#EDECEE" class="table">
<tr><td  align="center" class="txt_form style7" style="border:0px; background-color:#FFFFFF;">
  <div align="center">
    <?php
	
$query = "SELECT * FROM add_teachers where session='$session' and code='$code' ORDER BY phone_h DESC";
$numresults=mysql_query($query);
 $numrows=mysql_num_rows($numresults);
$result = mysql_query($query) or die("Couldn't execute query");
 
?>
  </div></td>
</tr>
<tr><td valign="top" align="center">
	<div style="width:100%; height:300px; overflow:auto;">
	  <table cellpadding="2" border="1" cellspacing="0"  width="100%">
        <tr>
          <td align="center" valign="top" bgcolor="#FFCC66" class="logo2"><div align="center" class="style12"><strong>S.R. No. </strong></div></td>
          <td align="center" valign="top" bgcolor="#FFCC66" class="logo2"><div align="center" class="style12">Photo</div></td>
          <td align="center" valign="top" bgcolor="#FFCC66" class="logo2"><div align="center" class="style12"><strong>Name:</strong></div></td>
          <td align="center" valign="top" bgcolor="#FFCC66" class="logo2"><div align="center" class="style12">Date</div></td>
          <td align="center" valign="top" bgcolor="#FFCC66" class="logo2"><div align="center" class="style12"><strong>Gender</strong></div></td>
          <td width="9%" align="center" valign="top" bgcolor="#FFCC66" class="logo2"><div align="center" class="style13">view Profile</div></td>
          <td width="7%" align="center" valign="top" bgcolor="#FFCC66" class="logo2"><div align="center" class="style13">Update Profile</div></td>
          <td width="7%" align="center" valign="top" bgcolor="#FFCC66" class="logo2"><div align="center" class="style13">Delete Profile</div></td>
        </tr>
        <?php 
$counter = 1;?>
        <?php
while ( $a_row = mysql_fetch_row( $result ) )
 {?>
        <tr>
          
          <td align="center" valign="top" class="txt_form"><div align="center" class="style7"><?php echo $a_row[5];?></div></td>
          <td align="center" valign="top" class="txt_form"><div align="center" class="style7"><img src="<?php echo $a_row[13];?>" alt="" width="40" height="60" /></div></td>
          <td align="center" valign="top" class="txt_form"><div align="center" class="style7"><?php echo $a_row[7];?></div></td>
          <td align="center" valign="top" class="txt_form"><div align="center" class="style7"><?php echo $a_row[1];?>-<?php echo $a_row[2];?>-<?php echo $a_row[3];?></div></td>
          <td align="center" valign="top" class="txt_form"><div align="center" class="style7"><?php echo $a_row[15];?></div></td>
          <form action="v_teachers_1.php" method="post" target="_blank">
            <td valign="top"><div align="center">
                <input name="id" value="<?php echo $a_row[0];?>" type="hidden" />
                <input name="View" type="submit" style="width:60px;" value="View" />
            </div></td>
          </form>
          <form action="update_teachers_1.php" method="post">
            <td valign="top"><div align="center">
                <input name="id" value="<?php echo $a_row[0];?>" type="hidden" />
                <input name="Update" type="submit" style="width:60px;" value="Update" />
            </div></td>
          </form>
          <form action="delete_teachers.php" method="post">
            <td valign="top"><div align="center">
                <input name="id" value="<?php echo $a_row[0];?>" type="hidden" />
                <input name="Update" type="submit" style="width:60px;" value="Delete" />
            </div></td>
          </form>
        </tr>	<?php }?>

      </table>
	</div>
</td></tr>

</table>
	
 </div></div></div>
<?php 
include "footer.php"; ?>