Viewing file: showSelectaddDocNews.php (1.36 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php if($showajax=="1"){ header("content-type: application/x-javascript; charset=TIS-620"); include_once("../../class/clsConnection.php"); include_once("../../class/clsDB.php"); include_once "../global.php"; include_once "../class/clsdocNews.php"; include_once "../link/function.php"; $odN = new docNews($oC); $odN2 = new docNews($oC); } include_once "includefile.php"; ?> <table width="100%" align=center border="0"> <? $odN->SearchByNewsmontheYearDate($monthe,th2a($searchYear)); while($odN->GetRecord()){ ?> <tr><td width="91%"><? echo a2th($odN->newsSubject); ?></td><td width="9%"> </td></tr> <tr><td align=right><table width=95%><tr><td><? echo a2th($odN->newsDetail); ?></td></tr></table></td><td> </td></tr> <tr><td align="right"><b>ประกาศโดย :: </b><? echo a2th($odN->postName); ?></td><td> </td></tr> <tr><td align="right" ><? list($DocD,$DocT) = preg_split('[ ]',$odN->postDate); echo abbreDate2($DocD,'/')." ".a2th($DocT);?></td> <td align="center"><a href="addDocNews.php?dnId=<? echo $odN->dnId;?>&edit=1"><img src="../picture/textedit.gif" border="0" title="แก้ไข" style="cursor:pointer;"></a> <img src="../picture/delete.gif" border="0" title="ลบ" onClick="return checkDelete('<? echo $odN->dnId;?>')" style="cursor:pointer;"></td></tr> <tr><td align="center" colspan="2"> </td></tr> <? } ?> </table>
|