Viewing file: v_g_showGD.php (2.72 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_cfg = (isset($qu_cfg) && $qu_cfg!=NULL) ? $qu_cfg->row() : NULL;
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<div align="center">
<?php echo form_open($this->config->item("rg_folder")."general/showGD", array("name" => "myform", "id" => "myform"));?>
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><br /></td>
</tr>
<tr>
<td align="center"><span class="h error">ผู้สำเร็จการศึกษา</span></td>
</tr>
<tr>
<td><br /></td>
</tr>
<tr>
<td><span><b>ปีการศึกษาที่จบ</b></span>
<?php
$js = "id=\"stdGraduateY\" onChange=\"sendPost('hidform', {'stdGraduateY':this.value}, '".site_url($this->config->item('rg_folder').'general/showGD')."')\"";
echo form_dropdown('stdGraduateY', $rs_std, $stdGraduateY, $js);
?>
</td>
</tr>
<tr>
<td><table class="headCol">
<tr>
<th><span>ภาคการศึกษา</span></th>
<?php
foreach ($rs_tm->result() as $row_tm) {
?>
<th class="groupCol"><span><?php echo $row_tm->tmCode;?></span></th>
<?php
}
?>
</tr>
<tr>
<td class="indent" bgcolor="<?php echo $this->config->item('rg_head_tb_headCol');?>" colspan="4"><span style="color:<?php echo setValue('cfgFnClHeadTb',$row_cfg);?>"><b>ชื่อหลักสูตร</b></span></td>
</tr>
<?php
$i = 0;
foreach ($rs as $curId => $val) {
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
<td class="indent"><span><?php echo explodeSquare($rs[$curId]['curName']);?></span></td>
<?php
foreach ($rs[$curId] as $tmId => $val) {
if (is_int($tmId)) {
?>
<td align="center"><span class="hand" onClick="sendPost('hidform', {'curId':<?php echo $curId;?>,'stdGraduateY':<?php echo $stdGraduateY;?>,'tmId':<?php echo $tmId;?>}, '<?php echo site_url($this->config->item('rg_folder').'general/showGDSt');?>')"><?php echo $rs[$curId][$tmId]['sumStd'];?></span></td>
<?php
}
}
?>
</tr>
<?php
$i++;
} // end foreach
?>
</table></td>
</tr>
</table><?php echo form_close();?></div>
<br><span style="color:<?php echo setValue('cfgFnClErrSpec',$row_cfg);?>"><b>หมายเหตุ : </b>ใช้เมาส์คลิกที่ตัวเลขบอกจำนวนผู้สำเร็จการศึกษาเพื่อดูรายชื่อผู้สำเร็จการศึกษา</span></td>
</tr>
</table>
|