<?php require_once('Connections/mycon.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
{
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  }

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}

mysql_select_db($database_mycon, $mycon);
$query_Recordset2 = "SELECT * FROM ctimes";
$Recordset2 = mysql_query($query_Recordset2, $mycon) or die(mysql_error());
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
$totalRows_Recordset2 = mysql_num_rows($Recordset2);

$colname_Recordset1 = "-1";
if (isset($_POST['idno'])) {
  $colname_Recordset1 = $_POST['idno'];
}
$colname2_Recordset1 = "-1";
if (isset($_POST['semester'])) {
  $colname2_Recordset1 = $_POST['semester'];
}
$colname3_Recordset1 = "-1";
if (isset($_POST['session'])) {
  $colname3_Recordset1 = $_POST['session'];
}
mysql_select_db($database_mycon, $mycon);
$query_Recordset1 = sprintf("SELECT * FROM Pri WHERE idno = %s AND semester=%s AND session=%s", GetSQLValueString($colname_Recordset1, "text"),GetSQLValueString($colname2_Recordset1, "text"),GetSQLValueString($colname3_Recordset1, "text"));
$Recordset1 = mysql_query($query_Recordset1, $mycon) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);

mysql_select_db($database_mycon, $mycon);
$query_Recordset3 = "SELECT * FROM centername";
$Recordset3 = mysql_query($query_Recordset3, $mycon) or die(mysql_error());
$row_Recordset3 = mysql_fetch_assoc($Recordset3);
$totalRows_Recordset3 = mysql_num_rows($Recordset3);

$firstname=$_POST['login_nos'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Victory Primary School Result</title>
<style type="text/css">
#header {
	background-color: #990099;
	height: 124px;
	width: 100%;
	margin-bottom: 15px;
}
#INSIDEE {
	height: 80px;
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	background-color: #909;
}
#newlogo {
	float: left;
	height: 124px;
	width: 100%;
	text-align: left;
	background-color: #909;
	color: #909;
}
#name {
	width: 100px;
	float: left;
}
#menu {
	background-color: #DB5238;
	height: auto;
	width: 100%;
	margin-bottom: 40px;
}
#marq {
	height: 60px;
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 8px;
	border-top-width: thin;
	border-right-width: thin;
	border-bottom-width: thin;
	border-left-width: thin;
	border-top-style: dotted;
	border-right-style: dotted;
	border-bottom-style: dotted;
	border-left-style: dotted;
	text-align: center;
}
#INNNNN {
	height: auto;
	width: 900px;
	margin-right: auto;
	margin-left: auto;
}
body {
	background-color: #F0F0F0;
	color: #909;
}
#wrapper {
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	height: auto;
	margin-bottom: 10px;
	border-top-width: thin;
	border-right-width: thin;
	border-bottom-width: thin;
	border-left-width: thin;
	border-top-style: dotted;
	border-right-style: dotted;
	border-bottom-style: dotted;
	border-left-style: dotted;
}
#L {
	float: left;
	height: 150px;
	width: 300px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: dotted;
	border-right-style: dotted;
	border-bottom-style: dotted;
	border-left-style: dotted;
}
#M {
	height: 150px;
	width: 290px;
	float: left;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: dotted;
	border-right-style: dotted;
	border-bottom-style: dotted;
	border-left-style: dotted;
	text-align: center;
}
#R {
	float: right;
	height: 150px;
	width: 300px;
	text-align: center;
}
#logo {
}
#subfooter {
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	height: 150px;
	clear: both;
	border-top-width: 10px;
	border-top-style: ridge;
	border-right-width: thin;
	border-bottom-width: thin;
	border-left-width: thin;
	border-right-style: dotted;
	border-bottom-style: dotted;
	border-left-style: dotted;
}
#footer {
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	background-color: #6CF;
	text-align: center;
}
#logo {
	width: 90px;
	margin-left: 200px;
	float: left;
}
#wa {
	width: 900px;
	border-top-width: thin;
	border-right-width: thin;
	border-bottom-width: thin;
	border-left-width: thin;
	border-top-style: dotted;
	border-right-style: dotted;
	border-bottom-style: dotted;
	border-left-style: dotted;
	text-align: center;
	height: auto;
	margin-right: auto;
	margin-left: auto;
	font-weight: bold;
	color: #000;
	font-family: Tahoma, Geneva, sans-serif;
}
#wb {
	float: right;
	width: 390px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: dotted;
	border-right-style: dotted;
	border-bottom-style: dotted;
	border-left-style: dotted;
	height: 380px;
}
#wrapper #wb table {
	font-size: 12px;
}
#UP {
	height: 198px;
	width: 390px;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: dashed;
	border-right-style: dashed;
	border-left-style: dashed;
	text-decoration: none;
}
#dowm {
	height: 380px;
	width: 390px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: dotted;
	border-right-style: dotted;
	border-bottom-style: dotted;
	border-left-style: dotted;
}
#newname {
	float: left;
	height: 80px;
	width: 370px;
}
#CONTACTT {
	float: right;
	height: 128px;
	width: 400px;
	text-align: center;
}
#wrapper #wa table {
	font-weight: normal;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
