|
Whoa! What the hell? I got all this crap at the top of the page when I clicked on this thread:
_WIDTH' => $win_sizes['win_main_width'], 'IM_ONLINE_HEIGHT' => $win_sizes['win_online_height'], 'IM_ONLINE_WIDTH' => $win_sizes['win_online_width'], 'SCRIPT_PATH' => $board_config['script_path'], 'U_IM_LAUNCH' => $phpbb_im_path . "imclient.$phpEx", 'U_IM_WO_LAUNCH' => $phpbb_im_path . "imclient.$phpEx?mode=online", 'L_IM_LAUNCH' => $lang['Launch_phpBB_IM'], */ // MOD: -END- // 'NAV_LINKS' => $nav_links_html) ); if ( $show_buttons == true ) { $template->assign_block_vars('forum_buttons', array()); // // Login box? // if ( !$userdata['session_logged_in'] ) { $template->assign_block_vars('switch_button_logged_out', array()); } else { $template->assign_block_vars('switch_button_logged_in', array()); } } // // Login box? // if (empty($close_login_box)) { if ( !$userdata['session_logged_in'] ) { $template->assign_block_vars('switch_user_logged_out', array()); } else { $template->assign_block_vars('switch_user_logged_in', array()); /* if ( !empty($userdata['user_popup_pm']) ) { $template->assign_block_vars('switch_enable_pm_popup', array()); } */ } } // header ('Cache-Control: no-cache, pre-check=0, post-check=0, max-age=0'); // Work around for "current" Apache 2 + PHP module which seems to not // cope with private cache control setting if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2')) { header ('Cache-Control: no-cache, pre-check=0, post-check=0, max-age=0'); } else { header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0'); } header ('Expires: ' . gmdate('D, d M Y H:i:s', $board_config['time_now']) . ' GMT'); header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); /* if (!( defined('IN_ARENA') || defined('IN_LINKLIST'))) { //-- mod : categories hierarchy -------------------------------------------------------------------- //-- add include_once(INCLUDE_DIR . 'mod_categories_hierarchy.php'); // get the nav sentence $nav_key = ''; if (isset($HTTP_POST_VARS[POST_CAT_URL]) || isset($HTTP_GET_VARS[POST_CAT_URL])) { $nav_key = POST_CAT_URL . ((isset($HTTP_POST_VARS[POST_CAT_URL])) ? intval($HTTP_POST_VARS[POST_CAT_URL]) : intval($HTTP_GET_VARS[POST_CAT_URL])); } if (isset($HTTP_POST_VARS[POST_FORUM_URL]) || isset($HTTP_GET_VARS[POST_FORUM_URL])) { $nav_key = POST_FORUM_URL . ((isset($HTTP_POST_VARS[POST_FORUM_URL])) ? intval($HTTP_POST_VARS[POST_FORUM_URL]) : intval($HTTP_GET_VARS[POST_FORUM_URL])); } if (isset($HTTP_POST_VARS[POS crying OPIC_URL]) || isset($HTTP_GET_VARS[POS crying OPIC_URL])) { $nav_key = POS crying OPIC_URL . ((isset($HTTP_POST_VARS[POS crying OPIC_URL])) ? intval($HTTP_POST_VARS[POS crying OPIC_URL]) : intval($HTTP_GET_VARS[POS crying OPIC_URL])); } if (isset($HTTP_POST_VARS[POST_POST_URL]) || isset($HTTP_GET_VARS[POST_POST_URL])) { $nav_key = POST_POST_URL . ((isset($HTTP_POST_VARS[POST_POST_URL])) ? intval($HTTP_POST_VARS[POST_POST_URL]) : intval($HTTP_GET_VARS[POST_POST_URL])); } if ( empty($nav_key) && (isset($HTTP_POST_VARS['selected_id']) || isset($HTTP_GET_VARS['selected_id'])) ) { $nav_key = isset($HTTP_GET_VARS['selected_id']) ? $HTTP_GET_VARS['selected_id'] : $HTTP_POST_VARS['selected_id']; } if (empty($nav_key)) $nav_key = 'Root'; $nav_cat_desc = make_cat_nav_tree($nav_key, $nav_pgm); if ($nav_cat_desc != '') $nav_cat_desc = $nav_separator . $nav_cat_desc; // send to template $template->assign_vars(array( 'SPACER' => $images['spacer'], 'NAV_SEPARATOR' => $nav_separator, 'NAV_CAT_DESC' => $nav_cat_desc, ) ); //-- fin mod : categories hierarchy ---------------------------------------------------------------- } */ $template->pparse('overall_header'); //////////////////////////////////////////////////////////////////////////////////// // include the subnavigation for specific pages //////////////////////////////////////////////////////////////////////////////////// // use the following to add the subnav. // define('SUB_NAVIGATION',$subnav); // // options are: 'profile','forum','guild' $subnav = false; switch (SUB_NAVIGATION) { case 'profile': { $subnav = true; $template->set_filenames( array('subnav'=>'subnav_profile.tpl') ); $template->assign_vars( array( 'L_EDITPROFILE' => append_sid('http://'.REGISTER_SERVER.'/profile/profile.php?mode=editprofile'), 'L_FRIENDSLIST' => append_sid('/profile/friendslist.php'), 'L_JOURNAL' => append_sid('http://www.gaiaonline.com/journal/index.php') ) ); break; } case 'viewprofile': { $subnav = true; $template->set_filenames( array('subnav'=>'subnav_viewprofile.tpl') ); $template->assign_vars( array( 'L_MEMBERLIST' => append_sid('/forum/memberlist.php'), 'L_FRIENDSLIST' => append_sid('/profile/friendslist.php'), 'L_JOURNAL' => append_sid('http://www.gaiaonline.com/journal/index.php') ) ); break; } case 'mail': { $subnav = true; $template->set_filenames( array('subnav'=>'subnav_mail.tpl') ); $template->assign_vars( array( 'L_INBOX' => append_sid("/profile/privmsg.php?folder=inbox"), 'L_SENTBOX' => append_sid("/profile/privmsg.php?folder=sentbox"), 'L_OUTBOX' => append_sid("/profile/privmsg.php?folder=outbox"), 'L_SAVEBOX' => append_sid("/profile/privmsg.php?folder=savebox") ) ); break; } case 'forum': { $subnav = true; $template->set_filenames( array('subnav'=>'subnav_forum.tpl') ); $template->assign_vars( array( 'L_MEMBERLIST' => append_sid('/forum/memberlist.php'), 'L_SEARCH' => append_sid('/forum/search.php'), 'L_THREAD' => append_sid('/profile/subscription.php') ) ); break; } default: { //echo " sub: ".SUB_NAVIGATION." "; break; } } // end switch ($session_page) if ($subnav == true) { $template->pparse('subnav'); } ?>
Anyway, I'm listening to My Boo- Usher and Alicia Keys
|
|