X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/bdf7619aefc98b662efbf7336ea2118044db141e..6ae326cb8d203015fa158b04e5b3b584f86c3654:/index.php?ds=sidebyside diff --git a/index.php b/index.php index 511bd46..4d856a2 100644 --- a/index.php +++ b/index.php @@ -1,16 +1,23 @@ query("stats.get", []); -var_dump($stats); -?> - -

Network Overview

+require_once "inc/header.php"; +?> +
+

Network Overview

+ LIVE + +
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"); +} +?> + +
+ +
+ +
-
- -
-
-
-
-
-
- -
- - +
-
-
-
- -
- -
-
-
-
-
- - -
-
-
-
-
- -
-
-

server_ban->spamfilter; ?>

-
-
-
-
-
-
-
Spamfilter
-
- -
-
-
-
-
-
-
-
-
- -
-
-

server_ban->server_ban_exception; ?>

-
-
-
-
-
-
-
Server Ban Exceptions
-
- -
-
-
-
- server->ulined) { - $bg = "bg-success"; - - /* honestly can't think of a case where there would actually be only one uline... but... well here we are, worrying over the small stuff =] */ - $user_noun = ($stats->user->ulined == 1) ? "user" : "users"; // use "users" even if 0, sounds better. - $is_are = ($stats->user->ulined == 1) ? "is" : "are"; - $server_noun = ($stats->server->ulined == 1) ? "server" : "servers"; - $tooltip = "There $is_are " . $stats->user->ulined . " U-Lined $user_noun over " . $stats->server->ulined . " U-Lined $server_noun"; + + + -
- +