{% extends 'global/master.tpl' %} {% set profileHidden = profile.checkPermission('SITE', 'DEACTIVATED') or profile.password.password_algo == 'nologin' or (profile.checkPermission('SITE', 'RESTRICTED') and (user.id != profile.id and not user.checkPermission('MANAGE', 'USE_MANAGE'))) %} {% set noUserpage = profile.userPage|length < 1 %} {% set profileView = profileHidden ? 'hidden' : (noUserpage and profileView == 'index' ? 'comments' : profileView) %} {% block title %}{% if profileHidden %}User not found!{% else %}Profile of {{ profile.username }}{% endif %}{% endblock %} {% block css %} {% endblock %} {% block js %} {% endblock %} {% block content %}
{{ profile.username }}'s Avatar
{% if profileHidden %}Unknown user{% else %}{{ profile.username }}{% endif %}
{% if profileHidden %}The requested user does not exist!{% else %}{{ profile.userTitle }}{% endif %}
{% if not profileHidden %}
Joined {{ profile.elapsed.joined }}
{% if profile.dates.lastOnline < 1 %}User hasn't logged in yet.{% else %}Last Active {{ profile.elapsed.lastOnline }}{% endif %}
{% endif %}
{% if not profileHidden %} {% if (profile.checkPremium[0] or profile.checkPermission('MANAGE', 'USE_MANAGE')) %}
    {% if profile.checkPremium[0] %}
  • Tenshi
  • {% endif %} {% if profile.checkPermission('MANAGE', 'USE_MANAGE') %}
  • Staff
  • {% endif %} {% if false %}
  • Developer
  • {% endif %} {% if false %}
  • Alumnii
  • {% endif %}
{% endif %} {% if session.checkLogin %} {% endif %}
{% if session.checkLogin %} {% if profile.profileFields %} {% for name,field in profile.profileFields %} {% endfor %} {% else %}
This user has not set any links yet.
{% endif %} {% else %}
Log in to view the full profile.
{% endif %}
{% endif %}
Account Standing
{% if profileHidden %}
Unknown
{% elseif profile.checkBan %}

Banned

{% else %} {% if profile.getWarnings %}
Bad
{% else %}
Good
{% endif %} {% endif %} {% if profile.getWarnings %}
This user has {{ profile.getWarnings|length }} warning{% if profile.getWarnings|length != 1 %}s{% endif %}!
After 10 warnings a user may be permanently banned.
{% endif %}
{% if not profileHidden %}
{% if profileView != (noUserpage ? 'comments' : 'index') %} {% endif %} {% if profileView != 'friends' %} {% endif %} {% if profileView != 'groups' %} {% endif %} {% if profileView != 'comments' %} {% endif %} {% if profileView != 'threads' %} {% endif %} {% if profileView != 'posts' %} {% endif %}
{% endif %}
{% include 'profile/' ~ profileView ~ '.tpl' %}
{% endblock %}