Lang = ($lang=="") ? "th" : $GLOBALS['sysLang']; //querystring when select language if ($StID<>"") $oU->StID = $StID; //querystring when selectmenu; if ($GpID<>"") $oU->GpID = $GpID; //querystring when selectmenu; if ($MnID<>"") $oU->MnID = $MnID; //querystring when selectmenu; $oU->GetRightsByMenu(); }else { $sessionID = session_id(); if ($oU->SessionID<>$sessionID){ if ($_POST['refFromLogoutPage']==""){ echo ""; header("Location: logout.php"); exit(); } } } include_once("./classes/clsTable.php"); include_once("./classes/clsForm.php"); //============================================================================ function pageHeader(){ global $oU; echo "\n"; echo "\n"; echo "SYSTEM\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; //==Banner at top.=========================== //echo ""; //echo "\n"; //==menu================================ echo "\n"; echo "\n"; //==user info============================= echo "\n"; echo "\n"; //============================================================================ //start working in this td //============================================================================ echo "\n"; echo "
\n"; //include $GLOBALS["sysUmPath"]."/menu.php?UsID=".$oU->userID."&StID=".$oU->StID."&"."GpID=".$oU->GpID."&WgID=".$oU->WgID; $UsID=$oU->userID; $StID=$oU->StID; $GpID=$oU->GpID; $WgID=$oU->WgID; include("menu.php"); echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
". "เข้าสู่ระบบวันที่  ".$GLOBALS["sysDate"]." ". "   ". $oU->userName."  ". ""; if ($oU->userLogin=="") echo ""; else echo "�͡�ҡ�к�"; echo " 
\n"; echo "
\n"; } ?>