//Creates object for global class file $hldGlobal = new clsGlobal($hdlDb); $intUCheck = $hldGlobal->fnUserCheckTemp($_SESSION["UID"]); if ($intUCheck) { $hldGlobal->fnInActiveUser($_SESSION["UID"]); $strLogOut = SITE_NAME . "log/1/login.htm"; header("Location:{$strLogOut}"); } //Creates the object for sigma template. $hdlTpl =& new HTML_Template_Sigma(DIR_TEMPLATE, DIR_TEMPLATE . "/prepared"); //Loads index template file $hdlTpl->loadTemplateFile("quickreview.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("Quick Review", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("quick_review", $arrMpage); //Fetches left menu $hdlTpl->setVariable("metatag", $strMetatag); //Assigns Metatag $hdlTpl->setVariable("header", $strHeader); //Assigns header $hdlTpl->setVariable("footer", $strFooter); //Assigns footer $hdlTpl->setVariable("menu", $strLmenu); //Assigns left menu $strSearch = $hldGlobal->fnGetSearch($_POST["search1"], "Quick Review", "quickreview", "quick_review"); $hdlTpl->setVariable("search", $strSearch);