X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/10102cdc790926b5ec491db718572c0f44b2aeab..6ae326cb8d203015fa158b04e5b3b584f86c3654:/index.php?ds=sidebyside
diff --git a/index.php b/index.php
index db5474b..4d856a2 100644
--- a/index.php
+++ b/index.php
@@ -1,220 +1,376 @@
query("stats.get", []);
?>
+
+
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");
+}
+?>
+
+