AND dateline > " . iif($vbulletin->options['timeoutcontrolpanel'], intval(TIMENOW - $vbulletin->options['cookietimeout']), intval(TIMENOW - 3600)) ); if (!empty($cpsession)) { $db->shutdown_query(" UPDATE LOW_PRIORITY " . TABLE_PREFIX . "cpsession SET dateline = " . TIMENOW . " WHERE userid = " . $vbulletin->userinfo['userid'] . " AND hash = '" . $db->escape_string($vbulletin->GPC[COOKIE_PREFIX . 'cpsession']) . "' "); } } define('CP_SESSIONHASH', $cpsession['hash']); if ((!can_moderate() AND !can_moderate_calendar()) OR ($vbulletin->options['timeoutcontrolpanel'] AND !$vbulletin->session->vars['loggedin']) OR empty($vbulletin->GPC[COOKIE_PREFIX . 'cpsession']) OR $vbulletin->GPC[COOKIE_PREFIX . 'cpsession'] != $cpsession['hash'] OR empty($cpsession)) { print_cp_login(); } ($hook = vBulletinHook::fetch_hook('mod_global')) ? eval($hook) : false; /*======================================================================*\ || #################################################################### || # || # CVS: $RCSfile$ - $Revision: 33812 $ || #################################################################### \*======================================================================*/ ?>
build_datastore('noticecache', '', 1); } if (!$check['loadcache']) { update_loadavg(); } if (!$check['prefixcache']) { require_once DIR . '/includes/adminfunctions_prefix.php'; build_prefix_datastore(); } ($hook = vBulletinHook::fetch_hook('admin_global_datastore_check')) ? eval($hook) : false; // end auto-repair // ############################################################################# print_cp_login(); } else { if ($_POST['do'] and ADMINHASH != $vbulletin->GPC['adminhash']) { print_cp_login(true); } } if (file_exists(DIR . '/includes/version_vbulletin.php')) { include_once DIR . '/includes/version_vbulletin.php'; } if (defined('FILE_VERSION_VBULLETIN') and FILE_VERSION_VBULLETIN !== '') { define('ADMIN_VERSION_VBULLETIN', FILE_VERSION_VBULLETIN); } else { define('ADMIN_VERSION_VBULLETIN', $vbulletin->options['templateversion']); } ($hook = vBulletinHook::fetch_hook('admin_global')) ? eval($hook) : false; /*======================================================================*\ || #################################################################### || # Downloaded: 23:48, Wed Mar 24th 2010 || # CVS: $RCSfile$ - $Revision: 33812 $