![]() |
jeujjeujjeujjeujjeuj oooh ooooh ooooooh
![]() |
Copyright=kassakassa voor den Edwaar
|
![]() |
Citaat:
|
Citaat:
geld en stront |
Citaat:
|
[php]// ################################################## ###########################
// lift a ban if ($_REQUEST['do'] == 'liftban') { $vbulletin->input->clean_array_gpc('r', array( 'userid' => TYPE_INT )); if (!$canunbanuser) { print_stop_message('no_permission_un_ban_users'); } $user = $db->query_first(" SELECT user.*, userban.usergroupid, userban.displaygroupid, userban.customtitle, userban.usertitle, IF(userban.userid, 1, 0) AS banrecord, IF(usergroup.genericoptions & " . $vbulletin->bf_ugp_genericoptions['isnotbannedgroup'] . ", 0, 1) AS isnotbannedgroup FROM " . TABLE_PREFIX . "user AS user INNER JOIN " . TABLE_PREFIX . "usergroup AS usergroup ON(usergroup.usergroupid = user.usergroupid) LEFT JOIN " . TABLE_PREFIX . "userban AS userban ON(userban.userid = user.userid) WHERE user.userid = " . $vbulletin->GPC['userid'] . " "); // check we got a record back and that the returned user is in a banned group if (!$user OR !$user['isnotbannedgroup']) { print_stop_message('invalid_user_specified'); } if (is_unalterable_user($user['userid'])) { print_stop_message('user_is_protected_from_alterat ion_by_undeletableusers_var'); } // show confirmation message print_form_header('banning', 'doliftban'); construct_hidden_code('userid', $vbulletin->GPC['userid']); print_table_header($vbphrase['lift_ban']); print_description_row(construct_phrase($vbphrase['confirm_ban_lift_on_x'], $user['username'])); print_submit_row($vbphrase['yes'], '', 2, $vbphrase['no']); } [/php] |
Citaat:
|
Citaat:
|
Alle tijden zijn GMT +1. Het is nu 20:23. |
Forumsoftware: vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content copyright ©2002 - 2020, Politics.be