#wrapper table {
	font-size: 15px;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
</style>
<link href='../../../../xampp/htdocs/resultcheckerfolder/menus/138/menu138id29_style.css' rel='stylesheet' type='text/css' />
<link href='../../../../xampp/htdocs/resultcheckerfolder/menus/138/menu138id35_style.css' rel='stylesheet' type='text/css' />
<link href='../../../../xampp/htdocs/resultcheckerfolder/menus/138/menu138id24_style.css' rel='stylesheet' type='text/css' />
<link href='../../../../xampp/htdocs/resultcheckerfolder/menus/138/menu138id46_style.css' rel='stylesheet' type='text/css' />
<link href='../../../../xampp/htdocs/resultcheckerfolder/menus/138/menu138id42_style.css' rel='stylesheet' type='text/css' />
<link href='../../../../xampp/htdocs/resultcheckerfolder/menus/138/menu138id14_style.css' rel='stylesheet' type='text/css' />
<style type="text/css">
<!--
.style7 {
	font-size: 14px
}
.style13 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.style16 {font-size: 12px}
.style17 {font-size: 12}
.style21 {
	font-size: 14px;
	color: #FFF;
}
.style24 {
	font-size: 14px;
	font-weight: bold;
}
.style25 {
	color: #FF0033;
	font-weight: bold;
}
.style27 {
	color: #0066FF;
	font-weight: bold;
	font-size: 20px;
	font-family: Georgia, "Times New Roman", Times, serif;
}
.style29 {
	color: #909;
	font-weight: bold;
	font-size: 36px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: normal;
	text-transform: capitalize;
	text-decoration: underline;
}
.style35 {
	font-size: 20px;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #FFFF00;
}
.style161 {
	font-size: 14px;
	color: #FFFFFF;
}
.style2 {font-size: 20px;
	font-weight: bold;
}
.style251 {	color: #FFDBCE;
	font-weight: bold;
}
.style101 {font-size: 36px;
	font-weight: bold;
}
.style11 {color: #FFFFFF}
#wrapper #INNNNN tr th table {
	color: #FFF;
}
#RESULTCHAT {
	color: #FFF;
	text-align: right;
	font-size: 14px;
	width: 300px;
	position: relative;
}
#RESULTCHAT tr td table tr td .style16.style25 {
	color: #FFFFFF;
}
.SubjectCSS {
	font-size: 12px;
}
-->
</style>
</head>

