{% include 'webapp/_pwa_head.html' %} {% block extra_head %}{% endblock %}
{% if site_logo and config.site_background %}
{% endif %}
FIGHTSKILL
☰
🏠
{{ t('home') | default('Home') }}
🏆
{{ t('tournaments') | default('Tournaments') }}
🗂️
{{ t('results_history') | default('Results') }}
🎮
{{ t('games') }}
📊
{{ t('leaderboard') }}
🎁
{{ t('rewards') | default('Rewards') }}
❓
{{ t('how_it_works') | default('How It Works') }}
👥
{{ t('our_team') | default('Our Team') }}
{% if user and user.is_admin %}
🛠️ {{ t('admin_panel') }}
{% endif %}
{% if session.get('user_id') %}
💰
{{ "%.2f"|format(entry_balance) }}
USDT
{% for rc, rflag, rname in [('ir','🇮🇷','Iran'),('eu','🇪🇺','Europe'),('ea','🌏','Asia'),('na','🇺🇸','America'),('global','🌍','Global')] %}
{{ rflag }} {{ rname }}
{% endfor %}
{% for lc in ['en','fa','tr','ar'] %}
{{ lc|upper }}
{% endfor %}
👥
{{ t('our_team') | default('YOUR TEAM') }} ({{ header_teams|length if header_teams is defined else 0 }})
👥
{% set user_teams = header_teams if header_teams is defined else [] %} {% if user_teams %}
{% for t in user_teams %}
{{ t.game.name if t.game else 'Game' }}
{{ t.name }}
{% endfor %}
{% else %}
{{ t('no_team_yet') | default('No team created yet — create your squad and join tournaments!') }}
{% endif %}
{{ user.display_name[0]|upper if user else 'U' }}
{{ user.display_name if user else '' }}
▼
👤 {{ t('my_profile') | default('My Profile') }}
🔔 {{ t('notifications') }}
💬 {{ t('support') | default('Support') }}
{{ t('logout') }}
{% else %}
{% for lc in ['en','fa','tr','ar'] %}
{{ lc|upper }}
{% endfor %}
{{ t('login') }}
{% endif %}
🔔
{{ unread_count if unread_count else '' }}
🔔
{{ t('notifications') }}
{{ t('mark_all_read') | default('Mark all read') }}
🔊
{% if recent_notifs %} {% for n in recent_notifs %}
{{ n.icon if n.icon else '📢' }}
{{ n.title or (t('notifications')) }}
{% if n.body %}
{{ n.body }}
{% endif %}
🕐 {{ n.created_at.strftime('%Y-%m-%d %H:%M') if n.created_at else '' }}
{% endfor %} {% else %}
🔕
{{ t('no_notifications') | default('No new notifications') }}
{% endif %}
{{ t('view_all') | default('View all') }} →
{{ '☀️' if current_theme == 'light' else '🌙' }}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endif %} {% endwith %} {% block content %}{% endblock %}
🎮
{{ t('games') }}
👥
{{ t('teams') }}
⚔️
{{ t('matches') }}
💰
{{ t('wallet') }}
💬
{{ t('support') | default('Support') }}
⚙️
{{ t('settings') }}
{% include 'webapp/_pwa.html' %} {% block scripts %}{% endblock %}