X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/7b80db431593d8247d563c37f38278cc44bb9a68..b6540c8fd85cca3e4e5c4dd40d3568884b3dbc6b:/index.php?ds=inline diff --git a/index.php b/index.php index 8d7f7e8..6384929 100644 --- a/index.php +++ b/index.php @@ -1,338 +1,285 @@ - - - -
- - - query("stats.get", []); +?> - } else if (!($users = $_POST["userch"])) { - Message::Fail("No user was specified"); - } else { - foreach ($_POST["userch"] as $user) { - $user = base64_decode($user); - $bantype = (isset($_POST['bantype'])) ? $_POST['bantype'] : NULL; - if (!$bantype) - { - Message::Fail("An error occured"); - return; - } - $banlen_w = (isset($_POST['banlen_w'])) ? $_POST['banlen_w'] : NULL; - $banlen_d = (isset($_POST['banlen_d'])) ? $_POST['banlen_d'] : NULL; - $banlen_h = (isset($_POST['banlen_h'])) ? $_POST['banlen_h'] : NULL; +Chat Overview | - |
---|---|
Users | |
Opers | |
Services | |
Most popular channel | ( users) |
Channels | |
Server bans | |
Spamfilter entries |
Name | -Created | -User count | -Topic | -Topic Set | -Modes | - - "; - echo "".$channel['name']." | "; - echo "".$channel['creation_time']." | "; - echo "".$channel['num_users']." | "; - $topic = (isset($channel['topic'])) ? $channel['topic'] : ""; - echo "".$topic." | "; - $setby = (isset($channel['topic'])) ? "By ".$channel['topic_set_by'] .", at ".$channel['topic_set_at'] : ""; - echo "".$setby." | "; - $modes = (isset($channel['modes'])) ? "+" . $channel['modes'] : "".$modes." | "; - } - ?>
---|