{% extends 'global/master.twig' %} {% set profileHidden = profile.permission(constant('Sakura\\Perms\\Site::DEACTIVATED')) or (profile.permission(constant('Sakura\\Perms\\Site::RESTRICTED')) and (user.id != profile.id and not user.permission(constant('Sakura\\Perms\\Manage::USE_MANAGE'), constant('Sakura\\Perms::MANAGE')))) %} {% set noUserpage = profile.userPage|length < 1 %} {% set profileView = noUserpage and profileView == 'index' ? 'comments' : profileView %} {% block title %}{% if profileHidden %}User not found!{% else %}Profile of {{ profile.username }}{% endif %}{% endblock %} {% block content %} {% if profileHidden %}

The requested user does not exist!

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

{{ profile.username }}

{% if profile.isPremium[0] %}Tenshi {% endif %}{{ profile.country.short }} {{ profile.country.long }} {% if session.checkLogin %} {% endif %}
Joined {{ profile.elapsed.joined }}
{% if profile.lastOnline < 1 %} {{ profile.username }} hasn't logged in yet. {% else %} Last online {{ profile.elapsed.lastOnline }} {% endif %}
{{ profile.username }} has {% if not profile.forumStats.posts %}no{% else %}{{ profile.forumStats.posts }}{% endif %} forum post{% if profile.forumStats.posts != 1 %}s{% endif %}. {% if profile.birthday != '0000-00-00' and profile.birthday|split('-')[0] > 0 %}
Age {{ profile.birthday(true) }} years old {% endif %} {% if profile.profileFields or user.permission(constant('Sakura\\Perms\\Manage::USE_MANAGE'), constant('Sakura\\Perms::MANAGE')) %}
{% if session.checkLogin %} {% for name,field in profile.profileFields %} {% endfor %} {% if user.permission(constant('Sakura\\Perms\\Manage::USE_MANAGE'), constant('Sakura\\Perms::MANAGE')) %} {% endif %}
{{ field.name }} {% if name == 'youtube' %} {% if field.youtubetype == true %}{{ profile.username }}'s Channel{% else %}{{ field.value }}{% endif %} {% else %} {% if field.islink %} {% endif %} {{ field.value }} {% if field.islink %} {% endif %} {% endif %}
E-mail address {{ profile.email }}
Register IP {{ profile.registerIp }}
Last IP {{ profile.lastIp }}
{% else %} Log in to view the full profile! {% endif %} {% endif %} {% else %}

{{ profile.username }}

{% endif %}
Account Standing {% if profile.permission(constant('Sakura\\Perms\\Site::DEACTIVATED')) %}

Deactivated

{% elseif profile.checkBan %}

Banned

{% elseif profile.permission(constant('Sakura\\Perms\\Site::RESTRICTED')) %}

Restricted

{% elseif profile.getWarnings %}

Bad

{% else %}

Good

{% endif %} {% if profile.getWarnings %} {% for warning in profile.getWarnings %} {% endfor %}
Action Duration Reason
{{ warning.warning_action_text }} {{ warning.warning_length }} minute{% if warning.warning_length != 1 %}s{% endif %} {{ warning.warning_reason }}
{% endif %}
{% include 'profile/' ~ profileView ~ '.twig' %}
{% endif %} {% endblock %}