X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/76200e36b9dce259a825f751f5e33abab4be9a06..0d62343db7cf98dda603d338e1948a9a09af5862:/index.php diff --git a/index.php b/index.php index 044775f..4d856a2 100644 --- a/index.php +++ b/index.php @@ -1,213 +1,376 @@ - - - -
-

UnrealIRCd Administration Panel


-
- -
- Overview - Users - Channels - Server Bans - Spamfilter -
$value) +require_once "inc/common.php"; +require_once "Classes/class-checkup.php"; +if (!isset($config['unrealircd'])) +{ + $redirect = get_config("base_url")."settings/rpc-servers.php"; + header('Location: ' . $redirect); + die; +} + +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"); +} +?> + +
+ +
+ + + + +
+
+
+ +
+ + + + +
+
+ + +
-
-
- - - - - - - - - - - - - "; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - } - ?>
Select allMaskTypeSet BySet OnExpiresDurationReason".$tkl['name']."".$tkl['type_string']."".$tkl['set_by']."".$tkl['set_at_string']."".$tkl['expire_at_string']."".$tkl['duration_string']."".$tkl['reason']."

- +
+ + +
+
+ -
-

- - - - - - - - - - - - - - "; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - echo ""; - for ($i = 0, $targs = ""; ($c = $sf['spamfilter_targets'][$i]); $i++) - { - if ($c == "c") - $targs .= "Channel, "; - else if ($c == "p") - $targs .= "Private,"; - else if ($c == "n") - $targs .= "Notice, "; - else if ($c == "N") - $targs .= "Channel notice, "; - else if ($c == "P") - $targs .= "Part message, "; - else if ($c == "q") - $targs .= "Quit message, "; - else if ($c == "d") - $targs .= "DCC filename, "; - else if ($c == "a") - $targs .= "Away message, "; - else if ($c == "t") - $targs .= "Channel topic, "; - else if ($c == "T") - $targs .= "MessageTag, "; - else if ($c == "u") - $targs .= "Usermask, "; - - $targs = rtrim($targs,", "); - } - echo ""; - echo ""; - - } - ?>
MaskTypeSet BySet OnExpiresDurationMatch TypeActionAction DurationTargetReason".$sf['name']."".$sf['type_string']."".$sf['set_by']."".$sf['set_at_string']."".$sf['expire_at_string']."".$sf['duration_string']."".$sf['match_type']."".$sf['ban_action']."".$sf['ban_duration_string']."".$targs."".$sf['reason']."
- - +Hook::run(HOOKTYPE_OVERVIEW_CARD, $stats); - \ No newline at end of file +require_once "inc/footer.php";