{% if session.checkLogin %}
{% else %}
{% if sakura.lockAuth %}
{% else %}
{% endif %}
{% endif %}
{% if php.self == '/profile.php' ? profile.data.user_data.profileBackground : (user.checkPermission('SITE', 'CREATE_BACKGROUND') and user.data.user_data.userOptions.profileBackgroundSiteWide and user.data.user_data.profileBackground) %}
{% endif %}
{% if not session.checkLogin and php.self != '/authenticate.php' %}
{% endif %}
{% if user.checkPermission('SITE', 'RESTRICTED') %}
Your account is current in restricted mode!
A staff member has set your account to restricted mode most likely due to violation of the rules. While restricted you won't be able to use most public features of the site. If you think this is a mistake please get in touch with one of our staff members.