{% if user.isActive %}

{{ user.username }}

{% set friendRequests = user.friends(-1, true)|length %} {% if friendRequests %} {{ friendRequests }} new friend requests {% endif %}
{% endif %}
Stats
We have {{ stats.userCount }} user{% if stats.userCount != 1 %}s{% endif %}, {{ stats.newestUser.username }} is the newest user, it has been {{ stats.lastRegDate }} day{{ stats.lastRegDate == 1 ? '' : 's' }} since the last user registered and the forum has {{ stats.topicCount }} thread{% if stats.topicCount != 1 %}s{% endif %} and {{ stats.postCount }} post{% if stats.postCount != 1 %}s{% endif %}.
Online Users
{% if stats.onlineUsers %} All active users in the past {{ config('max_online_time') / 60 }} minute{% if config('max_online_time') != 60 %}s{% endif %} {% for amount,onlineUser in stats.onlineUsers %} {% endfor %}
{{ onlineUser.username }}
{% else %} There were no online users in the past {{ config('max_online_time') / 60 }} minute{% if config('max_online_time') != 60 %}s{% endif %}. {% endif %}