Viewing file: index2.php (3.13 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include_once "template.php"; showHeader(); 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";
$oC = new clsConnection($GLOBALS['DBHOST'], $GLOBALS['DBNAME_EOFFICE'], $GLOBALS['DBUSER_EOFFICE'], $GLOBALS['DBPASS_EOFFICE']);
$oDP = new Department($oC); $oDlc = new DocLineConfig($oC); $oDlp = new docLinePosition($oC);
//--------find groupID and systemID //session_register("GroupID"); //session_register("system_eokkID"); //session_register("DLCID"); //session_register("DLCIDSecond"); //session_register("DLCIDSECONDID");
if($__gp){ $_SESSION['GroupID']=$__gp; } if($__gp){ $_SESSION['system_eokkID']=$__ss; } if($dlcId){ $_SESSION['DLCID']=$dlcId; }
$_SESSION['DLCIDSECOND']=$dlcIdsecond; $_SESSION['DLCIDSECONDID']=$dlcIdsecondId;
//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> <iframe id="a" name="a" src="" style="width:$0px;height:0px;border:0"></iframe> <br><form name="ff" METHOD="POST" target="a"> <table width="750" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <fieldset> <legend><font size="4" color="<?php echo $GLOBALS["COLOR_FONT_7"];?>"><b>ยินดีต้อนรับ</b></font></legend> <label> <div align="right"> <font size="3" color="<?php echo $GLOBALS['COLOR_FONT_5'];?>" > <br><b><?php echo $oU->userLogin." : ".$oU->userName;?> </b></font><br> <img src="../picture/bg.gif" align="absmiddle" border="0" height="2" width="500"><br> <font size="3" color="#FFCC66"><b><?php echo $GLOBALS["SITENAME"];?></b><img src="../picture/v_eoffice.jpg"></font></div><br><br> <div align="right"> <? $oDlc->SearchByKey($_SESSION['DLCID']); $oDlc->GetRecord(); $oDlp->SearchByDlpID($oDlc->DlpID); $oDlp->GetRecord(); $oDP->SearchNameDeptByMaxdeptDate($oDlc->deptId); $oDP->GetRecord(); $system_eokkIDv=$_SESSION['system_eokkID']; ?> <font size="3"><strong><img src="../picture/arrow_down.gif" border="0"> ตำแหน่งงานที่เข้าใช้ระบบสารบรรณ</strong></font> <br><br> <img src="<? echo $_SYSICO_MINI[$system_eokkIDv]; ?>" border="0" align="absmiddle"> <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> </div> </label> </fieldset><br><? include("showDocNews.php");?> </td> </tr> </table>
</form> </body> </html> <?php showFooter(); ?> <script> function selectDocPosition(){ document.ff.submit(); } </script>
|