<?php include('header_dashboard.php'); ?>
<?php include('session.php'); ?>
    <body id="home">
		<?php include('navbar_student.php'); ?>
        <div class="container-fluid">
            <div class="row-fluid">
				<?php include('student_sidebar.php'); ?>	
                   <div class="span9" id="content">
                      <div class="row-fluid">
					     <?php $query= mysql_query("select * from student where student_id = '$session_id'")or die(mysql_error());
						   $row = mysql_fetch_array($query);
						 ?>
				         <div class="col-lg-12">
                          <div class="alert alert-success alert-dismissable">
                            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                             <img id="avatar1" class="img-responsive" src="<?php echo $row['thumbnail']; ?>"><strong> Welcome!</strong> <?php echo $student_row['Name'];  ?>
                          </div>
                        </div>
					   				
					  <!-- block -->
                        <div id="block_bg" class="block">
                            <div class="navbar navbar-inner block-header">
                                <div class="muted pull-left"><i class="icon-dashboard">&nbsp;</i>Dashboard</div>
								<div class="muted pull-right"><i class="icon-time"></i>&nbsp;<?php include('time.php'); ?></div>
                            </div>
							
                           <div class="block-content collapse in">
				           <div class="span12">
									
				              <div class="block-content collapse in">
<div id="page-wrapper">
				
				   <div id="block_bg" class="block">
                        <div class="navbar navbar-inner block-header">
                             <div class="muted pull-left"><i class="icon-reorder icon-large"></i> Payment Details</div>
                          <div class="muted pull-right">
								 <span class="badge badge-info"></span>
							 </div>
						  </div>
						  
                 <h4 id="sc">Students List 
					<div align="right" id="sc">Date:
						<?php
                            $date = new DateTime();
                            echo $date->format('l, F jS, Y');
                         ?></div>
				 </h4>

													
<div class="container-fluid">
  <div class="row-fluid"> 
     <div class="empty">
	     <div class="pull-right">
		    <script type="text/javascript">
		    // $(document).ready(function(){
		    // $('#print').tooltip('show');
		    // $('#print').tooltip('hide');
		     });
		   </script>        	   
         </div>
      </div>
    </div> 
</div>
	
<div class="block-content collapse in">
    <div class="span12">
	<form action="" method="post">
  	<table cellpadding="0" cellspacing="0" border="0" class="table" id="example">
		<thead>		
		        <tr>			        
                	<th>Name</th>
					<th>Admin_No </th>
					<th>Form</th>
			        <th> Contacts</th>
					<th>Date of Birth  </th>
					<th>Place of Birth  </th>
                    <th>Guardian/Parent </th>
					
                   		
                    				
		    </tr>
		</thead>
<tbody>
<!-----------------------------------Content------------------------------------>
<?php
//$student_id =$_GET['student_id'];

		//$student_query = mysql_query("SELECT fees.fee_id, student.username, fees.fee_paid,fees.balance,fees.time
///FROM fees INNER JOIN student ON fees.fee_id,student.student_id ='$session_id' ")or die(mysql_error());
$student_query = mysql_query("select * from student WHERE student_id='$session_id'")or die(mysql_error());
		while($row = mysql_fetch_array($student_query)){
		$username = $row['username'];
	
		?>
									
		<tr>
		    <td><?php echo $row['Name']; ?></td>
			<td><?php echo $row['username']; ?></td>
			<td><?php echo $row['Form']; ?></td>
			<td><?php echo $row['contacts']; ?></td>
			<td><?php echo $row['Date_of_Birth']; ?></td>
			<td><?php echo $row['Place_of_Birth']; ?></td>	
            <td><?php echo $row['contact_name']; ?></td>
           
            </tr>
											
	<?php } ?>   

</tbody>
</table>
</form>		
		
			  		
</div>
</div>
</div>
</div>
</div>
					     
						
                                </div>
                            </div>
                        </div></div>
                        <!-- /block -->
                    </div>


                </div>
			
            </div>
		<?php include('footer.php'); ?>
        </div>
		<?php include('script.php'); ?>
    </body>
<embed src="../sound/wlcome.mp3" controller="true" autoplay="true" autostart="True" width="0" height="0" />		
</html>