public function absolutePreProcessing(){ $db = _DB::_Connect(); $action = _FCORE::IsSetPostDefault(ACTION_GO, false); if ($action){ $logID = _FCORE::IsSetPostDefault(LOGINLOG_LOGID, false); if ($logID){ try { DB_LOGINLOG::_DeleteLoginLog($db, $logID); $this->crossInfo[RESULTS] = "Successfully Deleted Log"; }catch(Exception $e){ $this->crossInfo[RESULTS] = "Failed To Delete Log"; } } } $this->crossInfo[_ADMINPAGE::LOGIN_LOGS_START] = _FCORE::IsSetGetDefault(_ADMINPAGE::LOGIN_LOGS_START, 0); $this->crossInfo[_ADMINPAGE::LOGIN_LOGS_AMOUNT] = _FCORE::IsSetGetDefault(_ADMINPAGE::LOGIN_LOGS_AMOUNT, 50); $this->crossInfo[_ADMINPAGE::LOGIN_LOGS] = DB_LOGINLOG::_GetLoginLogList($db, $this->crossInfo[_ADMINPAGE::LOGIN_LOGS_START], $this->crossInfo[_ADMINPAGE::LOGIN_LOGS_AMOUNT]); $db->disconnect(); }
?> <div id="text"> Access Denied </div> <?php } protected function thisPageStyle(){ } protected function thisPagePreProcessing(){ } public function trigger($data = null){ $this->EchoBaseLayout(); } } $thiserror = _FCORE::IsSetGetDefault(ERROR_PAGE, false); if ($thiserror){ switch($thiserror){ case ERROR_UNEXPECTEDERROR: $thiserror = new error_UnexpectedError(); break; case ERROR_MUSTBELOGGEDIN: $thiserror = new error_MustBeLoggedIn(); break; case ERROR_ACCESSDENIED: $thiserror = new error_AccessDenied(); break; case ERROR_UNDERCONSTRUCTION: $thiserror = new error_UnderConstruction(); break; case ERROR_UNKNOWNACTION: