diff -r 000000000000 -r f9ffdbd96607 punbb/footer.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/punbb/footer.php Wed Jul 11 21:01:48 2007 -0400 @@ -0,0 +1,146 @@ +', $tpl_temp, $tpl_main); +ob_end_clean(); +// END SUBST - + + +// START SUBST - +ob_start(); + +?> +
+

+
+
+'."\n\t\t\t\t".'
'.$lang_common['Search links'].'
'."\n\t\t\t\t".'
'.$lang_common['Show recent posts'].'
'."\n"; + echo "\t\t\t\t".'
'.$lang_common['Show unanswered posts'].'
'."\n"; + + if ($pun_config['o_subscriptions'] == '1') + echo "\t\t\t\t".'
'.$lang_common['Show subscriptions'].'
'."\n"; + + echo "\t\t\t\t".'
'.$lang_common['Show your posts'].'
'."\n\t\t\t".''."\n"; + } + else + { + if ($pun_user['g_search'] == '1') + { + echo "\n\t\t\t".''."\n"; + } + } +} +else if ($footer_style == 'viewforum' || $footer_style == 'viewtopic') +{ + echo "\n\t\t\t".'
'."\n"; + + // Display the "Jump to" drop list + if ($pun_config['o_quickjump'] == '1') + { + // Load cached quickjump + @include PUN_ROOT.'cache/cache_quickjump_'.$pun_user['g_id'].'.php'; + if (!defined('PUN_QJ_LOADED')) + { + require_once PUN_ROOT.'include/cache.php'; + generate_quickjump_cache($pun_user['g_id']); + require PUN_ROOT.'cache/cache_quickjump_'.$pun_user['g_id'].'.php'; + } + } + + if ($footer_style == 'viewforum' && $is_admmod) + echo "\t\t\t".'

'.$lang_common['Moderate forum'].'

'."\n"; + else if ($footer_style == 'viewtopic' && $is_admmod) + { + echo "\t\t\t".'
'.$lang_topic['Mod controls'].'
'.$lang_common['Delete posts'].'
'."\n"; + echo "\t\t\t".'
'.$lang_common['Move topic'].'
'."\n"; + + if ($cur_topic['closed'] == '1') + echo "\t\t\t".'
'.$lang_common['Open topic'].'
'."\n"; + else + echo "\t\t\t".'
'.$lang_common['Close topic'].'
'."\n"; + + if ($cur_topic['sticky'] == '1') + echo "\t\t\t".'
'.$lang_common['Unstick topic'].'
'."\n"; + else + echo "\t\t\t".'
'.$lang_common['Stick topic'].'
'."\n"; + } + + echo "\t\t\t".'
'."\n"; +} + +?> +

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

+[ Generated in '.$time_diff.' seconds, '.$db->get_num_queries().' queries executed ]

'."\n"; +} + +?> +
+
+
+
+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);