{% set menus = { 'Create Character': 'account/character/create','Delete Character': 'account/character/delete', 'Change Info': 'account/info', 'Change Password': 'account/password', 'Change Email': 'account/email' } %}
My Account {% if recovery_key is empty %} Register Account {% endif %} {% for name, link in menus %} {{ name }} {% endfor %} {% if setting('core.account_change_character_name') %} Change Name {% endif %} {% if setting('core.account_change_character_sex') %} Change Sex {% endif %} Logout

My account

Welcome to your account page, {{ account }}
{% if config.lua.freePremium %} You have unlimited Premium Account. {% else %} {% set premiumDays = account_logged.getPremDays() %} {% if premiumDays == 0 %} You don't have Premium Account {% else %} You have {{ premiumDays }} days remaining Premium Account. {% endif %} {% endif %}

{# if account dont have recovery key show hint #} {% if recovery_key is empty %}
You can register your account for increased protection. Click on "Register Account" and get your free recovery key today!
{% set button_name = 'Register Account' %} {% include('buttons.base.html.twig') %}

{% endif %} {% if email_request %}
A request has been submitted to change the email address of this account to {{ email_new }}. After {{ email_new_time|date("j F Y, G:i:s") }} you can accept the new email address and finish the process. Please cancel the request if you do not want your email address to be changed! Also cancel the request if you have no access to the new email address!
{% set button_name = 'Edit' %} {% include('buttons.base.html.twig') %}


{% endif %}

General Information

{% if not config.account_login_by_email or config.account_login_by_email_fallback %} {% endif %} {% autoescape false %} {% endautoescape %}
Account {% if constant('USE_ACCOUNT_NAME') %}Name{% else %}Number{% endif %}: {{ account }}
Email Address: {{ account_email ~ email_change }}
{% set button_name = 'Change Email' %} {% include('buttons.base.html.twig') %}
Created: {{ account_created|date("j F Y, G:i:s") }}
Last Login: {{ "now"|date("j F Y, G:i:s") }}
Account Status: {{ account_status }}
Registered: {{ account_registered }}

Public Information

Real name: {{ account_rlname }}
Location: {{ account_location }}
{% set button_name = 'Change Info' %} {% include('buttons.base.html.twig') %}

Action Log

{% autoescape false %} {% set i = 0 %} {% for action in actions %} {% set i = i + 1 %} {% endfor %} {% endautoescape %}
ActionDateIP
{{ action.action }} {{ action.date|date("jS F Y H:i:s") }} {{ action.ip }}

Character list: {{ players|length }} characters.

{% set i = 0 %} {% for player in players %} {% set i = i + 1 %} {% endfor %}
NameLevelVocationTownLast loginStatusHideEdit
{{ player.getName() }} {{ player.getLevel() }} {{ player.getVocationName() }} {{ config.towns[player.getTownId()] }} {% if player.getLastLogin() > 0 %}{{ player.getLastLogin|date('d F Y (H:i)') }}{% else %}Never.{% endif %} {% if player.isOnline() %}ONLINE{% else %}Offline{% endif %} {% if player.isHidden() %}Hidden{% else %}Visible{% endif %} {% if not player.isDeleted() %}[Edit]{% endif %}

{% if setting('core.account_change_character_name') %} {% endif %} {% if setting('core.account_change_character_sex') %} {% endif %}
{% set button_name = 'Create Character' %} {% include('buttons.base.html.twig') %}
{% set button_name = 'Change Name' %} {% include('buttons.base.html.twig') %}
{% set button_name = 'Change Sex' %} {% include('buttons.base.html.twig') %}
{% set button_name = 'Delete Character' %} {% include('buttons.base.html.twig') %}