Viewing file: v_showDetailsSsm.php (2.42 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_std = (isset($qu_std) && $qu_std!=NULL) ? $qu_std->row() : NULL;
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><br><table width="100%">
<tr>
<td align="center">
<span class="h error">สถานะนักศึกษารายภาคการศึกษา</span>
</td>
</tr>
<tr>
<td><br /></td>
</tr>
<tr>
<td height="22" align="center"><font size="2"><b>รหัสนักศึกษา : </b><?php echo setValue('stdCode',$row_std);?> <b>ชื่อ-นามสกุล : </b><?php echo setValue('prefixName',$row_std).setValue('stdName',$row_std).' '.setValue('stdSurname',$row_std);?></font></td>
</tr>
<tr>
<td><br /></td>
</tr>
<tr>
<td><table class="headCol">
<tr>
<th>ภาค/ปีการศึกษา</th>
<th class="amtCol">SEM-CR.</th>
<th class="amtCol">GPA</th>
<th class="amtCol">CUM-CR.</th>
<th class="amtCol">GPAX</th>
<th>สถานะนักศึกษา</th>
</tr>
<?php
$i = 0;
if(isset($rs_ssm) && $rs_ssm->num_rows()) {
foreach($rs_ssm->result() as $row_ssm) {
echo "<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
<td align="center"><?php echo $row_ssm->tmCode.'/'.$row_ssm->ssmAcY;?></font></td>
<td align="center"><?php echo $row_ssm->ssmCreditPoint;?></font></td>
<td align="center"><?php echo number_format($row_ssm->ssmGPA, 2);?></font></td>
<td align="center"><?php echo $row_ssm->ssmCreditPoint;?></font></td>
<td align="center"><?php echo number_format($row_ssm->ssmGPAX, 2);?></font></td>
<td class="indent"><?php echo $row_ssm->sstName;?></font></td>
</tr>
<?php
$i++;
}
} else {
?>
<tr>
<td colspan="6" align="center"><span class="error">** ไม่ปรากฏสถานะนักศึกษา **</span></td>
</tr>
<?php
}
?>
</table></td>
</tr>
<tr>
<td><br /></td>
</tr>
<tr>
<td align="center">
<input type="button" name="print" id="pirnt" value="พิมพ์หน้านี้" onClick="window.print()" />
<input type="button" name="close" id="close" value="ปิดหน้าต่างนี้" onClick="window.close()" /></td>
</tr>
</table><br></td>
</tr>
</table>
|