X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/43c591a45309605aae5eebe8b6b8ae6d1d65bcce..76200e36b9dce259a825f751f5e33abab4be9a06:/index.php diff --git a/index.php b/index.php index 02ea896..044775f 100644 --- a/index.php +++ b/index.php @@ -28,6 +28,16 @@ define('UPATH', true); include "Classes/class-rpc.php"; +if (!empty($_POST['tklch'])) + foreach ($_POST as $key => $value) + { + foreach ($value as $tok) + { + $tok = explode(",",$tok); + rpc_tkl_del(base64_decode($tok[0]), base64_decode($tok[1])); + } + } + rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter) ?> @@ -65,7 +75,7 @@ rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter) echo "".$user['name'].""; echo "".$user['id'].""; echo "".$user['hostname']." (".$user['ip'].")"; - $account = (isset($user['account'])) ? $user['account'] : ""; + $account = (isset($user['user']['account'])) ? $user['user']['account'] : ""; echo "".$account.""; $modes = (isset($user['user']['modes'])) ? "+" . $user['user']['modes'] : ""; echo "".$modes.""; @@ -108,8 +118,10 @@ rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter)
-

+ + + @@ -122,6 +134,7 @@ rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter) foreach(RPC_List::$tkl as $tkl) { echo ""; + echo ""; echo ""; echo ""; echo ""; @@ -130,7 +143,7 @@ rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter) echo ""; echo ""; } - ?>
Select all Mask Type Set By
".$tkl['name']."".$tkl['type_string']."".$tkl['set_by']."".$tkl['duration_string']."".$tkl['reason']."
+ ?>

@@ -197,4 +210,4 @@ rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter) - + \ No newline at end of file