loadModule(); /* make sure the account is active and ok */ require_once("class/AccountStatus.php"); $status = new AccountStatus(); $status->checkStatus(); /* security measures */ secureEnvironment(); /* include the page itself */ if (file_exists(TEMPLATEPATH ."/"."functions.php")) require_once(TEMPLATEPATH ."/"."functions.php"); if (!file_exists(TEMPLATEPATH ."/".$manager->pageFile)) require_once(TEMPLATEPATH ."/"."index.php"); else require_once(TEMPLATEPATH ."/".$manager->pageFile); if (!$includeStatsFlag) { includeStats(); } //include debug require_once("work/debug.php"); exit(); ?>