Current File : /home/inlingua/public_html/icentex/evaluation/html/level_assessment_list.php |
<?php include('include/header.php') ;?>
<!-- Main content -->
<div class="container page1">
<section class="content">
<!-- Info boxes -->
<div class="row">
<div class="col-xs-12">
<div class="box box-danger">
<div class="box-header">
<h3 class="box-title">Level Assessment List
<a class="button pull-right" href="reports/asslist.xlsx">Download Assessment List </a></h3>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive no-padding">
<form action="<?php echo make_url('level_assessment_list'); ?>" method="POST" class="contact-form2">
<input type="text" id="start_date" name="start_date" value="" size="20" placeholder="Start Date" aria-invalid="false" aria-required="true" class="form-row col-md-3">
<input type="text" id="end_date" name="end_date" value="" size="20" placeholder="End Date" aria-invalid="false" aria-required="true" class="form-row col-md-3">
<select name="center" id='listid' class="form-row form-row-first" aria-required="true" placeholder="center">
<option value='center' selected>Center *</option>
<option <? if($center=='SE') { echo "selected='selected'"; } ?> value='SE'>SE</option>
<option <? if($center=='VP') { echo "selected='selected'"; } ?> value='VP'>VP</option>
<option <? if($center=='ED') { echo "selected='selected'"; } ?> value='ED'>ED</option>
<option <? if($center=='ND') { echo "selected='selected'"; } ?> value='ND'>ND</option>
<option <? if($center=='GG') { echo "selected='selected'"; } ?> value='GG'>GG</option>
<option <? if($center=='PP') { echo "selected='selected'"; } ?> value='PP'>PP</option>
<option <? if($center=='CP') { echo "selected='selected'"; } ?> value='CP'>CP</option>
</select>
<input type="submit" name="submit" value="Find" size="20" class="form-row form-row-control">
</form>
<table class="table table-hover">
<? if($count_project>0){ ?>
<tbody><tr>
<th>ID</th>
<th>Student Name</th>
<th>Assessed By </th>
<th>Center </th>
<th>Recommended Level </th>
<th>Oral Comments</th>
<th>Structures</th>
<th>Voice Quality</th>
<th>Vocabulary</th>
<th>Listening Comprehension</th>
<th>Other comments</th>
<th>Add Date</th>
</tr>
<?php $i=1;
while($QueryObj1=$QueryObj->GetObjectFromRecord()):
$startdate = $QueryObj1->add_date;
$add_date = date("d-m-Y", strtotime($startdate));
?>
<tr>
<td><?php echo $i; ?></td>
<td><?=$QueryObj1->name_of_student; ?></td>
<td><?=$QueryObj1->assessed_by; ?> </td>
<td><?=$QueryObj1->center; ?></td>
<td><?=$QueryObj1->recommended_level; ?></td>
<td><?=$QueryObj1->oral_comments; ?></td>
<td><?=$QueryObj1->structures; ?></td>
<td><?=$QueryObj1->voice_quality; ?></td>
<td><?=$QueryObj1->vocabulary; ?></td>
<td><?=$QueryObj1->listening_comprehension; ?></td>
<td><?=$QueryObj1->other_comments; ?></td>
<td><?=$add_date; ?></td>
</tr>
<?php $i++; endwhile; ?>
</tbody>
<?php } else { ?>
<tr>
<td class="table_cell" >There area no data found in our database.</td>
</tr>
<?php } ?>
</table>
</div>
<?=PageControl($QueryObj->PageNo, $QueryObj->TotalPages, $QueryObj->TotalRecords, DIR_WS_SITE, 'page=level_assessment_list', 4);?>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div><!-- /.row -->
<!-- TABLE: LATEST ORDERS -->
<!-- /.box -->
</div><!-- /.col -->
<!-- /.row -->
</section><!-- /.content -->
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link rel="stylesheet"href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css" />
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
<script>
$(document).ready(function () {
var objDate = new Date();
var Presentyear = objDate.getFullYear();
$("#start_date").datepicker({
//yearRange: '1900:' + Presentyear,
changeMonth: true,
changeYear: true,
dateFormat: 'yy-mm-dd'
//minDate: '0'
});
$("#end_date").datepicker({
//yearRange: '1900:' + Presentyear,
changeMonth: true,
changeYear: true,
dateFormat: 'yy-mm-dd'
//minDate: '0'
});
});
</script>
<!-- End Home Page Slider -->
<?php include('include/05featuredemo1.inc_reports.php');
include ("include/footer.php");
?>