X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/28d5eb87e982bc63543a5336720b2a058daf901e..ea90b321a4b3768028d841b307c362af97a5e6e1:/index.php diff --git a/index.php b/index.php index f6aa3d2..b5009ce 100644 --- a/index.php +++ b/index.php @@ -1,32 +1,59 @@ query("stats.get", []); ?>

Network Overview

-
+ -
+/* This makes sure that a plugin which called the parameter + * by reference can add/update the stats for display here. +*/ +$stats = (object) $array_of_stats; + +$userlist = []; +Hook::run(HOOKTYPE_GET_USER_LIST, $userlist); +$num_of_panel_admins = count($userlist); + +?> +
+ +
+
- + + user->record; ?> +
-

-
Users
+

user->total; ?>

+
+
+
+
Users Online
+
+ +
+
+ +
-
+
@@ -34,14 +61,21 @@ rpc_pop_lists();
-

+

channel->total; ?>

+
+
+
+
+
+
Channels
+
-
+
@@ -49,14 +83,22 @@ rpc_pop_lists();
-

+

user->oper; ?>

+
+
+
+
+
+
Opers
+
-
+ +
@@ -64,19 +106,26 @@ rpc_pop_lists();
-

+

server->total; ?>

+
+
+
+
+
+
Servers
+
-
+
-
+
@@ -84,14 +133,21 @@ rpc_pop_lists();
-

+

server_ban->server_ban; ?>

+
+
+
+
+
+
Server Bans
+
-
+
@@ -99,14 +155,21 @@ rpc_pop_lists();
-

-
Spamfilter Entries
+

server_ban->spamfilter; ?>

+
+
+
+
+
+
+
Spamfilter
+
-
+
@@ -114,18 +177,30 @@ rpc_pop_lists();
-

-
Ban Excepts
+

server_ban->server_ban_exception; ?>

+ +
+
+
+
Server Ban Exceptions
+
+ +
+
server->ulined) { $bg = "bg-success"; - } ?> -
+ $tooltip = "Users / Servers"; + } + else + $bg = "bg-warning"; + ?> +
@@ -133,13 +208,78 @@ rpc_pop_lists();
-

+ +

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

+
+
+
+
+
+
Services Online
+
-
\ No newline at end of file +
+ + + + +
+ +
+
+
+
+
+
+ +
+
+

+
+
+
+
+
+
+
Panel Access
+
+ +
+
+
+
+
+
+