TPL['forums_list']); $i++) { if ($this->TPL['forums_list'][$i]['forum_id'] != null) { if ($i > 0) { if ($this->TPL['forums_list'][$i-1]['category_id'] != $this->TPL['forums_list'][$i]['category_id']) echo '
'.$this->TPL['forums_list'][$i]['category_name'].'
Forum name
Topics
Posts
Last Post
'; } else { echo '
'.$this->TPL['forums_list'][$i]['category_name'].'
Forum name
Topics
Posts
Last Post
'; } echo '
'."\n"; echo "\t\t\t".'
'.$this->TPL['forums_list'][$i]['forum_name'].'
'.$this->TPL['forums_list'][$i]['forum_desc'].'
'."\n"; echo "\t\t\t".'
'.$this->TPL['forums_list'][$i]['topic_count'].'
'."\n"; echo "\t\t\t".'
'.$this->TPL['forums_list'][$i]['post_count'].'
'."\n"; if ($this->TPL['forums_list'][$i]['lastpost_post_id'] != null) { $lastpost = '
'.$this->TPL['forums_list'][$i]['lastpost_date'].'
Topic #'.$this->TPL['forums_list'][$i]['lastpost_topic_id'].'
: '; if ($this->TPL['forums_list'][$i]['lastpost_user_id'] != null) $lastpost .= '
'.$this->colorRank($this->TPL['forums_list'][$i]['lastpost_nick'], $this->TPL['forums_list'][$i]['lastpost_user_rank']).'
'; else $lastpost .= 'Anonymous'; $lastpost .= '
'; } else { $lastpost = 'No posts'; } echo "\t\t\t".'
'.$lastpost.'
'."\n"; echo "\t\t".'
'."\n"; $items++; } } if ($items > 0) echo '
'; else { echo '
Forum message
No forums
'; } ?>
Statistics
Our users have written
TPL['posts_count']; ?>
posts.
We have
TPL['users_count']; ?>
unique users.
Last registered user:
TPL['last_user']['nick']; ?>
Users ranks:
Admin
•
Mod
• User
This forum is browsing by
TPL['logged_users_count']; ?>
logged users(list):
TPL['logged_users_count'] == 0) echo 'none.'; else for ($i=0; $i
TPL['logged_users']); $i++) { echo '
'.$this->colorRank($this->TPL['logged_users'][$i]['nick'], $this->TPL['logged_users'][$i]['rank']).'
'; if ($i
TPL['logged_users'])-1) echo ', '; } ?>