{% if profile.isPremium %} {% endif %} {{ profile.title }}
Joined
{% if profile.lastOnline < 1 %}
{{ profile.username }} hasn't logged in yet.
{% else %}
Last online
{% endif %}
{% if profile.birthday != '0000-00-00' and profile.birthday|split('-')[0] > 0 %}
Age{{ profile.birthday(true) }} years old
{% endif %}
{% if not noUserpage %}
{% endif %}
{% if (profile.isActive and profile.id == user.id) or user.permission(constant('Sakura\\Perms\\Manage::CHANGE_IMAGES'), constant('Sakura\\Perms::MANAGE')) %}
{% endif %}
{% if user.isActive %}
{% if user.id == profile.id %}
{% else %}
{% if user.isFriends(profile.id) != 0 %}{% endif %}
{% endif %}
{% if user.permission(constant('Sakura\\Perms\\Manage::CAN_RESTRICT_USERS'), constant('Sakura\\Perms::MANAGE')) %}
{% endif %}
{% endif %}
{% if profile.lastfm %}
by
{% endif %}
{% include 'profile/userpage.twig' %}
{% include 'profile/friends.twig' %}
{% include 'profile/groups.twig' %}
{% include 'profile/topics.twig' %}
{% include 'profile/posts.twig' %}
{% include 'profile/comments.twig' %}
{% include 'profile/images.twig' %}
Topics
{{ profile.forumStats.topics }}
Posts
{{ profile.forumStats.posts }}
Friends
{{ profile.friends(2)|length }}
{% if user.isActive %}
{% for id, data in fields %}
{% if data.value != null %}