Viewing file: v_showGD.php (3.17 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script language="JavaScript" type="text/JavaScript">
function confirmDate() {
if(document.getElementById('curId').value!="" && document.getElementById('stdTmIdAdmit').value!="") {
if(confirm("ท่านต้องการให้วันที่ "+document.myform.stdGraduateDate.value+" เป็นวันที่สำเร็จการศึกษาใช่หรือไม่ !!"))
return true;
else
return false;
}
}
</script>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2">
<div align="center">
<?php echo form_open($this->config->item("rg_folder")."graduate4/addGD", array("name" => "myform", "id" => "myform"));?>
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="1">
<tr>
<td align="center"><span class="h error">อนุมัติสำเร็จการศึกษา</span></td>
</tr>
<tr>
<td><br /></td>
</tr>
<tr>
<td>
<table class="szone">
<tr bgcolor="<?php echo $tr_color_even;?>">
<td class="coltd_szone">ชื่อหลักสูตร</td>
<td><input type="text" name="curName" id="curName" class="input2" size="60" value="<?php echo set_value('curName');?>" readonly />
<?php
echo anchor_popup($this->config->item("rg_folder")."popup/searchCurHaveStd_popup", "<img src=\"".base_url().$this->config->item("rg_search")."\" width=\"15\" height=\"19\" align=\"abmiddle\" border=\"0\" />", array("width" => "500", "height" => "250"));
?>
<input type="hidden" name="curId" id="curId" class="input1" value="<?php echo set_value('curId');?>" readonly />
<input type="hidden" name="stdTmIdAdmit" id="stdTmIdAdmit" class="input2" value="<?php echo set_value('stdTmIdAdmit');?>" readonly />
<font size="2" color="<?php echo $font_color_err;?>">*</font>
<br /><?php echo form_error('curName');?></td>
</tr>
<tr bgcolor="<?php echo $tr_color_even;?>">
<td class="coltd_szone">ปีการศึกษาที่เข้า</td>
<td><input type="text" name="adY" id="adY" size="4" maxlength="4" class="input2" readonly value="<?php echo set_value('adY');?>" />
<br /><?php echo form_error('adY');?></td>
</tr>
<tr bgcolor="<?php echo $tr_color_even;?>">
<td class="coltd_szone">วันที่สำเร็จการศึกษา</td>
<td><script>DateInput('stdGraduateDate', true, 'DD/MM/YYYY', '<?php echo set_value("stdGraduateDate",getNowDateFw2());?>')</script></td>
</tr>
<tr>
<td colspan="3" align="center"><br><input type="submit" name="submit" id="submit" value="ตกลง" onClick="return confirmDate()" />
<input type="reset" name="cancel" id="cancel" value="เคลียร์ข้อมูล" />
<input type="hidden" name="method" id="method" value="edit" /></td>
</tr>
</table></td>
</tr>
</table><?php echo form_close();?></div>
<span class="error"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</span></td>
</tr>
</table>
|