X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/2697173721db10cd600539beed661a06bb9a3f2b..c16c239b4fd25ec9ecf291ad3901facd2d94b2d7:/index.php diff --git a/index.php b/index.php index 7b9bc7c..209abd0 100644 --- a/index.php +++ b/index.php @@ -1,299 +1,327 @@ - - - - -
-

UnrealIRCd Administration Panel


+stats()->get(); +?> +
+

Network Overview

+⚪LIVE
- -
- Overview - Users - Channels - Server Bans - Spamfilter - News -
+ +
- if (!empty($_POST['tklch'])) - foreach ($_POST as $key => $value) { - foreach ($value as $tok) { - $tok = explode(",", $tok); - rpc_tkl_del(base64_decode($tok[0]), base64_decode($tok[1])); - } - } +
+
+
+
+
+
+ + user->record; ?> + +
+
+

user->total; ?>

+
+
+
+
+
+
+
Users Online
+
+ +
+
+
+ - if (!empty($_POST['sf'])) - foreach ($_POST as $key => $value) { - foreach ($value as $tok) { - $tok = explode(",", $tok); - rpc_sf_del(base64_decode($tok[0]), base64_decode($tok[1]), base64_decode($tok[2]), base64_decode($tok[3])); - } - } -} +
+
+
+
+
+
+ +
+
+

channel->total; ?>

+
+
+
+
+
+
+
Channels
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+

user->oper; ?>

+
+
+
+
+
+
+
Opers
+
+ +
+
+
+
-rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter) -?> +
+
+
+
+
+ +
+
+

server->total; ?>

+
+
+
+
+
+
+
Servers
+
+ +
+
+
+
+
+
+
-
-
- - - - - - - - - -
Chat Overview
Users
Opers
Services
Most popular channel ( users)
Channels
Server bans
Spamfilter entries
-
-
-
-

- - - - - - - - - - - - - "; - echo ""; - echo ""; - echo ""; - echo ""; - $account = (isset($user['user']['account'])) ? $user['user']['account'] : ""; - echo ""; - $modes = (isset($user['user']['modes'])) ? "+" . $user['user']['modes'] : ""; - echo ""; - $oper = (isset($user['user']['operlogin'])) ? $user['user']['operlogin']." (".$user['user']['operclass'].")" : ""; - echo ""; - $secure = (isset($user['tls'])) ? "✅" : "❌"; - echo ""; - echo ""; - echo ""; +
+
+
+
+
+
+ +
+
+

server_ban->server_ban; ?>

+
+
+
+
+
+
+
Server Bans
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+

server_ban->spamfilter; ?>

+
+
+
+
+
+
+
Spamfilter
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+

server_ban->server_ban_exception; ?>

+
+
+
+ +
+
+
+
Server Ban Exceptions
+
+ +
+
+
+
+ server->ulined) { + $bg = "bg-success"; + $tooltip = "Users / Servers"; } - ?>
Select allNickUIDHost / IPAccountUsermodesOperSecureConnected toReputation ℹ️".$user['name']."".$user['id']."".$user['hostname']." (".$user['ip'].")".$account."".$modes."".$oper."".$secure."".$user['user']['servername']."".$user['user']['reputation']."
+ else + $bg = "bg-warning"; + ?> +
+
+
+
+
+ +
+
+ +

user->ulined; ?>/server->ulined; ?>

+
+
+
+
+
+
+
Services Online
+
+ +
+
+ +
+
+
+
-
-
-
-

- - - - - - - - - "; - echo ""; - echo ""; - echo ""; - $topic = (isset($channel['topic'])) ? $channel['topic'] : ""; - echo ""; - $setby = (isset($channel['topic'])) ? "By ".$channel['topic_set_by'] .", at ".$channel['topic_set_at'] : ""; - echo ""; - $modes = (isset($channel['modes'])) ? "+" . $channel['modes'] : ""; - echo ""; + +
+
+
+
+
+
+
+ +
+
+

+
+
+
+
+
+
+
Panel Accounts
+
+ +
+
+
+
+
+
+ -
- - -
- - +Hook::run(HOOKTYPE_OVERVIEW_CARD, $stats); - \ No newline at end of file +require_once "inc/footer.php";
NameCreatedUser countTopicTopic SetModes".$channel['name']."".$channel['creation_time']."".$channel['num_users']."".$topic."".$setby."".$modes."