Viewing file: selectposition.php (1.55 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include_once "template.php"; include_once "../class/clsTable.php"; include_once "../class/clsDepartment.php"; include_once "../class/clsPerson.php"; include_once "../link/function.php"; include_once "../class/clsDocLinePosition.php"; include_once "../class/clsDocLineConfig.php"; include_once "../class/clsUmuser.php";
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);
$oDP = new Department($oC); $oDP2 = new Department($oC); $oDP3 = new Department($oC); $oPS = new person($oC); $oDlc = new DocLineConfig($oC); $oDlp = new docLinePosition($oC);
//echo 'DLCID='.$DLCID.'<br>'; //echo 'DLCIDSECOND='.$DLCIDSECOND.'<br>'; //echo 'DLCIDSECONDID='.$DLCIDSECONDID.'<br>'; ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=tis-620"> <link href="../source/style.css" rel="stylesheet" type="text/css"> </head> <body> <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center" style="border-collapse:collapse" bordercolor="#DADADA" ><tr> <? $oDlc->SearchByKey($_SESSION['DLCID']); $oDlc->GetRecord(); $oDlp->SearchByKey($oDlc->DlpID); $oDlp->GetRecord(); $oDP->SearchByKey($oDlc->deptId); $oDP->GetRecord(); ?> <td align="left" height="30"><img src="../picture/reg.png" border="0"><font color="<?php echo $GLOBALS["COLOR_FONT_2"]; ?>" size="3"> <strong><? echo "".$oDlp->DlpName." (".$oDP->deptName.")"; ?></strong><? if($_SESSION['DLCIDSECOND']=="Y"){ echo " <font color=#FF6600>[¼ÙéªèÇÂ]</font>"; }?></font></td> </tr></table> </body> </html>
|