Viewing file:      v_militaryDetailFile.php (2.17 KB)      -rwxr-xr-x Select action/file-type:    (+) |   (+) |   (+) | Code (+) | Session (+) |   (+) | SDB (+) |   (+) |   (+) |   (+) |   (+) |   (+) |
 
<?php
 $row_nw = (isset($qu_nw) && $qu_nw!=NULL) ? $qu_nw->row() : NULL;
 ?>
 <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
     <tr>
         <td><fieldset>
             <legend align="center"><span class="h">รายละเอียดข้อมูลแบบฟอร์มเกี่ยวกับงานทหาร</span></legend>
             <label><div align="center"><br>
             <table width="100%" align="center" cellpadding="0" cellspacing="1" border="0">
                 <tr>
                     <td><table class="szone2">
                         <tr>
                             <th>ระบบ</th>
                             <td><?php echo setValue('StNameT',$row_nw);?></font></td>
                         </tr>
                         <tr>
                             <th>ชื่อแบบฟอร์ม</th>
                             <td><?php echo setValue('nwTitle',$row_nw);?></td>
                         </tr>
                         <tr>
                             <th>วันที่เริ่ม</th>
                             <td><?php echo (setValue('nwFrDate',$row_nw)=="0000-00-00") ? "ไม่กำหนดเวลา" : fullDate2(setValue('nwFrDate',$row_nw));?></td>
                         </tr>
                         <tr>
                             <th>วันที่สิ้นสุด</th>
                             <td><?php echo (setValue('nwToDate',$row_nw)=="0000-00-00") ? "ไม่กำหนดเวลา" : fullDate2(setValue('nwToDate',$row_nw));?></td>
                         </tr>
                         <tr>
                             <th>ประกาศโดย</th>
                             <td><?php echo setValue('nwAnnoucedBy',$row_nw);?></font></td>
                         </tr>
                         <tr>
                             <th>รายละเอียด</th>
                             <td><?php echo nl2br(htmlspecialchars(setValue('nwDetail',$row_nw)));?></font></td>
                         </tr>
                         <tr>
                             <th>เอกสารประกอบ</th>
                             <td>
 <?php
                         if(isset($rs_nwu) && $rs_nwu->num_rows()) {
                             foreach($rs_nwu->result() as $row) {
                                 echo anchor(base_url().$this->config->item('rg_docNews').$row->nwuPath, $row->nwuFileName);
                                 echo "<br />";
                             }
                         } else {
                             echo "-";
                         }
 ?>
                             </td>
                         </tr>
                     </table></td>
                 </tr>
                 <tr>
                     <td align="center">
                     <input type="button" name="close" value="ปิดหน้าต่าง" onClick="javascript:window.close();"></td>
                 </tr>
             </table></div></label>
         </fieldset></td>
     </tr>
 </table>
  |