X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/a9fac1f063b46155ff61805cffcadc848402612e..ea90b321a4b3768028d841b307c362af97a5e6e1:/misc/server-lookup-misc.php diff --git a/misc/server-lookup-misc.php b/misc/server-lookup-misc.php index f17f7c2..8902ac7 100644 --- a/misc/server-lookup-misc.php +++ b/misc/server-lookup-misc.php @@ -3,16 +3,15 @@ function generate_html_servermodes($server) { - include UPATH . "/Classes/class-cmodes.php"; ?> + server->features->chanmodes as $set) { if (!$set) @@ -24,6 +23,7 @@ function generate_html_servermodes($server) ?> + server->uplink)) ? $rpc->server()->get($server->server->uplink) : "None"; ?> - + @@ -116,6 +116,259 @@ function generate_html_serverinfo($server) server->features->usermodes; + echo "
NameMode Description Requires
Uplink id)."\">".htmlspecialchars($server->server->uplink).""; ?>id)."\">".htmlspecialchars($server->server->uplink).""; ?>
User count server->num_users); ?>
"; + for ($i=0; ($mode = (isset($modes[$i])) ? $modes[$i] : NULL); $i++) + { + + if ($mode == "o") + { + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "; +} + +function generate_html_extserverinfo($server) +{ + ?> +
Oper + User is an IRC Operator. +
Service Bot + User is a Services Bot. +
DeafUser is ignoring channel messages.
InvisibleNot shown in /WHO searches.
Private channelsChannels hidden in /WHOIS outputs.
Registered NickUser is using a registered nick.
Server NoticesUser is receiving server notices.
Virtual HostUsing a custom hostmask.
WallopsListening to /WALLOPS notices from IRC Operators.
HostmaskUsing a hostmask (hiding their IP from non-IRCops).
Secure + User is using a secure connection. +
Bot + User is marked as a Bot. +
PrivDeaf + User is rejecting incoming private messages. +
Filter + User is filtering Bad Words. +
Hide IRCop + User is hiding their IRCop status. +
Hide Idle + User is hiding their idle time. +
RegOnly Messages + User is only accepting private messages from registered users. +
Deny CTCPs + Denying CTCP requests. +
View /WHOIS + User is receiving notifications when someone does a /WHOIS on them. +
Deny Insecure Messages + User is only accepting messages from users using a secure connection. +
+ + + + + + + + + + + + + + + + + + + +
IPip); ?>
Boot timeserver->boot_time); ?>
U-Linedserver->ulined) ? "Yes" : "No"; ?>
Protocolserver->features->protocol); ?>
TLS + + + + + + + + + +
Cert Fingerprint".htmlspecialchars($server->tls->certfp).""; ?>
TLS Cipher".htmlspecialchars($server->tls->cipher).""; ?>
+
+ $value) + { + if ($key > $biggest) + $biggest = $key; + } + if (!$biggest) + { + Message::Fail("Could not get latest version of UnrealIRCd. Please check again later."); + return NULL; + } + return $arr[$biggest]['Stable']['version']; } \ No newline at end of file