X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/be3ca91ebeb38538c348e67af05ec7e4f03ed489..df9ec3bdf5dd9f4596c0bdf48beb71fa26ac2e40:/index.php diff --git a/index.php b/index.php index 11bcd27..1e966ec 100644 --- a/index.php +++ b/index.php @@ -7,12 +7,23 @@ $stats = $rpc->query("stats.get", []);

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; + + +?> +
+ +
+
@@ -38,7 +49,7 @@ $stats = $rpc->query("stats.get", []);
-
+
@@ -60,7 +71,7 @@ $stats = $rpc->query("stats.get", []);
-
+
@@ -83,7 +94,7 @@ $stats = $rpc->query("stats.get", []);
-
+
@@ -110,7 +121,7 @@ $stats = $rpc->query("stats.get", []);
-
+
@@ -127,12 +138,12 @@ $stats = $rpc->query("stats.get", []);
Server Bans
- +
-
+
@@ -154,7 +165,7 @@ $stats = $rpc->query("stats.get", []);
-
+
@@ -172,7 +183,7 @@ $stats = $rpc->query("stats.get", []);
Server Ban Exceptions
- +
@@ -190,7 +201,7 @@ $stats = $rpc->query("stats.get", []); else $bg = "bg-warning"; ?> -
+
@@ -207,7 +218,7 @@ $stats = $rpc->query("stats.get", []);
Services Online
- +
@@ -215,7 +226,39 @@ $stats = $rpc->query("stats.get", []);
+ + +
+
+
+
+
+
+
+ +
+
+

+
+
+
+
+
+
+
Panel Users
+
+ +
+
+
+
+
+