X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/ce8122f02ff7c26a6ead371928cf72f39ff5905d..39330628e8c0719660d6adaf6171b855f69513e7:/index.php
diff --git a/index.php b/index.php
index 9a6a13a..6ac2254 100644
--- a/index.php
+++ b/index.php
@@ -1,145 +1,376 @@
+
+
Network Overview
+ LIVE
+
+
+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);
+$current_user = unreal_get_current_user();
+if (isset($current_user->user_meta['hibp']))
+{
+ $num = $current_user->user_meta['hibp'];
+ Message::Fail("Urgent
","Your password was found in a data breach $num time(s).",
+ "Please update your password immediately");
+}
+?>
+
+
-
-