Current File : /home/inlingua/public_html/dwarka/icentex/attendance/ingl_test_oral.view.php |
<?php
// Created on: 23-03-2013
// Include header
include "header_attendance.php";
require('../dbConnection.php');
// Include common functions
require('../commonFunc.php');
// Include the table handler class
require('../dbHandler.class.php');
$dbObject = new dbHandler();
$dbObject->connect();
$sqlQuery1 = "SELECT firstName,lastName,ref_No,orl.*,user.name as TakenBy FROM ingl_admission adm inner join ingl_test_oral orl
on orl.student_id=adm.ref_No inner join timesheet_user user on user.recNo=orl.inst_id where adm.ref_No = '".$_REQUEST['kV']."'";
$resultQuery1=mysqli_query($conn,$sqlQuery1);
$num1=mysqli_fetch_array($resultQuery1);
$numofrow=mysqli_num_rows($resultQuery1);
//echo $sqlQuery1;
if($numofrow>0)
{
//echo $sqlQuery1;exit;
//echo "<h3>".$succFailMesg."</h3>";
?>
<h3>Oral Result of <?php echo $num1['firstName'] ?> <?php echo $num1['lastName'] ?> (<?php echo $num1['ref_No'] ?>)</h3>
<table border='0' class='pa-nor pa-table'>
<tr valign='top'><td>Test Taken By</td><td><?php echo $num1['TakenBy'];?> </td></tr>
<tr valign='top'><td>Student</td><td><?php echo $num1['firstName'];?> <?php echo $num1['lastName'];?> </td></tr>
<tr valign='top'><td>Level</td><td><?php echo $num1['oral_level'];?> </td></tr>
<tr valign='top'><td>Fluency</td><td><?php echo $num1['oral_fluency'];?> </td></tr>
<tr valign='top'><td>Structures</td><td><?php echo $num1['oral_structures'];?> </td></tr>
<tr valign='top'><td>Vocabulary</td><td><?php echo $num1['oral_vocabulary'];?> </td></tr>
<tr valign='top'><td>Voice Quality</td><td><?php echo $num1['oral_voice_quality'];?> </td></tr>
<tr valign='top'><td>Listening Comprehension</td><td><?php echo $num1['oral_listening_comprehension'];?> </td></tr>
<tr valign='top'><td>Other Comments</td><td><?php echo $num1['oral_other_comments'];?> </td></tr>
</table>
<?php
}
else
{
echo "Oral Recoard Not Updated For This Student";
}
// Include footer
include "footer_attendance.php";
?>