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("../class/clsTable.php"); include_once("../class/clsForm.php"); //============================================================================ function pageHeader(){ global $oU; echo "\n"; echo "\n"; echo "O]O\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"; 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"; echo "\n"; echo "\n"; echo "\n"; 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"; } //////////////////////////////////////////// function pageFooter(){ echo "
Programmed by Wittawas Puntumchinda
Department of Computer Scince
Faculty of Science, Burapha University
2005.
\n"; echo "\n"; echo "\n"; ob_end_flush(); } ?>