Viewing file: printFormatDocNoHTML.php (2.67 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 "../link/function.php"; include_once "../class/clsDocType.php"; include_once "../class/clsRunningDoc.php"; include_once "../class/clsSysConfig.php"; include_once "../link/keyThai.php";
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);
$oDP = new Department($oC); $oDt = new doctype($oC); $oRd = new runningdoc($oC); $oSys = new sysConfig($oC);
$maxgroup=$oDP->SearchMaxDocGroup(); $oSys->SearchByKey($free); $oSys->GetRecord(); $InputThai=$oSys->SearchByInputThai(); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=tis-620"> <link href="../source/style.css" rel="stylesheet" type="text/css"> </head> <title>รายงานที่หนังสือของหน่วยงานและรูปแบบ</title> <body> <br> <table width="95%" align="center"> <tr> <td align="center"><b>รายงานที่หนังสือของหน่วยงานและรูปแบบ</b></td> </tr> <tr><td> <table width="90%" height="22" border="0" align="center"><tr> </tr><tr><td> <strong>ที่หนังสือขององค์กร</strong> <? echo a2th($oSys->sysDocNo); ?></td></tr> </table> <br> <table width="90%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" style="border-collapse:collapse"> <tr height="22"> <td width="36%" align="center"><font size="2"><strong>ชนิดหนังสือ</strong></font></td> <td width="27%" align="center"><font size="2"><strong>รูปแบบที่หนังสือส่ง<br></strong></font></td> </tr> <? $oDt->RSdoctype(); while($oDt->GetRecord()){ if($oDt->DtP=="1"){ echo "<tr height=22><td colspan=2 align=\"left\"> "; if($oDt->DtPDtID=="0"){ echo "<strong>"; }else{ echo " - "; } echo $oDt->DtName; if($oDt->DtPDtID=="0"){ echo "<strong></td></tr>"; } }else{ ?> <tr height=22> <td align="left"> <? if($oDt->DtPDtID=="0"){ echo "<strong>"; }else{ echo " - "; } echo $oDt->DtName; if($oDt->DtPDtID=="0"){ echo "<strong>"; } ?></td> <td align="center"><? echo $oDt->sendNoPrefix; ?></td> </tr> <? } //show } //while ?> </table> </td> </tr> </tr> <tr><td> </td></tr> <tr> <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">วันที่พิมพ์ : <?php echo abbreDate2((date('Y')+543).'-'.date('m').'-'.date('d')).' '.a2th(date('H:i:s'));?></font></td> </tr> </table> </body> </html>
|