<body>
<div align="center">
<div align="center">
  <div id="newlogo">
    <div align="center" class="style101"><img src="Vg Schools Logo.jpg" alt="Victory School Logo" width="122" height="117" align="middle" /> <span class="style11">Victory Early Learning Centre &amp; Victory College Int'l </span><<br />
    </div>
  </div>
  <br />
  <?php if ($row_Recordset2['nos'] >= $_POST['login_nos']) { // Show if column... ?>
</div>
<div id="wrapper">
    <table width="325" border="0" align="right">
      <tr>
        <td align="center"><span style="font-weight: bold; text-align: left; font-size: 12px; color: #F00; font-family: 'Arial Black', Gadget, sans-serif;">Card use :
          <input name="login_nos" type="hidden" id="login_nos" value="<?php echo $_POST['login_nos']; ?>" />
          <?php echo $_POST['login_nos']; ?> out of <?php echo $row_Recordset2['nos']; ?></span></td>
      </tr>
    </table>
  <p align="right" style="font-weight: bold"><span style="font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif"><span class="style27"><span style="font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif">PUPIL</span>'S &nbsp;CONTINUOUS ASSESSMENT REPORT</span></span></p>
  <table width="943" height="440" border="0" align="center" cellpadding="4" cellspacing="0" bordercolor="#990099" id="INNNNN">
    <tr>
      <th width="437" align="center" valign="top" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; color: #909;" scope="row"><span class="style29"><?php echo $row_Recordset1['status']; ?></span>
        <table width="383" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#990099">
          <tr>
            <td width="154" align="right" bgcolor="#660099" style="color: #000"><span class="style161"><strong>Admission No :</strong></span></td>
            <td width="207" align="left" bgcolor="#330099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style161"><?php echo $row_Recordset1['idno']; ?></span></td>
          </tr>
          <tr>
            <td align="right" bgcolor="#330099" style="color: #000"><span class="style161"><strong>Class:</strong></span></td>
            <td align="left" bgcolor="#330099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style161"><?php echo $row_Recordset1['level']; ?></span></td>
          </tr>
          <tr>
            <td height="16" align="right" bgcolor="#660099" style="color: #000"><span class="style161"><strong>Term:</strong></span></td>
            <td align="left" bgcolor="#330099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style161"><?php echo $row_Recordset1['semester']; ?></span></td>
          </tr>
          <tr>
            <td height="16" align="right" bgcolor="#330099" style="color: #000"><span class="style161"><strong>Date of Report:</strong></span></td>
            <td align="left" bgcolor="#330099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style161"><?php echo $row_Recordset1['DateOfReport']; ?></span></td>
          </tr>
          <tr>
            <td height="16" align="right" bgcolor="#660099" style="color: #000"><span class="style161"><strong>Session</strong></span></td>
            <td align="left" bgcolor="#330099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style161"><?php echo $row_Recordset1['session']; ?></span></td>
          </tr>
        </table>
        <br />
        <table width="329" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#ffffff">
          <tr>
            <td align="center" bgcolor="#660099" style="color: #ffffff">Total Score</td>
            <td align="center" bgcolor="#660099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span style="color: #ffffff">Average Score</span></td>
          </tr>
          <tr>
            <td width="135" align="center" bgcolor="#990099" style="color: #ffffff"><span class="style161"><?php echo $row_Recordset1['TotalTermTotal']; ?></span></td>
            <td width="154" align="center" bgcolor="#990099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style161"><?php echo $row_Recordset1['AverageScore']; ?></span></td>
          </tr>
          <tr>
            <td colspan="2" align="left" bgcolor="#d7d7d7" style="color: #ffffff">&nbsp;</td>
          </tr>
          <tr>
            <td align="center" bgcolor="#660099" style="color: #ffffff">Class Position</td>
            <td align="center" bgcolor="#660099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span style="color: #ffffff">Number in Class</span></td>
          </tr>
          <tr>
            <td align="center" bgcolor="#000000" style="color: #ffffff"><span class="style35"><?php echo $row_Recordset1['ClassPosition']; ?></span></td>
            <td align="center" bgcolor="#990099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span style="color: #ffffff"><span class="style161"><?php echo $row_Recordset1['NumberInClass']; ?></span></span></td>
          </tr>
          <tr>
            <td colspan="2" align="left" bgcolor="#D7D7D7" style="color: #000">&nbsp;</td>
          </tr>
          <tr>
            <td align="center" bgcolor="#660099" style="color: #ffffff"><p>Overall Aggregate Score:<br />
                <span class="style161"><?php echo $row_Recordset1['AggregateScore']; ?></span><br />
            </p></td>
            <td align="center" bgcolor="#660099" style="color: #ffffff">Overall Position:<br />              <span class="style101"><span class="style161"><?php echo $row_Recordset1['OverallPosition']; ?></span></span><br /></td>
          </tr>
        </table></th>
      <th height="440" colspan="2" align="left" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif" scope="row">&nbsp;</th>
      <th width="436" height="440" align="left" valign="top" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif" scope="row"><table width="250" border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#990099">
        <tr>
          <td height="267" colspan="2" align="center" valign="middle" style="color: #000"><span class="style2"><img src="<?php echo $row_Recordset1['Photos']; ?>" alt="Pupil's Photo" width="175" height="200" /></span></td>
        </tr>
      </table>
        <br />
        <table width="329" border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#ffffff">
          <tr>
            <td width="141" align="left" bgcolor="#660099" style="color: #FFF">Next Term Begins</td>
            <td width="170" align="left" bgcolor="#660099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style161"><?php echo $row_Recordset1['NextTermBegins']; ?></span></td>
          </tr>
          <tr>
            <td align="left" bgcolor="#990099" style="color: #FFF">Next Term Fees</td>
            <td align="left" bgcolor="#990099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style161"><?php echo $row_Recordset1['NextTermFees']; ?></span></td>
          </tr>
          <tr>
            <td align="left" bgcolor="#FFFFFF" style="color: #FFF">&nbsp;</td>
            <td align="left" bgcolor="#FFFFFF" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif">&nbsp;</td>
          </tr>
          <tr>
            <td align="left" bgcolor="#990099" style="color: #FFF">Promotion <br />
            Status</td>
            <td align="left" bgcolor="#990099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style161"><?php echo $row_Recordset1['Promotion']; ?></span></td>
          </tr>
          <tr>
            <td align="left" bgcolor="#FFFFFF" style="color: #FFF">&nbsp;</td>
            <td align="left" bgcolor="#FFFFFF" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif">&nbsp;</td>
          </tr>
          <tr>
            <td align="left" bgcolor="#990099" style="color: #FFF">Teacher</td>
            <td align="left" bgcolor="#990099" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style161"><?php echo $row_Recordset1['TeachersName']; ?></span></td>
          </tr>
        </table></th>
    </tr>
  </table>
<br />
<p>
    <?php } // Show if column... ?>
    <?php if ($row_Recordset2['nos'] < $_POST['login_nos']) { // Show if column... ?>
</p>
    <div id="fotter">
      <p></p>
      <p>SORRY ! YOUR SCRATCH CARD HAS REACHED ITS <span style="color: #F00; font-weight: bold;"><?php echo $row_Recordset2['nos']; ?> TIME(S)</span> LIMIT.</p>
      <p>BUY ANOTHER SCRATCH CARD AND TRY AGAIN<br />
      </p>
    </div>
    <?php } // Show if column... ?>
  <p></p>
