{% extends "titles/idac/frontend/idac_index.jinja" %} {% block tab %} {% if sesh is defined and sesh["userId"] > 0 %}

{{ sesh["username"] }}'s Profile

{% if profile is defined and profile is not none %}
Information

Username

{{ profile.username }}

Cash

{{ profile.cash }} D

Grade

{% set grade = rank.grade %} {% if grade >= 1 and grade <= 72 %} {% set grade_number=(grade - 1) // 9 %} {% set grade_letters=['E', 'D' , 'C' , 'B' , 'A' , 'S' , 'SS' , 'X' ] %} {{ grade_letters[grade_number] }}{{ 9 - ((grade-1) % 9) }} {% else %} Unknown {% endif %}

Statistics

Total Plays

{{ profile.total_play }}

Last Played

{{ profile.last_play_date }}

Mileage

{{ profile.mileage / 1000}} km

{% if tickets is defined and tickets|length > 0 %}
Tokens/Tickets

Avatar Tokens

{{ tickets.avatar_points }}/30

Car Dressup Tokens

{{ tickets.car_dressup_points }}/30

FullTune Tickets

{{ tickets.full_tune_tickets }}/99

FullTune Fragments

{{ tickets.full_tune_fragments }}/10

{% endif %}
{% else %} {% endif %}
{% else %} {% endif %} {% endblock tab %}