', $context['page_title'], ' |
', $txt['general_stats'], ' |
|
', $txt['total_members'], ': |
', $context['show_member_list'] ? '' . $context['num_members'] . '' : $context['num_members'], ' |
', $txt['total_posts'], ': |
', $context['num_posts'], ' |
', $txt['total_topics'], ': |
', $context['num_topics'], ' |
', $txt['total_cats'], ': |
', $context['num_categories'], ' |
', $txt['users_online'], ': |
', $context['users_online'], ' |
', $txt['most_online'], ': |
', $context['most_members_online']['number'], ' - ', $context['most_members_online']['date'], ' |
', $txt['users_online_today'], ': |
', $context['online_today'], ' | ';
if (!empty($modSettings['hitStats']))
echo '
', $txt['num_hits'], ': |
', $context['num_hits'], ' | ';
echo '
|
|
', $txt['average_members'], ': |
', $context['average_members'], ' |
', $txt['average_posts'], ': |
', $context['average_posts'], ' |
', $txt['average_topics'], ': |
', $context['average_topics'], ' |
', $txt['total_boards'], ': |
', $context['num_boards'], ' |
', $txt['latest_member'], ': |
', $context['common_stats']['latest_member']['link'], ' |
', $txt['average_online'], ': |
', $context['average_online'], ' |
', $txt['gender_ratio'], ': |
', $context['gender']['ratio'], ' | ';
if (!empty($modSettings['hitStats']))
echo '
', $txt['average_hits'], ': |
', $context['average_hits'], ' | ';
echo '
|
', $txt['top_posters'], ' |
', $txt['top_boards'], ' |
|
';
foreach ($context['top_posters'] as $poster)
echo '
', $poster['link'], ' |
', $poster['num_posts'] > 0 ? '' : ' ', ' |
', $poster['num_posts'], ' |
';
echo '
|
|
';
foreach ($context['top_boards'] as $board)
echo '
', $board['link'], ' |
', $board['num_posts'] > 0 ? '' : ' ', ' |
', $board['num_posts'], ' |
';
echo '
|
', $txt['top_topics_replies'], ' |
', $txt['top_topics_views'], ' |
|
';
foreach ($context['top_topics_replies'] as $topic)
echo '
', $topic['link'], ' |
', $topic['num_replies'] > 0 ? '' : ' ', ' |
', $topic['num_replies'], ' |
';
echo '
|
|
';
foreach ($context['top_topics_views'] as $topic)
echo '
', $topic['link'], ' |
', $topic['num_views'] > 0 ? '' : ' ', ' |
', $topic['num_views'], ' |
';
echo '
|
', $txt['top_starters'], ' |
', $txt['most_time_online'], ' |
|
';
foreach ($context['top_starters'] as $poster)
echo '
', $poster['link'], ' |
', $poster['num_topics'] > 0 ? '' : ' ', ' |
', $poster['num_topics'], ' |
';
echo '
|
|
';
foreach ($context['top_time_online'] as $poster)
echo '
', $poster['link'], ' |
', $poster['time_online'] > 0 ? '' : ' ', ' |
', $poster['time_online'], ' |
';
echo '
|
', $txt['forum_history'], ' |
|
';
if (!empty($context['yearly']))
{
echo '
', $txt['yearly_summary'], ' |
', $txt['stats_new_topics'], ' |
', $txt['stats_new_posts'], ' |
', $txt['stats_new_members'], ' |
', $txt['smf_stats_14'], ' | ';
if (!empty($modSettings['hitStats']))
echo '
', $txt['page_views'], ' | ';
echo '
';
foreach ($context['yearly'] as $id => $year)
{
echo '
', $year['year'], '
|
', $year['new_topics'], ' |
', $year['new_posts'], ' |
', $year['new_members'], ' |
', $year['most_members_online'], ' | ';
if (!empty($modSettings['hitStats']))
echo '
', $year['hits'], ' | ';
echo '
';
foreach ($year['months'] as $month)
{
echo '
', $month['month'], ' ', $month['year'], '
|
', $month['new_topics'], ' |
', $month['new_posts'], ' |
', $month['new_members'], ' |
', $month['most_members_online'], ' | ';
if (!empty($modSettings['hitStats']))
echo '
', $month['hits'], ' | ';
echo '
';
if ($month['expanded'])
{
foreach ($month['days'] as $day)
{
echo '
', $day['year'], '-', $day['month'], '-', $day['day'], ' |
', $day['new_topics'], ' |
', $day['new_posts'], ' |
', $day['new_members'], ' |
', $day['most_members_online'], ' | ';
if (!empty($modSettings['hitStats']))
echo '
', $day['hits'], ' | ';
echo '
';
}
}
}
}
echo '
|
';
}
}
?>