X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/28d5eb87e982bc63543a5336720b2a058daf901e..d8ad4ceacf66b389595a9a02adb68e96ee7f2157:/index.php
diff --git a/index.php b/index.php
index f6aa3d2..77e00bf 100644
--- a/index.php
+++ b/index.php
@@ -1,32 +1,74 @@
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);
+
+?>
+
+
-
+
-
-
-
+
+
+
+
+
+
+
Server Ban Exceptions
+
server->ulined) {
$bg = "bg-success";
- } ?>
-
+ $tooltip = "Users / Servers";
+ }
+ else
+ $bg = "bg-warning";
+ ?>
+
-
\ No newline at end of file
+
+
+
+
+
+
+