X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/62d4ea03f96d19a718a104bfec4fa7a583341b12..ea90b321a4b3768028d841b307c362af97a5e6e1:/misc/user-lookup-misc.php diff --git a/misc/user-lookup-misc.php b/misc/user-lookup-misc.php index 7bc997c..27fc7b1 100644 --- a/misc/user-lookup-misc.php +++ b/misc/user-lookup-misc.php @@ -2,46 +2,51 @@ function generate_html_whois($user) { + global $rpc; ?> - +
- + - - + + - + - - + - + - + - - + server()->get($user->user->servername); ?> + + + - + @@ -54,7 +59,7 @@ function generate_html_usersettings($user) { ?> -
Nickname; ?>name); ?>
UIDid; ?>User ID (UID)id); ?>
Real Hosthostname; ?>hostname); ?>
IPip." "; + ip); ?> + geoip->country_code)) ? strtolower($user->geoip->country_code) : "") { - ?> + ip"); ?>">
Identuser->username; ?>user->username); ?>
GECOS / Real Nameuser->realname; ?>user->realname); ?>
Virtual Hostuser->vhost)) ? $user->user->vhost : ""; ?>user->vhost)) ? htmlspecialchars($user->user->vhost) : ""; ?>
Connected touser->servername; ?>id"; ?>">user->servername); ?>
Logged in asuser->account)) ? $user->user->account : ""; ?>user->account)) ? "user->account)."\">".htmlspecialchars($user->user->account)."" : ""; ?>
+
user->modes[$i])) ? $user->user->modes[$i] : NULL); $i++) @@ -65,15 +70,18 @@ function generate_html_usersettings($user) ?> -
Oper - + @@ -85,7 +93,7 @@ function generate_html_usersettings($user) ?> - @@ -96,7 +104,7 @@ function generate_html_usersettings($user) ?> - + - + - + - + - + - + - + - + -
+ - + - +
Oper Loginuser->operlogin; ?>user->operlogin)) ? $user->user->operlogin : ""; + echo htmlspecialchars($operlogin); + ?>
Oper Classuser->operclass)) ? "".$user->user->operclass."" : "None"; ?>user->operclass)) ? "".htmlspecialchars($user->user->operclass)."" : "None"; ?>
Service Bot + This user is a Services Bot.
DeafUser is ignoring channel messages.User is ignoring channel messages.
InvisibleNot shown in /WHO searches.Not shown in /WHO searches.
Private channelsChannels hidden in /WHOIS outputs.Channels hidden in /WHOIS outputs.
Registered NickThis user is using a registered nick.This user is using a registered nick.
Server NoticesThis user is receiving server notices.This user is receiving server notices.
Virtual HostUsing a custom hostmaskUsing a custom hostmask
WallopsListening to /WALLOPS notices from IRC Operators.Listening to /WALLOPS notices from IRC Operators.
HostmaskUsing a hostmask (hiding their IP from non-IRCops).Using a hostmask (hiding their IP from non-IRCops).
Secure - + @@ -290,4 +301,69 @@ function generate_html_usersettings($user)
+ - + - +
Ciphertls->cipher; ?>tls->cipher)) ? $user->tls->cipher : ""; + echo htmlspecialchars($cipher); + ?>
Cert Fingerprinttls->certfp)) ? "".$user->tls->certfp."" : "None"; ?>tls->certfp)) ? "".htmlspecialchars($user->tls->certfp)."" : "None"; ?>
+ + + + + + + + user->channels as $chan) + { + ?> + + + + + + +
+ Channel + + Status +
name)."\">$chan->name"; ?> + + level[$i]); $i++) + { + ?>
level[$i] == "v") + { + ?>Voicelevel[$i] == "h") + { + ?>Half-Oplevel[$i] == "o") + { + ?>
Operator
level[$i] == "a") + { + ?>Adminlevel[$i] == "q") + { + ?>Ownerlevel[$i] == "Y") + { + ?>OJOIN
+
+ +