{% with messages = get_flashed_messages() %} {% if messages %} {% endif %} {% endwith %} {# avatar: 32x32, avatarmedium: 64x64, avatarfull: 184x184 #} {% for steamid,profile in steamids.items() %} {% if profile['gameextrainfo'] %}{% set state = "Ingame" %}{% else %}{% set state = states[profile['personastate']].lower().replace(' ', '') %}{% endif %}
{{ profile['personaname']|e }}

({{ profile['main']|e }})
{# Ingame (Steam), Ingame (Nonsteam), Offline/Other #} {% if profile['gameid'] %} {{ profile['gameextrainfo'] }} {% if profile['gameserverip'] not in serverinfo %} {# No serverinfo -> Display game logo #} {% endif %}
{% if profile['lobbysteamid'] %} {% elif profile['gameserverip'] %} {# playing on a server, got info? #} {% if serverinfo[profile['gameserverip']] %}
{% set game = serverinfo[profile['gameserverip']]['game'] %} {% set servername = serverinfo[profile['gameserverip']]['name'] %} {% set mapname = serverinfo[profile['gameserverip']]['map'] %} {% set players = serverinfo[profile['gameserverip']]['players'] %} {% set playersmax = serverinfo[profile['gameserverip']]['playersmax'] %} {% if game != profile['gameextrainfo'] %} {{ game }}
{% endif %} {{ servername }}
{{ mapname }} ({{ players }}/{{ playersmax }})
{% endif %} {% endif %} {% elif profile['gameextrainfo'] %} {{ profile['gameextrainfo'] }}
(non-steam) {% else %} {% if profile['personastate'] == 0 %} Offline since {{ display_time(current_time - profile['lastlogoff']) }} {% else %} {{ states[profile['personastate']] }} {% endif %} {% if profile['communityvisibilitystate'] == 1 %}
Profile private {% endif %} {% endif %}
{% endfor %} {% if steamids['76561197963063991'] %}

Falls dir hier Accounts fehlen oder du Vorschläge hast oder hier nicht genannt werden willst, dann wende dich an Penguin!

{% endif %}