$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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("quizzes.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("Quizzes", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("quizzes", $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);
$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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);
$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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("news.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("News", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("", $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);
$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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("advisories.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("Advisories", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("advisory", $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);
$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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("showresult.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("Show Result", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("quizzes", $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);
$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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("moduledesc.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("Module Description", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("curriculum", $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);
$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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("caselibrary.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("Case Library", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("case_library", $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);
$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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("curriculum.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("Curriculum", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("curriculum", $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);
//Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("quizzes", $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 $hldGlobal->fnTrackUser("Quiz title", $_SESSION["MaInId"], $_GET["cid"]); $arrCourseName = $hldGlobal->fnFetchCourse($_GET["cid"]); $hdlTpl->setVariable("cname", $arrCourseName[0]["cname"]); //Assigns course name $arrQuizQuestion = $hldGlobal->fnGetQuizTitle($_GET["cid"]); if (is_array($arrQuizQuestion) && count($arrQuizQuestion) > 0) { $intCnt = 1; foreach ($arrQuizQuestion as $key => $value) { $hdlTpl->setVariable("qid", $value["id"]); //Assign qid $hdlTpl->setVariable("cid", $_GET["cid"]); //Assign cid $hdlTpl->setVariable("srno", $intCnt); //Assigns serial number $hdlTpl->setVariable("quiz_title", $value["quiz_title"]); //Assigns quiz title
$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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("editprofile.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("Edit Profile", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("", $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);
$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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("changepassword.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("Change Password", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("", $arrMpage); //Fetches left menu if ($_POST["submit"] == "Update Password") { $strErrormessage = ""; $intError = 1; if (trim($_POST["oldpass"]) == "") { $strErrormessage .= "Please enter old password<br>"; $intError = 0; }
$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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("innovation.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("Innovation", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("innovations", $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);
$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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("myaccount.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("Myaccount", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("", $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);
$hdlTpl->setVariable("menu", $strLmenu); //Assigns left menu if ($_POST["submit_ans"] == "Submit Answer") { if (is_array($_POST["opt"]) && count($_POST["opt"]) > 0) { $strUnique = $hldGlobal->generatePassword(); foreach ($_POST["opt"] as $key1 => $value1) { $sqlIns = "INSERT INTO tblQuizAnswer(id,qid,userid,option_id,module_id,quiz_title_id,course_id,quiz_date,attempted) VALUES('','" . $key1 . "','" . $_SESSION["UID"] . "','" . $value1 . "','" . $_POST["mid"] . "','" . $_POST["quiz_title_id"] . "','" . $_GET["cid"] . "','" . date("Y-m-d") . "','" . $strUnique . "')"; mysql_query($sqlIns); } $_SESSION["StRuNiQuE"] = $strUnique; $hldGlobal->fnStoreCorrectPercent($_GET["cid"], $_GET["qid"], $_POST["mid"], $_SESSION["UID"], $strUnique); $redirect = SITE_NAME . "showresult/" . $_GET["qid"] . "/" . $_POST["mid"] . ".htm"; header("Location:{$redirect}"); } } $hldGlobal->fnTrackUser("Take Quiz", $_SESSION["MaInId"], $_GET["cid"], $_GET["qid"]); $arrCourseName = $hldGlobal->fnFetchCourse($_GET["cid"]); $hdlTpl->setVariable("cname", $arrCourseName[0]["cname"]); //Assigns course name $arrQuizquestion = $hldGlobal->fnGetQuizQuestion($_GET["qid"]); if (is_array($arrQuizquestion) && count($arrQuizquestion) > 0) { $intCnt = 1; foreach ($arrQuizquestion as $key => $value) { $hdlTpl->setVariable("mid", $value["module_id"]); //Assign mid $hdlTpl->setVariable("quiz_title_id", $value["quiz_title_id"]); //Assign quiz title id $arrOption = $hldGlobal->fnFetchOption($value["id"]); $intCnt1 = count($arrOption); $strTab = ""; if ($intCnt1) {
$strRedirect = SITE_NAME . "login.htm"; header("Location:{$strRedirect}"); } //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("index.htm", TRUE, TRUE); $hldGlobal->fnTrackUser("Index", $_SESSION["MaInId"]); $strHeader = $hldGlobal->fnGetHeader(); //Fetches header template $strMetatag = $hldGlobal->fnMetaTag(); //Fetches Metatag template $strFooter = $hldGlobal->fnGetFooter(); //Fetches footer template $strLmenu = $hldGlobal->fnMenu("home", $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);