X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/f2a87326dc86cb472a9443355e549b507fcd0e40..408491c6430721b73c29af47c9eb044be254342b:/channels/index.php diff --git a/channels/index.php b/channels/index.php index efb65a4..8b52d77 100644 --- a/channels/index.php +++ b/channels/index.php @@ -14,7 +14,7 @@ $channels = $rpc->channel()->getAll(); ?>

Channels Overview


- +
@@ -27,14 +27,17 @@ $channels = $rpc->channel()->getAll(); foreach($channels as $channel) { echo ""; - echo ""; + echo ""; echo ""; $modes = (isset($channel->modes)) ? "+" . $channel->modes : ""; - echo ""; - $topic = (isset($channel->topic)) ? $channel->topic : ""; + echo ""; + $topic = (isset($channel->topic)) ? htmlspecialchars($channel->topic) : ""; echo ""; echo ""; + echo ""; } + + require_once("../footer.php"); ?>
Name Users
".$channel->name."".htmlspecialchars($channel->name)."".$channel->num_users."".$modes."".htmlspecialchars($modes)."".$topic."".$channel->creation_time."