</div>
<div align="center">
  <table width="100%" border="0">
    <tr>
      <td><div align="center"><br />
          <table width="100%" height="1091" border="1" align="center" cellpadding="2" cellspacing="0" bordercolor="#000000" bgcolor="#FFFFCC" id="RESULTCHAT">
            <tr>
              <td width="300" height="41" align="right" bgcolor="#990099" id="RESULTCHAT"><span class="style24">SUBJECTS</span></td>
              <td width="50" align="center" bgcolor="#990099"><span class="style161"><strong>1st TEST<br />
                (20%) </strong></span></td>
              <td width="50" align="center" bgcolor="#990099"><span class="style161"><strong>1st SUM<br />
                (30%) </strong></span></td>
              <td width="50" align="center" bgcolor="#990099"><span class="style161"><strong>2nd TEST<br />
                (20%) </strong></span></td>
              <td width="50" align="center" bgcolor="#990099"><span class="style161"><strong>2nd SUM<br />
                (30%) </strong></span></td>
              <td width="50" align="center" bgcolor="#990099" class="style161"><strong>TERM TOTAL<br />
                (100%) </strong></td>
              <td width="50" align="center" bgcolor="#990099"><span class="style161"><strong>1ST TCUM </strong></span></td>
              <td width="50" align="center" bgcolor="#990099"><span class="style161"><strong>2ND TCUM</strong></span></td>
              <td width="80" align="center" bgcolor="#990099"><span class="style161"><strong>OVERALL<br />
                CUM </strong></span></td>
              <td width="268" rowspan="22" align="center" valign="top" bordercolor="#E9E9E9" bgcolor="#E9E9E9"><table width="98%" border="0" cellpadding="0">
                <tr>
                  <td width="250" bgcolor="#990099"><div align="center" class="style16 style25">ATTITUDES </div></td>
                  </tr>
                <tr>
                  <td height="772" valign="top"><table width="100%" height="772" border="0" cellpadding="0" cellspacing="0">
                    <tr bordercolor="#ffffff">
                      <td height="772" align="center" valign="top"><table width="260" height="235" border="0" cellpadding="2">
                        <tr>
                          <td width="352" align="center"><table width="99%" height="55" border="0" cellpadding="0" cellspacing="0">
                            <tr bordercolor="#ffffff">
                              <td><table width="250" height="569" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#000000">
                                <tr>
                                  <td width="200" height="15" align="left" bordercolor="#990099" bgcolor="#330099" class="style161" style="color: #FFE">Develops positive attitude towards self (Appearance) </td>
                                  <td width="50" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['PositiveAppearance']; ?></span></td>
                                  </tr>
                                <tr>
                                  <td width="200" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #000"><span class="style21"><strong>Develops Positive Attitude Towards Others (Consideration)</strong></span></td>
                                  <td width="50" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['PositiveOthers']; ?></span></td>
                                  </tr>
                                <tr>
                                  <td width="200" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="color: #000"><span class="style21"><strong>Develops Positive attitude in Academic works</strong></span></td>
                                  <td width="50" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['PositiveAcademicWork']; ?></span></td>
                                  </tr>
                                <tr>
                                  <td width="200" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #000"><span class="style21"><strong>Develops  positive attitude towards manual labour</strong></span></td>
                                  <td width="50" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['PositiveManualLabour']; ?></span></td>
                                  </tr>
                                <tr>
                                  <td width="200" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="color: #000"><span class="style21"><strong>Shows respect for School Authority, rules &amp; regulation</strong></span></td>
                                  <td width="50" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['RespectSchoolAuthority']; ?></span></td>
                                  </tr>
                                <tr>
                                  <td width="200" height="15" align="left" bordercolor="#000000" bgcolor="#660066" class="style161" style="color: #FFF"><strong>Shows respet for School property &amp; others' property</strong></td>
                                  <td width="50" height="15" align="left" bordercolor="#000000" bgcolor="#660066" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['RespectSchoolProperty']; ?></span></td>
                                  </tr>
                                <tr>
                                  <td width="200" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #FFF"><strong>Is  Obedient</strong></td>
                                  <td width="50" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['AlwaysObedient']; ?></span></td>
                                  </tr>
                                <tr>
                                  <td width="200" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="color: #FFF"><strong>Greets fellow Students &amp; Elders</strong></td>
                                  <td width="50" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['GreetStudentsElders']; ?></span></td>
                                  </tr>
                                <tr>
                                  <td width="200" height="25" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #FFF"><strong>Is Cooperative</strong></td>
                                  <td width="50" height="25" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['Cooperative']; ?></span></td>
                                  </tr>
                                <tr>
                                  <td height="25" colspan="2" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="color: #FFF"><span class="style161" style="color: #FFF"><strong>Comments</strong></span>:<br />
