if ($_REQUEST['do'] == 'form') { require_once("includes/adminfunctions.php"); $userid = 1; print_form_header('misc', 'banned&u=' . $userid); print_table_header("Ban a User"); print_label_row("Ban: " . $username); print_select_row("Ban Length", 'banLength', array(24 => "1 Day", 48 => "2 Days", 72 => "3 Days", 168 => "1 Week", 336 => "2 Weeks", 720 => "1 Month", -1 => "Permanently"), $vbulletin->GPC['userid']); print_input_row("Ban Reason:", 'banreason'); print_submit_row("Ban"); exit; } if (strpos($_GET['do'], 'banned') === 0) { echo "banned userid=" . $_REQUEST['userid'] . "<BR />\n"; print_r($_GET); exit; }