<script type="text/javascript" src="<?php echo base_url().$this->config->item("emt_dandelion_folder");?>jui/js/jquery.ui.timepicker.min.js"></script> <script type="text/javascript" src="<?php echo base_url().$this->config->item("emt_dandelion_folder");?>jui/js/jquery.ui.touch-punch.min.js"></script> <link rel="stylesheet" type="text/css" href="<?php echo base_url().$this->config->item("emt_dandelion_folder");?>jui/css/jquery.ui.all.css" media="screen" /> <!-- Validation Plugin --> <script type="text/javascript" src="<?php echo base_url().$this->config->item("emt_dandelion_folder");?>plugins/validate/jquery.validate.min.js"></script> <!-- Demo JavaScript Files --> <script type="text/javascript" src="<?php echo base_url().$this->config->item("emt_dandelion_folder");?>js/demo/demo.ui.js"></script> <script> $(document).ready(function(){ // Init <?php $mt_date_start = emt_dateForm(emt_getval("mt_date_start", $row),"/"); $mt_date_stop = emt_dateForm(emt_getval("mt_date_stop", $row),"/"); if( (($mt_date_stop == "00/00/0000") || ($mt_date_stop == $mt_date_start) || ($mt_date_stop == "") )){ echo "$(\".dateStop\").hide();"; echo $mt_date_start; } else { echo "$(\"#showDateStop\").attr(\"checked\",\"checked\");"; } ?> //egoist --------------------------------- // Add event $(".CL1").attr("disabled","disabled"); $("#showDateStop").click(showDateStop); $(":input[name^='mt_date_start']").change(mt_date_start);
รับรองมติการประชุมฯ </span> </div> <div class="da-panel-content"> <?php $action = "emeeting/emeetingNoticeApprvAgenda"; echo form_open($this->config->item("emt_path").$action,"frmSetDate"); ?> <div style="width:100%;"> <table class="da-table da-detail-view"> <tbody> <tr> <th align="right"><label>วันที่สิ้นสุดการรับรองมติ</label></th> <td> <?php $mt_eapprv_date = emt_dateForm(emt_getval("mt_eapprv_date", $row),"/"); if(!$mt_eapprv_date) { $mt_eapprv_date = date("d/m/Y"); } ?> <script type="text/javascript"> DateInput("mt_eapprv_date", true, "DD/MM/YYYY","<?php echo $mt_eapprv_date;?>"); </script> </td> </tr> <tr> <td align="right" colspan="2" > <input type="hidden" name="cms_id" value="<?php echo $cms_id; ?>" /> <input type="hidden" name="mt_id" value="<?php echo $mt_id; ?>" /> <input type="submit" class="da-button green" name="submit" value="บันทึก" /> </td>
} /* $tmp = getNowDateFw2(); if(isset($birthDate) <> ''){ $tmp = set_value($birthDate); } */ ?> <td colspan="2"><script>DateInput('birthDate', true, 'DD/MM/YYYY','<?php echo $tmp;?>');</script></td> </tr> <tr> <td><b>วันเริ่มเข้าทำงาน</b></td> <?php //if ( isset($firstadmidDate) <> '' ) $tmp = set_value($firstadmidDate); if(isset($ps_row)){ $tmp = emt_dateForm(emt_getval("firstadmidDate", $ps_row),"/"); } else{ $tmp = set_value('firstadmidDate'); if($tmp == ''){ $tmp = getNowDateFw2(); } } ?> <td colspan="2"><script>DateInput('firstadmidDate', true, 'DD/MM/YYYY','<?php echo $tmp;?>');</script></td> </tr> <tr> <td><b>หน่วยงานย่อย</b></td> <td colspan="2"> <?php if(isset($ps_row)){ $deptId = $ps_row->deptId;
?> <td><script type="text/javascript">DateInput("cms_start_date", true, "DD/MM/YYYY","<?php echo $cms_start_date;?>");</script></td> <td><label class="font-normal"><input type="checkbox" class="chk_hide" name="cms_unstart_date" id="cms_unstart_date" value="1" /> ไม่ระบุ</label></td> </tr> </tbody> </table> </td> </tr> <tr> <td><label>ถึงวันที่ : </label></td> <td> <table> <tbody> <tr> <?php $cms_end_date = emt_dateForm(emt_getval("cms_end_date", $row),"/"); if(!$cms_end_date) $cms_end_date = date("d/m/Y"); ?> <td><script type="text/javascript">DateInput("cms_end_date", true, "DD/MM/YYYY","<?php echo $cms_end_date;?>");</script></td> <td><label class="font-normal"><input type="checkbox" class="chk_hide" name="cms_unend_date" id="cms_unend_date" value="1" <?php echo set_checkbox("cms_unend_date",2);?> /> ไม่ระบุ</label></td> </tr> </tbody> </table> </td> </tr> <!-- <tr> <td colspan="2" > <label class="font-normal"> <input type="checkbox" name="chk_repeat" id="chk_repeat" value="1" />
<td> <textarea class="validate" title="ส่วนงาน" name="b1" id="test" rows="5" cols="70"><?php echo str_replace(" โทร ", "", $qu_ivm->row()->ivm_div);?></textarea> </td> </tr> <tr> <td><label class="emt_bold"> ที่หนังสือ</label></td> <td> <input class="validate" title="ที่หนังสือ" type="text" name="b2" value="<?php echo $qu_ivm->row()->ivm_no;?>" /> </td> </tr> <tr> <td><label class="emt_bold">วันที่</label></td> <td> <?php //เวลา $ivm_date = emt_dateForm(getval("ivm_date", $qu_ivm->row()), "/"); if(!$ivm_date) { $ivm_date = date("d/m/Y"); } ?> <script type="text/javascript"> DateInput("bday", true, "DD/MM/YYYY","<?php echo $ivm_date;?>"); </script> </td> </tr> <tr> <td><label class="emt_bold">เรื่อง </label></td> <td> <textarea class="validate" title="เรื่อง" name="b3" id="test" rows="5" cols="70"><?php echo $qu_ivm->row()->ivm_subject;?></textarea> </td> </tr>