X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/809f7483740d9eae0abd77aa670fe26b5ce70c41..630261974fd350964443aed92704938d4a8bd858:/index.php diff --git a/index.php b/index.php index dd0d60f..219c143 100644 --- a/index.php +++ b/index.php @@ -1,24 +1,58 @@ stats()->get(); ?> +
+

Network Overview

+⚪LIVE
+
+Network Overview +/* What if someone wants to add their own stats... */ +Hook::run(HOOKTYPE_PRE_OVERVIEW_CARD, $array_of_stats); -
+/* 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; ?> +
-

+

user->total; ?>

@@ -27,12 +61,14 @@ rpc_pop_lists();
Users Online
- +
+ +
-
+
@@ -40,7 +76,7 @@ rpc_pop_lists();
-

+

channel->total; ?>

@@ -49,12 +85,12 @@ rpc_pop_lists();
Channels
- +
-
+
@@ -62,7 +98,7 @@ rpc_pop_lists();
-

+

user->oper; ?>

@@ -71,14 +107,13 @@ rpc_pop_lists();
Opers
- - +
-
+
@@ -86,7 +121,7 @@ rpc_pop_lists();
-

+

server->total; ?>

@@ -95,17 +130,17 @@ rpc_pop_lists();
Servers
- +
-
+
-
+
@@ -113,7 +148,7 @@ rpc_pop_lists();
-

+

server_ban->server_ban; ?>

@@ -122,12 +157,12 @@ rpc_pop_lists();
Server Bans
- +
-
+
@@ -135,7 +170,7 @@ rpc_pop_lists();
-

+

server_ban->spamfilter; ?>

@@ -144,12 +179,12 @@ rpc_pop_lists();
Spamfilter
- +
-
+
@@ -157,7 +192,7 @@ rpc_pop_lists();
-

+

server_ban->server_ban_exception; ?>

@@ -167,16 +202,20 @@ rpc_pop_lists();
Server Ban Exceptions
- +
server->ulined) { $bg = "bg-success"; - } ?> -
+ $tooltip = "Users / Servers"; + } + else + $bg = "bg-warning"; + ?> +
@@ -184,7 +223,8 @@ rpc_pop_lists();
-

+ +

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

@@ -193,7 +233,7 @@ rpc_pop_lists();
Services Online
- +
@@ -202,6 +242,86 @@ rpc_pop_lists(); + + + +
+ +
+
+
+
+
+
+ +
+
+

+
+
+
+
+
+
+
Panel Accounts
+
+ +
+
+
+
+
+