<span class="style7"><?php echo $row_Recordset1['AttitudeComments']; ?></span></td>
                                  </tr>
                                </table></td>
                              </tr>
                            </table>
                            <p>&nbsp;</p>
                            <p>&nbsp;</p></td>
                          </tr>
                        <tr>
                          <td align="center"><table width="88%" height="55" border="0" cellpadding="0" cellspacing="0">
                            <tr bordercolor="#ffffff">
                              <td><table width="220" height="274" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#000000">
                                <tr bgcolor="#990099">
                                  <td height="15" colspan="2" align="left" bordercolor="#990099" class="style161" style="color: #000"><div align="center" class="style16 style25">HEALTH &amp; CLEANLINESS </div></td>
                                  </tr>
                                <tr>
                                  <td width="120" height="15" align="left" bordercolor="#990099" bgcolor="#330099" class="style161" style="color: #FFF"><strong>Always Healthy</strong></td>
                                  <td width="15" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['AlwaysHealthy']; ?></span></td>
                                  </tr>
                                <tr>
                                  <td width="120" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style21"><strong>Often Sick</strong></span></span></td>
                                  <td width="15" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['OftenSick']; ?></span></span></td>
                                  </tr>
                                <tr>
                                  <td width="120" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style21"><strong>Always Sick</strong></span></span></td>
                                  <td width="15" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['AlwaysSick']; ?></span></span></td>
                                  </tr>
                                <tr>
                                  <td width="120" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #E9E9E9; font-size: 14px;"><strong>Neatness</strong></td>
                                  <td width="15" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['Neatness']; ?></span></td>
                                  </tr>
                                <tr>
                                  <td height="34" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="color: #E9E9E9; font-size: 14px;"><strong>Fair</strong></td>
                                  <td height="34" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['Fair']; ?></span></td>
                                </tr>
                                <tr>
                                  <td width="120" height="44" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="color: #000"><span class="style21"><strong>Needs Improvement</strong></span></td>
                                  <td width="15" height="44" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['NeedsImprovement']; ?></span></td>
                                  </tr>
                                <tr>
                                  <td height="44" colspan="2" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #FFF; font-size: 14px;"><strong>Comments:<br />
