X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/a44ced160e118a5bb5cd253d5e765c0684c61068..bca6dbd294c4e7738924e8ccfaec68129f76b1b3:/channels/index.php?ds=inline diff --git a/channels/index.php b/channels/index.php index 54d9b90..efb65a4 100644 --- a/channels/index.php +++ b/channels/index.php @@ -17,11 +17,10 @@ $channels = $rpc->channel()->getAll();
Name | -Created | -User count | -Topic | -Topic Set | +Users | Modes | +Topic | +Created | channel()->getAll(); { 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." | "; + $topic = (isset($channel->topic)) ? $channel->topic : ""; + echo "".$topic." | "; + echo "".$channel->creation_time." | "; } ?>