$mtime = $mtime[1] + $mtime[0]; $starttime = $mtime; } function stop() { global $starttime; $mtime = microtime(); $mtime = explode(' ', $mtime); $mtime = $mtime[1] + $mtime[0]; $endtime = $mtime; $totaltime = round($endtime - $starttime, 5); return $totaltime; } } $timer = new microTimer(); $timer->start(); include 'includes/session.php'; @header("Content-type: text/html; charset=utf-8;"); ob_start("ob_gzhandler"); define('AURACMS_MODULE', true); define('AURACMS_CONTENT', true); define('AURACMS_admin', true); include "includes/config.php"; include "includes/mysql.php"; include "includes/configsitus.php"; include "includes/template.php"; global $judul_situs, $theme; $old_modules = !isset($old_modules) ? null : $old_modules; $_GET['aksi'] = !isset($_GET['aksi']) ? null : $_GET['aksi']; $cek = ''; if (!cek_login()) {
if ($_SESSION['user_mobile'] == 1) { if ($_GET['go'] == 'messages') { $_GET['go'] = 'im'; } $config['temp'] = 'mobile'; if ($_GET['go'] == '' and $_GET['act'] != 'logout') { header("Location: /?go=main"); exit; } } $tpl = new mozg_template(); $tpl->dir = ROOT_DIR . '/templates/' . $config['temp']; define('TEMPLATE_DIR', $tpl->dir); $_DOCUMENT_DATE = false; $Timer = new microTimer(); $Timer->start(); $server_time = intval($_SERVER['REQUEST_TIME']); include ENGINE_DIR . '/modules/login.php'; if ($_GET['act'] == 'newpass') { include ENGINE_DIR . "/modules/settings.php"; } if ($config['offline'] == "yes") { include ENGINE_DIR . '/modules/offline.php'; } if ($user_info['user_delet']) { include ENGINE_DIR . '/modules/profile_delet.php'; } if ($user_info['user_emailed'] == 1) { include ENGINE_DIR . '/modules/profile_disabled.php'; } if ($user_info['user_banpass'] == 1) {