<span class="style7"><?php echo $row_Recordset1['HealthComments']; ?></span></strong></td>
                                  </tr>
                                </table></td>
                              </tr>
                            </table></td>
                          </tr>
                        </table></td>
                      </tr>
                    </table></td>
                  </tr>
              </table></td>
            </tr>
            <tr>
              <td width="300" height="20" valign="middle" bgcolor="#330099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="SubjectCSS"><span class="style21">English</span> </span></td>
              <td width="201" align="center" valign="middle" bgcolor="#330099"><span class="style161"><span class="style24"><?php echo $row_Recordset1['English1stTest']; ?></span></span></td>
              <td width="205" align="center" valign="middle" bgcolor="#330099"><span class="style161"><span class="style24"><?php echo $row_Recordset1['English1stSum']; ?></span></span></td>
              <td width="205" align="center" valign="middle" bgcolor="#330099"><span class="style161"><span class="style24"><?php echo $row_Recordset1['English2ndTest']; ?></span></span></td>
              <td width="209" align="center" valign="middle" bgcolor="#330099"><span class="style161"><span class="style24"><?php echo $row_Recordset1['English2ndSum']; ?></span></span></td>
              <td width="219" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['EnglishTermTotal']; ?></span></td>
              <td width="208" align="center" valign="middle" bgcolor="#330099"><span class="style161"><span class="style24"><?php echo $row_Recordset1['English1stTcum']; ?></span></span></td>
              <td width="212" align="center" valign="middle" bgcolor="#330099"><span class="style161"><span class="style24"><?php echo $row_Recordset1['English2ndTcum']; ?></span></span></td>
              <td width="231" align="center" valign="middle" bgcolor="#330099"><span class="style161"><span class="style24"><?php echo $row_Recordset1['EnglishOverallCum']; ?></span></span></td>
            </tr>
            <tr>
              <td width="300" height="20" valign="middle" bgcolor="#660099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Igbo </span></td>
              <td width="201" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Igbo1stTest']; ?></span></td>
              <td width="205" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Igbo1stSum']; ?></span></td>
              <td width="205" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Igbo2ndTest']; ?></span></td>
              <td width="209" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Igbo2ndSum']; ?></span></td>
              <td width="219" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['IgboTermTotal']; ?></span></td>
              <td width="208" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Igbo1stTcum']; ?></span></td>
              <td width="212" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Igbo2ndTcum']; ?></span></td>
              <td width="231" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['IgboOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" valign="middle" bgcolor="#660099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Mathematics </span></td>
              <td width="201" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Mathematics1stTest']; ?></span></td>
              <td width="205" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Mathematics1stSum']; ?></span></td>
              <td width="205" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Mathematics2ndTest']; ?></span></td>
              <td width="209" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Mathematics2ndSum']; ?></span></td>
              <td width="219" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['MathematicsTermTotal']; ?></span></td>
              <td width="208" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Mathematics1stTcum']; ?></span></td>
              <td width="212" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Mathematics2ndTcum']; ?></span></td>
              <td width="231" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['MathematicsOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" valign="middle" bgcolor="#330099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Basic Science &amp; Tech.</span></td>
              <td width="201" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['BasicScienceAndTech1stTest']; ?></span></td>
              <td width="205" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['BasicScienceAndTech1stSum']; ?></span></td>
              <td width="205" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['BasicScienceAndTech2ndTest']; ?></span></td>
              <td width="209" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['BasicScienceAndTech2ndSum']; ?></span></td>
              <td width="219" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['BasicScienceAndTechTermTotal']; ?></span></td>
              <td width="208" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['BasicScienceAndTech1stTcum']; ?></span></td>
              <td width="212" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['BasicScienceAndTech2ndTcum']; ?></span></td>
              <td width="231" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['BasicScienceAndTechOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" valign="middle" bgcolor="#330099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Agric Science </span></td>
              <td width="201" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['AgricScience1stTest']; ?></span></td>
              <td width="205" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['AgricScience1stSum']; ?></span></td>
              <td width="205" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['AgricScience2ndTest']; ?></span></td>
              <td width="209" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['AgricScience2ndSum']; ?></span></td>
              <td width="219" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['AgricScienceTermTotal']; ?></span></td>
              <td width="208" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['AgricScience1stTcum']; ?></span></td>
              <td width="212" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['AgricScience2ndTcum']; ?></span></td>
              <td width="231" align="center" valign="middle" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['AgricScienceOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" valign="middle" bgcolor="#660099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Physical &amp; Health Education</span></td>
              <td width="201" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['PhysicalAndHealthEd1stTest']; ?></span></td>
              <td width="205" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['PhysicalAndHealthEd1stSum']; ?></span></td>
              <td width="205" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['PhysicalAndHealthEd2ndTest']; ?></span></td>
              <td width="209" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['PhysicalAndHealthEd2ndSum']; ?></span></td>
              <td width="219" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['PhysicalAndHealthEdTermTotal']; ?></span></td>
              <td width="208" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['PhysicalAndHealthEd1stTcum']; ?></span></td>
              <td width="212" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['PhysicalAndHealthEd2ndTcum']; ?></span></td>
              <td width="231" align="center" valign="middle" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['PhysicalAndHealthEdOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" bgcolor="#330099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21"><strong>Reading</strong></span></td>
              <td width="201" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['Reading1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['Reading1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['Reading2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['Reading2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['ReadingTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['Reading1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['Reading2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['ReadingOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" bgcolor="#660099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Spelling </span></td>
              <td width="201" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Spelling1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Spelling1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Spelling2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Spelling2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['SpellingTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Spelling1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Spelling2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['SpellingOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="24" bgcolor="#330099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Cultural Arts</span></td>
              <td width="201" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['CulturalArts1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['CulturalArts1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['CulturalArts2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['CulturalArts2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['CulturalArtsTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['CulturalArts1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['CulturalArts2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['CulturalArtsOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" bgcolor="#660099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Social Studies </span></td>
              <td width="201" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['SocialStudies1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['SocialStudies1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['SocialStudies2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['SocialStudies2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['SocialStudiesTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['SocialStudies1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['SocialStudies2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['SocialStudiesOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" bgcolor="#330099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Home Economics </span></td>
              <td width="201" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['Homec1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['Homec1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['Homec2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['Homec2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['HomecTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['Homec1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['Homec2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['HomecOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" bgcolor="#660099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Writing</span></td>
              <td width="201" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Writing1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Writing1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Writing2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Writing2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['WritingTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Writing1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['Writing2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['WritingOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" bgcolor="#330099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Verbal Reasoning </span></td>
              <td width="201" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VerbalReasoning1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VerbalReasoning1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VerbalReasoning2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VerbalReasoning2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VerbalReasoningTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VerbalReasoning1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VerbalReasoning2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VerbalReasoningOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" bgcolor="#660099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Quantitative Reasoning</span></td>
              <td width="201" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['QuantitativeReasoning1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['QuantitativeReasoning1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['QuantitativeReasoning2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['QuantitativeReasoning2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['QuantitativeReasoningTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['QuantitativeReasoning1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['QuantitativeReasoning2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['QuantitativeReasoningOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" bgcolor="#330099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">Vocational Aptitude </span></td>
              <td width="201" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VocationalAptitude1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VocationalAptitude1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VocationalAptitude2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VocationalAptitude2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VocationalAptitudeTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VocationalAptitude1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VocationalAptitude2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['VocationalAptitudeOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" bgcolor="#660099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">C.R. S </span></td>
              <td width="201" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['CRK1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['CRK1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['CRK2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['CRK2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['CRKTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['CRK1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['CRK2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#660099"><span class="style24"><?php echo $row_Recordset1['CRKOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="10" bgcolor="#330099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style21">French</span></td>
              <td width="201" align="center" bgcolor="#330099" class="style161"><span class="style24"><?php echo $row_Recordset1['French1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#330099" class="style161"><span class="style24"><?php echo $row_Recordset1['French1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#330099" class="style161"><span class="style24"><?php echo $row_Recordset1['French2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#330099" class="style161"><span class="style24"><?php echo $row_Recordset1['French2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#330099" class="style161"><span class="style24"><?php echo $row_Recordset1['FrenchTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#330099" class="style161"><span class="style24"><?php echo $row_Recordset1['French1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#330099" class="style161"><span class="style24"><?php echo $row_Recordset1['French2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#330099" class="style161"><span class="style24"><?php echo $row_Recordset1['FrenchOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="10" bgcolor="#660099" class="style21" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif">Computer Science </td>
              <td width="201" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['ComputerScience1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['ComputerScience1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['ComputerScience2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['ComputerScience2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['ComputerScienceTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['ComputerScience1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['ComputerScience2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['ComputerScienceOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="20" bgcolor="#660099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif">Civic  Education </td>
              <td width="201" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['CivicEducation1stTest']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['CivicEducation1stSum']; ?></span></td>
              <td width="205" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['CivicEducation2ndTest']; ?></span></td>
              <td width="209" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['CivicEducation2ndSum']; ?></span></td>
              <td width="219" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['CivicEducationTermTotal']; ?></span></td>
              <td width="208" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['CivicEducation1stTcum']; ?></span></td>
              <td width="212" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['CivicEducation2ndTcum']; ?></span></td>
              <td width="231" align="center" bgcolor="#660099" class="style161"><span class="style24"><?php echo $row_Recordset1['CivicEducationOverallCum']; ?></span></td>
            </tr>
            <tr>
              <td width="300" height="41" bgcolor="#330099" id="RESULTCHAT" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style17"><strong>TOTAL </strong></span></td>
              <td width="201" align="center" bgcolor="#330099">&nbsp;</td>
              <td width="205" align="center" bgcolor="#330099">&nbsp;</td>
              <td width="205" align="center" bgcolor="#330099">&nbsp;</td>
              <td width="209" align="center" bgcolor="#330099">&nbsp;</td>
              <td width="219" align="center" bgcolor="#330099"><strong><?php echo $row_Recordset1['TotalTermTotal']; ?></strong></td>
              <td width="208" align="center" bgcolor="#330099">&nbsp;</td>
              <td width="212" align="center" bgcolor="#330099">&nbsp;</td>
              <td width="231" align="center" bgcolor="#330099"><span class="style24"><?php echo $row_Recordset1['TotalOverallCum']; ?></span></td>
            </tr>
            <tr id="RESULTCHAT">
              <td height="418" colspan="9" align="center" valign="top" bgcolor="#E9E9E9" style="text-align: center; font-size: 20px;"><table width="44%" height="271" border="0" cellpadding="3">
                <tr>
                  <td width="298" height="196"><table width="66%" height="55" border="0" cellpadding="0" cellspacing="0">
                    <tr bordercolor="#ffffff">
                      <td><table width="368" height="170" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#000000">
                        <tr bgcolor="#990099">
                          <td height="15" colspan="2" align="left" bordercolor="#990099" class="style161" style="color: #000"><div align="center" class="style16 style25">WORK HABITS </div></td>
                        </tr>
                        <tr>
                          <td width="128" height="30" align="left" bordercolor="#990099" bgcolor="#330099" class="style161" style="color: #FFF"><strong>Does Homework / Assignment</strong></td>
                          <td width="218" height="30" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['DoesHomeworkAndAssignments']; ?></span></td>
                        </tr>
                        <tr>
                          <td width="128" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #000"><span class="style21"><strong>Completes work on time</strong></span></td>
                          <td width="218" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['CompletesWorkOnTime']; ?></span></td>
                        </tr>
                        <tr>
                          <td width="128" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="color: #000"><span class="style21"><strong>Is always attentive &amp; Follows Directions</strong></span></td>
                          <td width="218" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['IsAttentiveAndFollowsDirections']; ?></span></td>
                        </tr>
                        <tr>
                          <td width="128" height="26" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #000"><span class="style21"><strong>Handwriting </strong></span></td>
                          <td width="218" height="26" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['Handwriting']; ?></span></td>
                        </tr>
                        <tr>
                          <td height="26" colspan="2" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="color: #FFF; font-size: 14px;"><strong>Comments:<br />
                          </strong><span class="style7"><?php echo $row_Recordset1['WorkHabitComments']; ?></span></td>
                          </tr>
                      </table></td>
                    </tr>
                  </table></td>
                  <td width="374" align="center"><table width="397" height="179" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#000000">
                    <tr bgcolor="#990099">
                      <td height="15" colspan="2" align="center" bordercolor="#990099" class="style161" style="color: #000"><div align="center" class="style16 style25">ATTENDANCE REPORT </div></td>
                    </tr>
                    <tr>
                      <td width="138" height="15" align="left" bordercolor="#990099" bgcolor="#330099" class="style161" style="color: #FFF"><strong>No. of times Sch. Opened</strong></td>
                      <td width="237" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['NumberOfTimesSchOpened']; ?></span></td>
                    </tr>
                    <tr>
                      <td width="138" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #000"><span class="style21"><strong>No of Times Punctual</strong></span></td>
                      <td width="237" height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['NumberOfTimesPunctual']; ?></span></td>
                    </tr>
                    <tr>
                      <td width="138" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="color: #000"><span class="style21"><strong>No of times Present</strong></span></td>
                      <td width="237" height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['NumberOfTimesPresent']; ?></span></td>
                    </tr>
                    <tr>
                      <td width="138" height="39" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #000"><span class="style21"><strong>No of times Absent</strong></span></td>
                      <td width="237" height="39" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['NumberOfTimesAbsent']; ?></span></td>
                    </tr>
                    <tr>
                      <td height="39" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="color: #E9E9E9; font-size: 14px;"><strong>Tardy</strong></td>
                      <td height="39" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif"><span class="style7"><?php echo $row_Recordset1['Tardy']; ?></span></td>
                    </tr>
                    <tr>
                      <td height="39" colspan="2" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #E9E9E9; font-size: 14px;"><strong>Comment:<br />
<span class="style7"><?php echo $row_Recordset1['AttendanceComments']; ?></span></strong></td>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td height="69" colspan="2" align="center" bgcolor="#FF0000"><strong>Any Fees Owed: <span class="style251"><?php echo $row_Recordset1['AnyFeesOwed']; ?></span></strong></td>
                </tr>
              </table>
                <table width="692" border="0">
                  <tr>
                    <td width="686" align="center"><table width="79%" height="55" border="0" cellpadding="0" cellspacing="0">
                      <tr bordercolor="#ffffff">
                        <td><table width="689" height="73" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#000000">
                          <tr>
                            <td height="15" align="left" bordercolor="#990099" bgcolor="#330099" class="style161" style="color: #FFF; font-size: 15px;"><strong>Class Teacher's Remarks: </strong></td>
                            </tr>
                          <tr>
                            <td height="15" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #000"><span class="style161" style="color: #FFF; font-size: 15px;"><span class="style7"><span class="style161" style="color: #FFF; font-size: 15px;"><span class="style161" style="color: #000"><span class="style161" style="color: #FFF; font-size: 15px;"><span class="style161" style="color: #FFF; font-size: 15px;"><?php echo $row_Recordset1['ClassTeachersRemarks']; ?></span></span></span></span></span></span></td>
                            </tr>
                          <tr>
                            <td height="15" align="left" bordercolor="#000000" bgcolor="#330099" class="style161" style="color: #000"><span class="style21"><strong>Co-ordinator's Comment: </strong></span></td>
                            </tr>
                          <tr>
                            <td height="26" align="left" bordercolor="#000000" bgcolor="#990099" class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style21"><span class="style7"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000; font-size: 14px;"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #fff"><span class="style161" style="color: #FFF; font-size: 14px;"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000; font-size: 14px;"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #000"><span class="style161" style="color: #fff"><span class="style161" style="color: #FFF; font-size: 14px;"><?php echo $row_Recordset1['CoordinatorsComment']; ?></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></td>
                            </tr>
                        </table></td>
                      </tr>
                    </table></td>
                  </tr>
                </table></td>
            </tr>
          </table>
          <br />
      </div></td>
    </tr>
    <tr>
      <td><div align="center" class="style13">
        <div align="center">
          <p>Copyright ©2014-2018 VIctory School Int'l, Aba ::: All Rights Reserved </p>
          <p><a href="https://dataswiftlimited.com" target="_blank"><img src="https://dataswiftlimited.com/datalogo.jpg" alt="DataSwift Designs" width="123" height="63" border="0" longdesc="https://dataswiftlimited.com" /></a></p>
        </div>
      </div></td>
    </tr>
  </table>
</div>
</body>
</html>
<?php
mysql_free_result($Recordset2);

mysql_free_result($Recordset1);

mysql_free_result($Recordset3);
?>