Viewing file: showStatusDocTable.php (2.33 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include_once("../../class/clsConnection.php"); include_once("../../class/clsDB.php"); include_once "../global.php"; include_once "../class/clsTable.php"; include_once "../class/clsDepartment.php"; include_once "../class/clsPerson.php"; include_once "../class/clsWorkGroup.php"; include_once "../link/function.php";
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);
$oDP = new Department($oC); $oPS = new person($oC); $oWG = new workGroup($oC);
?> <html> <head> <title>เพิ่มข้อมูลงาน</title> <script language="javascript" src="../source/calendarDateInput.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=tis-620"> <link href="../source/style.css" rel="stylesheet" type="text/css"> </head> <body> <fieldset> <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_2"];?>"> <img src="../picture/map.gif"><strong> เพิ่มข้อมูลงาน </strong> </font></legend><br> <table border="0" align="center" width="100%"> <tr><td colspan="4"> <strong>ช่วงเวลาที่ลงทะเบียน เสนอลงนาม</strong></td></tr> <tr> <td width="25%"> ตั้งแต่วันที่</td> <td width="30%"><script>DateInput('startDate', true, 'DD/MM/YYYY','<?php echo getNowDateFw2();?>');</script></td> <td width="15%" align="center">ถึง</td> <td width="30%"><script>DateInput('endDate', true, 'DD/MM/YYYY','<?php echo getNowDateFw2();?>');</script></td> </tr> </table> <table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#DADADA" style="border-collapse:collapse" background="<? if($DtID=="6" || $DtID=="7" || $DtID=="9"){ echo "../picture/table_header_bg2.gif"; }else{ echo "../picture/table_header_bg.gif"; }?>"> <tr height=22> <td width="3%" align="center"><font color="<?php echo $GLOBALS["COLOR_FONT_1"]; ?>" size="2"><strong> </strong></font></td> </tr> </table> <table border="0" align="center"> <tr bgcolor="#FFFFFF"><td align="center"><input type="button" name="cancel" value="ยกเลิก" onClick="window.close();"></td></tr> </table> </fieldset> </body> </html> <script language="JavaScript"> function checkSubmitAll(){ if(document.ff.workGroupName.value == ""){ alert("กรุณากรอกชื่องาน"); document.ff.workGroupName.focus(); return false; } } </script>
|