Viewing file: v_settimeForQn.php (2.5 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_sqn = (isset($qu_sqn) && $qu_sqn!=NULL) ? $qu_sqn->row() : NULL;
?>
<table width="100%">
<tr>
<td><?php echo form_open($this->config->item("ea_folder")."query/setqn_save", array("name" => "myform", "id" => "myform"));?>
<table width="100%">
<tr>
<td align="center" class="h">
กำหนดเงื่อนไขการตอบแบบสอบถามข้อมูลการทำงานของผู้สำเร็จการศึกษา</td>
</tr>
<tr>
<td><br /></td>
</tr>
<tr>
<td ><table class="easzone">
<tr bgcolor="<?php echo $tr_color_even;?>">
<td class="coltd_easzone">วันที่เริ่มต้น</td>
<td>
<? //if(($oTq->startDate == '0000-00-00') || ($oTq->startDate =="")) {?> <script>DateInput('startDate', true, 'DD/MM/YYYY','<?php echo getNowDateFw2();?>');</script><? //} else {?> <script>DateInput('startDate', true, 'DD/MM/YYYY','<?php echo splitDateDb($oTq->startDate,"/");?>');</script><? // } ?>
</td>
</tr>
<tr bgcolor="<?php echo $tr_color_even;?>">
<td class="coltd_easzone">วันที่สิ้นสุด</td>
<td><? //if(($oTq->endDate == '0000-00-00') || ($oTq->endDate =="")) {?> <script>DateInput('endDate', true, 'DD/MM/YYYY','<?php echo getNowDateFw2();?>');</script><? //} else {?> <script>DateInput('endDate', true, 'DD/MM/YYYY','<?php echo splitDateDb($oTq->endDate,"/");?>');</script><? //} ?>
</td>
</tr>
<tr bgcolor="<?php echo $tr_color_even;?>">
<td class="coltd_easzone">ปีการศึกษา</td>
<td><input type="text" name="yearQn" id="yearQn" value="<?php echo set_Value('yearQn');?>" size="10" />
<font color="<?php echo $this->config->item('font_color_err');?>" size="2">*</font>
<?php echo form_error('yearQn',$row_sqn);?>
</td>
</tr>
<tr bgcolor="<?php echo $tr_color_even;?>">
<td align="center" colspan="5"><input type="submit" name="add" value="บันทึก">
<input type="reset" name="clear" value="ลบข้อมูล">
<input type="hidden" name="method" value="edit">
<input type="hidden" name="seqId" value="1">
</td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" align="center"></td>
</tr>
</table>
<?php echo form_close();?>
</div></td>
</tr>
</table>
|