input->clean_array_gpc('r', array('redirect' => TYPE_NOHTML)); # Not sure where this comes from if (!empty($vbulletin->GPC['redirect'])) { define('CP_REDIRECT', $vbulletin->GPC['redirect']); print_stop_message('redirecting_please_wait'); } // ############################################################################# // ############################### LOG OUT OF CP ############################### // ############################################################################# if ($_REQUEST['do'] == 'cplogout') { vbsetcookie('cpsession', '', false, true, true); $db->query_write("DELETE FROM " . TABLE_PREFIX . "cpsession WHERE userid = " . $vbulletin->userinfo['userid'] . " AND hash = '" . $db->escape_string($vbulletin->GPC[COOKIE_PREFIX . 'cpsession']) . "'"); if (!empty($vbulletin->session->vars['sessionurl_js'])) { exec_header_redirect('index.php?' . $vbulletin->session->vars['sessionurl_js']); } else { exec_header_redirect('index.php'); } } if (empty($_REQUEST['do'])) { $_REQUEST['do'] = 'frames'; } if ($_REQUEST['do'] == 'frames') { $vbulletin->input->clean_array_gpc('r', array( 'loc' => TYPE_NOHTML )); $navframe = '\n"; $headframe = '\n"; $mainframe = '\n"; ?> <?php echo $vbulletin->options['bbtitle']; ?> <?php echo $vbphrase['moderator_control_panel']; ?> <body> <p><?php echo $vbphrase['no_frames_support']; ?></p> \n"; // ************************************************* define('NO_CP_COPYRIGHT', true); unset($DEVDEBUG); print_cp_footer(); } /*======================================================================*\ || #################################################################### || # Downloaded: 17:29, Tue Nov 25th 2008 || # CVS: $RCSfile$ - $Revision: 27706 $ || #################################################################### \*======================================================================*/ ?>