<?php// ####################### SET PHP ENVIRONMENT ###########################error_reporting(E_ALL & ~E_NOTICE);// #################### DEFINE IMPORTANT CONSTANTS #######################define('NO_REGISTER_GLOBALS', 1);define('GET_EDIT_TEMPLATES', true);define('THIS_SCRIPT', 'info');// ################### PRE-CACHE TEMPLATES AND DATA ######################// get special phrase groups$phrasegroups = array();// get special data templates from the datastore$specialtemplates = array();// pre-cache templates used by all actions$globaltemplates = array( 'navbar',);// pre-cache templates used by specific actions$actiontemplates = array();// ######################### REQUIRE BACK-END ############################require_once('./global.php');// ################### INITIALIZE ######################$ver = '1.0'; // version// ##################### MAIN SCRIPT #########################if(empty($_REQUEST['do']) OR ($_REQUEST['do'] == '')){ $_REQUEST['do'] = 'main';}// main sectionif($_REQUEST['do'] == 'main'){ // build navbar $navbits = array(); $navbits[''] = 'vBInfo'; $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('vBInfo') . '");');}// view Rulesif($_REQUEST['do'] == 'rules'){ // build navbar $navbits = array(); $navbits['?' . $vbulletin->session->vars['sessionurl'] . ""] = $vbphrase['vbinfo']; $navbits[''] = 'User Rules'; $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('vBInfo_Rules') . '");');}?>
<?php// ####################### SET PHP ENVIRONMENT ###########################error_reporting(E_ALL & ~E_NOTICE);// #################### DEFINE IMPORTANT CONSTANTS #######################define('NO_REGISTER_GLOBALS', 1);define('GET_EDIT_TEMPLATES', true);define('THIS_SCRIPT', 'info');// ################### PRE-CACHE TEMPLATES AND DATA ######################// get special phrase groups$phrasegroups = array();// get special data templates from the datastore$specialtemplates = array();// pre-cache templates used by all actions$globaltemplates = array( 'navbar',);// pre-cache templates used by specific actions$actiontemplates = array();// ######################### REQUIRE BACK-END ############################require_once('./global.php');// ################### INITIALIZE ######################$ver = '1.0'; // version// ##################### MAIN SCRIPT #########################// main sectionif(empty($_REQUEST['do']){ // build navbar $navbits = array(); $navbits[''] = 'vBInfo'; $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('vBInfo') . '");');}// view Rulesif($_REQUEST['do'] == 'rules'){ // build navbar $navbits = array(); $navbits['?' . $vbulletin->session->vars['sessionurl'] . ""] = $vbphrase['vbinfo']; $navbits[''] = 'User Rules'; $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('vBInfo_Rules') . '");');}?>