Viewing file: v_addWeekDateRow_11.php (1.32 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$rowCfg = (isset($qu_cfg) && $qu_cfg!=NULL) ? $qu_cfg->row() : NULL;
$rowWd = (isset($qu_wd) && $qu_wd!=NULL) ? $qu_wd->row() : NULL;
$rowTmc = (isset($qu_tmc) && $qu_tmc!=NULL) ? $qu_tmc->row() : NULL;
$set_wdFrDate = setValue("set_wdFrDate",$rowWd);
$set_wdToDate = setValue("set_wdToDate",$rowWd);
$flagFr = ($set_wdFrDate!=NULL) ? $set_wdFrDate : getNowDateFw2();
$flagTo = ($set_wdToDate!=NULL) ? $set_wdToDate : getNowDateFw2();
?>
<table border="0">
<tr bgcolor="<?php echo $rowCfg->cfgBgClSwapTr;?>">
<td height="22"><font size="2"><b>аё аёІаё„аёЃаёІаёЈаёЁаё¶аёЃаё©аёІ</b></font></td>
<td><font size="2">1</font></td>
</tr>
<tr>
<td height="22" width="40%"><font size="2"><b>วันที่เริ่มต้นภาคการศึกษา</b></font></td>
<td width="60%"><font size="2"><?php echo abbreDate2($rowTmc->tmcFrDate);?></font>
<input type="text" name="firstDate" value="<?php echo splitDateDb2($rowTmc->tmcFrDate, "/");?>">
<input type="text" name="lastDate" value="<?php echo splitDateDb2($rowTmc->tmcToDate, "/");?>"></td>
</tr>
<tr bgcolor="<?php echo $rowCfg->cfgBgClSwapTr;?>">
<td><font size="2"><b>วันที่เริ่มต้น</b></font></td>
<td><script>DateInput('wdFrDate', true, 'DD/MM/YYYY','27/10/2006');</script></td>
</tr>
</table>
|