X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/2751c89de179262a3a8f068df53daad5512c0dab..53c3262154b4828643ec075a42c30b6decb01377:/users/index.php?ds=inline
diff --git a/users/index.php b/users/index.php
index ceea6e9..c5ea05d 100644
--- a/users/index.php
+++ b/users/index.php
@@ -1,7 +1,6 @@
user()->getAll();
?>
Users Overview
@@ -107,127 +105,24 @@ Click on a username to view more information.
?>
-
-
-
+
+
+
+
- /* Some basic filtering for IP */
- if (isset($_POST['uf_ip']) && strlen($_POST['uf_ip']) &&
- strpos(strtolower($user->ip), strtolower($_POST['uf_ip'])) !== 0 &&
- strpos(strtolower($user->ip), strtolower($_POST['uf_ip'])) == false)
- continue;
-
- /* Some basic filtering for ACCOUNT */
- if (isset($_POST['uf_account']) && strlen($_POST['uf_account']) &&
- strtolower($user->user->account) !== strtolower($_POST['uf_account']))
- continue;
-
- /* Some basic filtering for SERVER */
- if (isset($_POST['uf_server']) && strlen($_POST['uf_server']) &&
- strpos(strtolower($user->user->servername), strtolower($_POST['uf_server'])) !== 0 &&
- strpos(strtolower($user->user->servername), strtolower($_POST['uf_server'])) == false)
- continue;
-
- /* Some basic filtering for OPER */
- if (isset($_POST['operonly']) &&
- (strpos($user->user->modes, "o") == false || strpos($user->user->modes,"S") !== false))
- continue;
-
- /* Some basic filtering for SERVICES */
- if (isset($_POST['servicesonly']) &&
- (strpos($user->user->modes,"S") == false))
- continue;
-
- echo "\nid\" value=\"$user->name\" class=\"userselector\">";
- echo " ";
- $isBot = (strpos($user->user->modes, "B") !== false) ? ' Bot ' : "";
- echo "id."\">$user->name$isBot ";
- echo "".(isset($user->geoip->country_code) ? ' '.$user->geoip->country_code : "")." ";
- echo "".htmlspecialchars($user->hostname)." (".($user->hostname == $user->ip ? 'the same' : htmlspecialchars($user->ip ?? "None")).") ";
- $account = (isset($user->user->account)) ? "user->account."\">".htmlspecialchars($user->user->account)." " : 'None ';
- echo "".$account." ";
- $modes = (isset($user->user->modes)) ? "+" . $user->user->modes : "";
- echo "".$modes." ";
- $oper = (isset($user->user->operlogin)) ? $user->user->operlogin." ".$user->user->operclass." " : "";
- if (!strlen($oper))
- $oper = (strpos($user->user->modes, "S") !== false) ? 'Services Bot ' : "";
- echo "".$oper." ";
-
- $secure = (isset($user->tls) || $user->hostname !== "localhost") ? "Secure " : "Insecure ";
- if (strpos($user->user->modes, "S") !== false)
- $secure = "";
- echo "".$secure." ";
- echo "id, 0, 3)."\">".$user->user->servername." ";
- echo "".$user->user->reputation." ";
- echo " ";
- $currentNumberUsers++;
- if (isset($user->user->account))
- $currentNumberUsersIdentified++;
- if (isset($user->geoip->country_code))
- array_push($registrationOfaAllFlags, $user->geoip->country_code);
- }
- $registrationOfaAllFlags = array_count_values($registrationOfaAllFlags);
- ?>
-
- =$currentNumberUsers?> connected users including =$currentNumberUsersIdentified?> identified and =($currentNumberUsers-$currentNumberUsersIdentified)?> not identified.
+
-