Viewing file: showlinedocTable2.php (2.57 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 "../link/function.php"; include_once "../link/functionshow.php"; include_once "funct.php"; include_once "../class/clsDocuments.php"; include_once "../class/clsDocReceiveSend.php"; include_once "../class/clsDocLineConfig.php"; include_once "../class/clsDocLinePosition.php"; include_once "../class/clsPerson.php"; include_once "../class/clsDepartment.php"; include_once "getPrefix.php";
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);
$oDoc = new Documents($oC); $oDoc1 = new Documents($oC); $oRs = new DocReceiveSend($oC); $oRs5 = new DocReceiveSend($oC); $oDlp = new docLinePosition($oC); $oDlc = new DocLineConfig($oC); $oPS = new person($oC); $oDP = new Department($oC); $oDoc->SearchByKey($searchDoc); $oDoc->GetRecord(); ?> <html> <head> <title>ตรวจสอบเส้นทางการเกษียณหนังสือ</title> <meta http-equiv="Content-Type" content="text/html; charset=tis-620"> <link href="../source/style.css" rel="stylesheet" type="text/css"> </head> <body><br> <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_2"];?>"> <strong><img src="../picture/map.gif" border="0" > ตรวจสอบเส้นทางการเกษียณหนังสือ </strong> </font> <table border="0" align="center" width="98%"> <tr><td align="left"><font size="2"> <strong>ที่หนังสือ : </strong> <? if($oDoc->DocNo!=""){ echo $oDoc->DocNo; } ?></font></td> </tr> <tr><td align="left"><font size="2"> <strong>เรื่อง : </strong> <? if($oDoc->DocSubject!=""){ echo $oDoc->DocSubject; } ?></font></td></tr> <tr><td><hr color="#008bdc"></td></tr> </table> <? $oRs->SearchByDocIDDsID3($searchDoc); if($oRs->GetRecord()=="0"){ //---------------------------------- $oDlc->SearchByKey($oDoc->DlcID); $oDlc->GetRecord(); $oDlp->SearchByKey($oDlc->DlpID); $oDlp->GetRecord(); $oPS->SearchByKey($oDoc->DocUserCreate); $oPS->GetRecord(); echo '<table width="95%" border="0" align=center>'; echo "<img src=\"../picture/reg.png\" title=\"\" border=\"0\" >"; echo " <strong>".$oDlp->DlpName." ".$oDP->SearchDeptName($oDlc->deptId)." </strong> <font color=\"#000099\">".GetPrefix($oPS->prefixId).$oPS->fName." ".$oPS->lName."</font><br><br>"; showSignSendDoc($searchDoc); echo '</table>'; //------------------------------------- } showsteplinedoc2($searchDoc,$tab); ?> </body> </html>
|