Current File : /home/inlingua/www/sensoriumpsychologists.com/admin/final_exam_list_student.php |
<?php
include_once('include/include.script.php');
include_once('include/navigation.php');
include_once('../classes/config.php');
?>
<?php
$sql="SELECT * FROM `shristi_student` Where status='1' AND final_exam='0' AND final_exam_payment='1'";
$result=$conn->query($sql);
?>
<div id="main">
<div class="container-fluid">
<div class="page-header">
<div class="pull-left">
<h1>Final Exam Student List</h1>
</div>
<div class="pull-right">
<ul class="stats">
<li class='lightred'>
<i class="icon-calendar"></i>
<div class="details">
<span class="big">February 22, 2013</span>
<span>Wednesday, 13:56</span>
</div>
</li>
</ul>
</div>
</div>
<div class="breadcrumbs">
<ul>
<li>
<a href="home.php">Home</a>
<i class="icon-angle-right"></i>
</li>
<li>
<a href="">Final Exam Student List</a>
<i class="icon-angle-right"></i>
</li>
</ul>
<div class="close-bread">
<a href="#">
<i class="icon-remove"></i>
</a>
</div>
</div>
<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#demo">Advance Search</button>
<div id="demo" class="collapse">
<div class="row-fluid">
<div class="span4"></div>
<div class="span12">
<form action="search_final_exam_student.php" class='form-horizontal form-column form-bordered'>
<div class="span4">
<div class="control-group">
<select name="batch">
<option value="">Select Batch</option>
<option value="January">January</option>
<option value="July">July</option>
</select>
<select name="year" class='input-large' data-rule-required="true">
<option value="">Select Batch year</option>
<?php for($i=2016;$i<2051;$i++){?>
<option value="<?php echo $i;?>"><?php echo $i;?></option>
<?php }?>
</select>
</div>
</div>
<div class="span6">
<div class="control-group">
<button type="submit" class="btn btn-primary">Search</button>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="box box-bordered">
<div class="box-title">
<h3>
<i class="icon-table"></i>
Final Exam Student List
</h3>
</div>
<form method="post" enctype="multipart/form-data">
<div class="box-content nopadding">
<table class="table table-hover table-nomargin dataTable dataTable-tools table-bordered">
<thead>
<tr>
<th class='with-checkbox'><input type="checkbox" name="check_all" id="check_all"></th>
<th>Name</th>
<th>Email</th>
<th>Registration No</th>
<!--<th>Course</th>-->
<th>Franchise & code</th>
<th>Center</th>
<th>Reg Date</th>
<th>Expired Date</th>
<th class='hidden-350'>Status</th>
<th>Final Payment</th>
<th>Amount</th>
<th class='hidden-480'>Options</th>
</tr>
</thead>
<tbody>
<?php
while($row=$result->fetch_assoc()){
$fexam=$row['assignment1']+$row['assignment2']+$row['assignment3']+$row['assignment4']+$row['assignment5'];
if($fexam==5){
?>
<tr>
<td class="with-checkbox">
<input type="checkbox" name="checkbox[]" value="<?php echo $row['student_id'];?>"> </td>
<td><?php echo $row['fname'].$row['lname'];?></td>
<td><?php echo $row['email'];?></td>
<td><?php echo $row['registration_no'];?></td>
<!-- <td align="center"><?php
$cresult=$query->select_where('shristi_course','courses_id',$row['courses_id']);
$crow=$cresult->fetch_assoc();
echo $crow['name'];
?></td>-->
<td align="center"><?php
$results=$query->select_where('shristi_franchise','franchise_id',$row['franchise_id']);
$frow=$results->fetch_assoc();
echo $frow['name'];echo " // ";
echo $frow['code'];
?></td>
<td align="center"><?php
$cresult=$query->select_where('shristi_center','center_id',$row['center_id']);
$crow=$cresult->fetch_assoc();
echo $crow['name'];//echo " // ";
?></td>
<td><?php echo $row['registration_date'];?></td>
<td><?php echo $row['next_end_date'];?></td>
<td class='hidden-350'><?php
if($row['status']==1){echo "<span class='label label-satgreen'>Active</span>";}
if($row['status']==0){echo "<span class='label label-lightred'>Inactive</span>";}?></td>
<td>
<?php
$result11=$query->select_where('shristi_students_payment','student_id',$row['student_id']);
$row1=$result11->fetch_assoc();
echo $row1['status'];
?></td>
<td><?php echo $row1['amount'];?></td>
<td class='hidden-480'>
<a href="view_student_detail.php?id=<?php echo $row['student_id'];?>" class="btn" rel="tooltip" title="" data-original-title="View"><i class="icon-search"></i></a>
<a href="sudent_account.php?id=<?php echo $row['student_id'];?>" class="btn" rel="tooltip" title="" data-original-title="View payment"><i class="icon-remove"></i></a></td>
</tr>
<?php } }?>
</tbody>
</table>
</div>
<i class="icon-remove"><input type="submit" name="delete" value="Delete" class="btn btn-danger" onclick="return confirm('sure to delete !');"> </i>
<i class="icon-ok"><input type="submit" name="enable" value="Active" class="btn btn-info delet" onclick="return confirm('sure to Active !');"></i>
<i class=" icon-off"> <input type="submit" name="disable" value="Inactive" class="btn btn-warning delet" onclick="return confirm('sure to Inactive !');"></i>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<?php include_once('include/footer.php');?>