diff -r 5e1f1e916419 -r 98bbc533541c punbb/misc.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/punbb/misc.php Sun Apr 06 00:28:50 2008 -0400 @@ -0,0 +1,490 @@ + $_ ) +{ + $$key =& $GLOBALS[$key]; +} + +($hook = get_hook('mi_start')) ? eval($hook) : null; + +// Load the misc.php language file +require PUN_ROOT.'lang/'.$pun_user['language'].'/misc.php'; + + +$action = isset($_GET['action']) ? $_GET['action'] : null; + + +// Show the forum rules? +if ($action == 'rules') +{ + if ($pun_config['o_rules'] == '0') + message($lang_common['Bad request']); + + // Setup breadcrumbs + $pun_page['crumbs'] = array( + array($pun_config['o_board_title'], pun_link($pun_url['index'])), + $lang_common['Rules'] + ); + + ($hook = get_hook('mi_rules_pre_header_load')) ? eval($hook) : null; + + define('PUN_PAGE', 'rules'); + require PUN_ROOT.'header.php'; + +?> +
'.$lang_common['Required'].'') ?>
+'.$lang_common['Required'].'') ?>
+