X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/a44ced160e118a5bb5cd253d5e765c0684c61068..75c101fdf81cf76433e974b2dd9194aadbd75549:/channels/index.php diff --git a/channels/index.php b/channels/index.php index 54d9b90..bf02085 100644 --- a/channels/index.php +++ b/channels/index.php @@ -14,14 +14,13 @@ $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." | "; } ?>