', $tpl_temp, $tpl_main); ob_end_clean(); // END SUBST - // START SUBST - ob_start(); ?>

'."\n"; if ($footer_style == 'viewforum') { echo "\t\t\t".'
'."\n"; echo "\t\t\t\t".'
'.$lang_forum['Mod controls'].'
'."\n"; echo "\t\t\t\t".'
'.$lang_common['Moderate forum'].'
'."\n"; echo "\t\t\t".'
'."\n"; } else if ($footer_style == 'viewtopic') { echo "\t\t\t".'
'."\n"; echo "\t\t\t\t".'
'.$lang_topic['Mod controls'].'
'."\n"; echo "\t\t\t\t".'
'.$lang_common['Moderate topic'].'
'."\n"; echo "\t\t\t\t".'
'.$lang_common['Move topic'].'
'."\n"; if ($cur_topic['closed'] == '1') echo "\t\t\t\t".'
'.$lang_common['Open topic'].'
'."\n"; else echo "\t\t\t\t".'
'.$lang_common['Close topic'].'
'."\n"; if ($cur_topic['sticky'] == '1') echo "\t\t\t\t".'
'.$lang_common['Unstick topic'].'
'."\n"; else echo "\t\t\t\t".'
'.$lang_common['Stick topic'].'
'."\n"; echo "\t\t\t".'
'."\n"; } echo "\t\t\t".'
'."\n\t\t".'
'."\n"; } ?>
'."\n"; // Display the "Jump to" drop list if ($pun_config['o_quickjump'] == '1') { // Load cached quick jump if (file_exists(FORUM_CACHE_DIR.'cache_quickjump_'.$pun_user['g_id'].'.php')) include FORUM_CACHE_DIR.'cache_quickjump_'.$pun_user['g_id'].'.php'; if (!defined('PUN_QJ_LOADED')) { if (!defined('FORUM_CACHE_FUNCTIONS_LOADED')) require PUN_ROOT.'include/cache.php'; generate_quickjump_cache($pun_user['g_id']); require FORUM_CACHE_DIR.'cache_quickjump_'.$pun_user['g_id'].'.php'; } } echo "\t\t\t".'
'."\n"; ?>
'.$lang_common['RSS active topics feed'].'

'."\n"; else if ($pun_config['o_feed_type'] == '2') echo "\t\t\t\t".''."\n"; } else if ($footer_style == 'viewforum') { if ($pun_config['o_feed_type'] == '1') echo "\t\t\t\t".''."\n"; else if ($pun_config['o_feed_type'] == '2') echo "\t\t\t\t".''."\n"; } else if ($footer_style == 'viewtopic') { if ($pun_config['o_feed_type'] == '1') echo "\t\t\t\t".''."\n"; else if ($pun_config['o_feed_type'] == '2') echo "\t\t\t\t".''."\n"; } ?>

FluxBB'.(($pun_config['o_show_version'] == '1') ? ' '.$pun_config['o_cur_version'] : '')) ?>

[ '; // Calculate script generation time $time_diff = sprintf('%.3f', get_microtime() - $pun_start); echo sprintf($lang_common['Querytime'], $time_diff, $db->get_num_queries()); if (function_exists('memory_get_usage')) { echo ' - '.sprintf($lang_common['Memory usage'], file_size(memory_get_usage())); if (function_exists('memory_get_peak_usage')) echo ' '.sprintf($lang_common['Peak usage'], file_size(memory_get_peak_usage())); } echo ' ]

'."\n"; } // End the transaction $db->end_transaction(); // Display executed queries (if enabled) if (defined('PUN_SHOW_QUERIES')) display_saved_queries(); $tpl_temp = trim(ob_get_contents()); $tpl_main = str_replace('', $tpl_temp, $tpl_main); ob_end_clean(); // END SUBST - // Close the db connection (and free up any result data) //$db->close(); // Spit out the page //exit($tpl_main); require "pun_integration.php"; ?>