diff --git a/stats.php b/stats.php index 1231ed5..9da7352 100644 --- a/stats.php +++ b/stats.php @@ -4,13 +4,16 @@ include "header.php"; ?>

stats

There are {$stats->usercount} users across {$stats->channelcount} channels.

\n"; - echo "\t\n\t\t\n"; - foreach($stats->channels as $channel) { - echo "\t\n"; - } - echo "\t
NameUser countTopic
{$channel->name}{$channel->usercount}{$channel->topic}
\n"; ?> +

There are usercount?> users across channelcount?> channels.

+ + + +channels as $channel): ?> + + + +
NameUsersTopic
name?>usercount?>topic?>

Available in JSON format.