='102'"); } redirect(FUSION_SELF.$aidlink); } if (isset($_POST['update_admin'])) { if (!isNum($user_id) || $user_id == "1") fallback(FUSION_SELF.$aidlink); if (isset($_POST['rights'])) { $user_rights = ""; for ($i = 0;$i < count($_POST['rights']);$i++) { $user_rights .= stripinput($_POST['rights'][$i]); if ($i != (count($_POST['rights'])-1)) $user_rights .= "."; } $result = dbquery("UPDATE ".$db_prefix."users SET user_rights='$user_rights' WHERE user_id='$user_id' AND user_level>='102'"); } else { $result = dbquery("UPDATE ".$db_prefix."users SET user_rights='' WHERE user_id='$user_id' AND user_level>='102'"); } redirect(FUSION_SELF.$aidlink); } $i = 0; opentable($locale['400']); $result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_level>='102' ORDER BY user_level DESC, user_name"); echo "
".$locale['401']." | ".$locale['402']." | ".$locale['403']." |
".$data['user_name']." | ".getuserlevel($data['user_level'])." | \n"; if ($data['user_level'] == "103" && $userdata['user_id'] == "1") { $can_edit = true; } elseif ($data['user_level'] != "103") { $can_edit = true; } else { $can_edit = false; } if ($can_edit == true && $data['user_id'] != "1") { echo "".$locale['406']." |\n"; echo "".$locale['407']."\n"; } echo " | \n
\n | \n