{% extends 'global/master.tpl' %} {% set profileHidden = profile.checkPermission('SITE', 'DEACTIVATED') or profile.data.password_algo == 'nologin' or (profile.checkPermission('SITE', 'RESTRICTED') and (user.data.id != profile.data.id and not user.checkPermission('MANAGE', 'USE_MANAGE'))) %} {% block title %}{% if profileHidden %}User not found!{% else %}Profile of {{ profile.data.username }}{% endif %}{% endblock %} {% block content %} {% if profileHidden %}

The requested user does not exist!

There are a few possible reasons for this:
{% else %}
{{ profile.data.username }}'s Avatar
{% if profile.data.rank_main > 1 and profile.checkBan|length < 1 %} {{ profile.userTitle }}

{{ profile.data.username }}

{% if profile.checkPremium[0] %}Tenshi {% endif %}{{ profile.country.short }} {{ profile.country.long }} {% if session.checkLogin %} {% endif %}
Joined {{ profile.elapsed.joined }}
{% if profile.data.lastdate < 1 %} {{ profile.data.username }} hasn't logged in yet. {% else %} Last online {{ profile.elapsed.lastOnline }} {% endif %}
{{ profile.data.username }} has {% if not profile.forumStats.posts %}no{% else %}{{ profile.forumStats.posts }}{% endif %} forum post{% if profile.forumStats.posts != 1 %}s{% endif %}. {% if profile.data.birthday != '0000-00-00' and profile.data.birthday|split('-')[0] > 0 %}
Age {{ profile.elapsed(' old').birth }} {% endif %} {% if profile.profileFields %}
{% if session.checkLogin %} {% for name,field in profile.profileFields %} {% endfor %}
{{ field.name }} {% if name == 'youtube' %} {% if field.youtubetype == true %}{{ profile.data.username }}'s Channel{% else %}{{ field.value }}{% endif %} {% else %} {% if field.islink %} {% endif %} {{ field.value }} {% if field.islink %} {% endif %} {% endif %}
{% else %} Log in to view the full profile! {% endif %} {% endif %} {% else %}

{{ profile.data.username }}

{% endif %}
Account Standing {% if profile.checkPermission('SITE', 'DEACTIVATED') %}

Deactivated

{% elseif profile.checkBan %}

Banned

{% elseif profile.checkPermission('SITE', 'RESTRICTED') %}

Restricted

{% else %} {% if profile.getWarnings %}

Bad

This user has {{ profile.getWarnings|length }} warning{% if profile.getWarnings|length != 1 %}s{% endif %}.
After 5 to 10 warnings (depending on what they are for) this user may be permanently banned.
{% else %}

Good

{% endif %} {% endif %}
{{ profile.userPage|raw }}
{% endif %} {% endblock %}