X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/75c101fdf81cf76433e974b2dd9194aadbd75549..579020f8c67f7bdfd9d530a25b701af6ee53c412:/index.php?ds=sidebyside
diff --git a/index.php b/index.php
index 05675fd..6ac2254 100644
--- a/index.php
+++ b/index.php
@@ -1,204 +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");
+}
+?>
+
+