Viewing file: v_g_showSchedule.php (6.17 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_cfg = (isset($qu_cfg) && $qu_cfg!=NULL) ? $qu_cfg->row() : NULL;
$row_sd = isset($qu_sd) ? $qu_sd->row() : NULL;
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<div align="center">
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="1">
<tr>
<td><br /></td>
</tr>
<tr>
<td align="center"><span class="h error">ปฏิทินการศึกษา</span></td>
</tr>
<tr>
<td><br /></td>
</tr>
<tr>
<td><table class="szone">
<tr>
<td><span><b>ปีการศึกษา</b></span>
<?php
$js = "id=\"acY\" onChange=\"sendPost('hidform', {'acY':this.value,'tmId':".$tmId."}, '".site_url($this->config->item('rg_folder').'general/showSd')."')\"";
echo form_dropdown('acY', $rs_tmc, $acY, $js);
?>
<span> <b>ภาคการศึกษา</b></span>
<?php
$js = "id=\"tmId\" onChange=\"sendPost('hidform', {'acY':".$acY.",'tmId':this.value}, '".site_url($this->config->item('rg_folder').'general/showSd')."')\"";
echo form_dropdown('tmId', $rs_tm, $tmId, $js);
?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><table class="headCol">
<tr bgcolor="<?php echo $this->config->item('rg_head_tb_headCol');?>">
<td height="25px" align="center"><span class="fontT"><b>คำอธิบาย/ชื่อกิจกรรม</b></span></td>
<td width="250px" align="center"><span class="fontT"><b>วันที่เริ่มต้น</b></span></td>
<td width="250px" align="center"><span class="fontT"><b>วันที่สิ้นสุด</b></span></td>
</tr>
<?php
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
<td class="indent"><span>วันเปิดภาคการศึกษา</span></td>
<td align="center"><span><?php echo getval('sdSDate', $row_sd) ? fullDate(splitDateDb2(getval('sdSDate', $row_sd))) : '-';?></span></td>
<td align="center">-</td>
</tr>
<?php
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
<td class="indent"><span>ช่วงลงทะเบียนเรียน</span></td>
<td align="center"><span><?php echo getval('sdRegSDate', $row_sd) ? fullDate(splitDateDb2(getval('sdRegSDate', $row_sd))) : '-';?></span></td>
<td align="center"><span><?php echo getval('sdRegEDate', $row_sd) ? fullDate(splitDateDb2(getval('sdRegEDate', $row_sd))) : '-';?></span></td>
</tr>
<?php
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
<td class="indent"><span>ช่วงเพิ่ม-ถอนรายวิชา</span></td>
<td align="center"><span><?php echo getval('sdAddWithdrawSDate', $row_sd) ? fullDate(splitDateDb2(getval('sdAddWithdrawSDate', $row_sd))) : '-';?></span></td>
<td align="center"><span><?php echo getval('sdAddWithdrawEDate', $row_sd) ? fullDate(splitDateDb2(getval('sdAddWithdrawEDate', $row_sd))) : '-';?></span></td>
</tr>
<?php
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
<td class="indent"><span>ช่วงชำระค่าลงทะเบียนเรียน</span></td>
<td align="center"><span><?php echo getval('sdPaySDate', $row_sd) ? fullDate(splitDateDb2(getval('sdPaySDate', $row_sd))) : '-';?></span></td>
<td align="center"><span><?php echo getval('sdPayEDate', $row_sd) ? fullDate(splitDateDb2(getval('sdPayEDate', $row_sd))) : '-';?></span></td>
</tr>
<?php
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
<td class="indent"><span>ช่วงสอบกลางภาค</span></td>
<td align="center"><span><?php echo getval('sdMidExamSDate', $row_sd) ? fullDate(splitDateDb2(getval('sdMidExamSDate', $row_sd))) : '-';?></span></td>
<td align="center"><span><?php echo getval('sdMidExamEDate', $row_sd) ? fullDate(splitDateDb2(getval('sdMidExamEDate', $row_sd))) : '-';?></span></td>
</tr>
<?php
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
<td class="indent"><span>ช่วงสอบปลายภาค</span></td>
<td align="center"><span><?php echo getval('sdFinalExamSDate', $row_sd) ? fullDate(splitDateDb2(getval('sdFinalExamSDate', $row_sd))) : '-';?></span></td>
<td align="center"><span><?php echo getval('sdFinalExamEDate', $row_sd) ? fullDate(splitDateDb2(getval('sdFinalExamEDate', $row_sd))) : '-';?></span></td>
</tr>
<?php
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
<td class="indent"><span>ช่วงส่งเกรดนักศึกษา</span></td>
<td align="center"><span><?php echo getval('sdFinalExamSDate', $row_sd) ? fullDate(splitDateDb2(getval('sdFinalExamSDate', $row_sd))) : '-';?></span></td>
<td align="center"><span><?php echo getval('sdSendGradeEDate', $row_sd) ? fullDate(splitDateDb2(getval('sdSendGradeEDate', $row_sd))) : '-';?></span></td>
</tr>
<?php
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
<td class="indent"><span>วันปิดภาคการศึกษา</span></td>
<td align="center"><span><?php echo getval('sdEDate', $row_sd) ? fullDate(splitDateDb2(getval('sdEDate', $row_sd))) : '-';?></span></td>
<td align="center">-</td>
</tr>
</table><br></td>
</tr>
</table></div>
<br></td>
</tr>
</table>
|