Viewing file: settimeforQn.php (3.46 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "template.php";
showHeader();
include_once "../class/clsalumnimain.php";
include_once("../class/clstimeqn.php");
confirmSubmit();
openWindow();
$oAm = new AlumniMain($oC1);
$oTq = new Timeqn($oC1);
?>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<table width="740" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="left">
<td><br><fieldset>
<legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><a href="?mm=1">แบบสอบถาม
</a>
<img src="../picture/ico3.gif" align="absmiddle" border="0">กำหนดเงื่อนไขการตอบแบบสอบถามข้อมูลการทำงานของผู้สำเร็จการศึกษา</font></legend>
<label>
<div align="center"><br>
<form name="ps" method="post" action="processtimeqn.php"><table width="550" align="center" border="0" cellpadding="0" cellspacing="1">
<tr>
<td align="center" colspan="2"><font size="3" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><strong>กำหนดเงื่อนไขการตอบแบบสอบถามข้อมูลการทำงานของผู้สำเร็จการศึกษา</strong></font></td>
</tr>
<tr>
<td align="center" colspan="2"> </td>
</tr>
<tr>
<td ><table width="550" border="0" cellspacing="1" cellpadding="1" bordercolor="<?php echo $GLOBALS["COLOR_BORDER_TABLE_1"];?>" align="center">
<?
$oTq->SearchByKey(1);
$oTq->GetRecord();
?>
<tr >
<td width="191" height=22 align="right" ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><b>วันที่เริ่มต้น</b></font></td>
<td width="10" > </td>
<td width="339" >
<? 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 >
<td align="right" height=22 ><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>"><b>วันที่สิ้นสุด</b></font></td>
<td > </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 >
<td align="center" colspan="5"> </td>
</tr>
<tr >
<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>
</form>
</div>
</fieldset>
<font color="<?php echo $GLOBALS['COLOR_FONT_3'];?>" size="2" face="MS Sans Serif"><br>
</font>
<br>
</label>
<br><br><br><br>
</td>
</tr>
</table>
<?php
showFooter();
?>
<script language="JavaScript" type="text/JavaScript">
function checkout() {
if(document.ps.out.checked) {
document.ps.partyType.disabled = false;
}else{
document.ps.partyType.disabled = true;
}
}
</script>
|