<div class="title">{{lang.tickets_title}}</div>
{% if count == 0 %}<div class="mess">{{lang.tickets_mess1}}</div>{% endif %}
{% for mm in data %}
<a href="/modules/tickets/ticket.php?id={{mm.id}}" class="link"><span class="icon"><i class="fas fa-file-alt" style="width: 16px;"></i></span> {{mm.name}}
    ({% if mm.status == 0 %}
    {{lang.ticket_status_0}}
    {% elseif mm.status == 1 %}
    {{lang.ticket_status_1}}
    {% elseif mm.status == 2 %}
    {{lang.ticket_status_2}}
    {% endif %})
    <span class=c>{{mm.count.read}}{% if mm.count.noread > 0 %}<span style="color: #19cc30;">+{{mm.count.noread}}</span>{% endif %}</span></a>
{% endfor %}

<a href="new.php" class="link"><span class="icon"><i class="fas fa-plus"></i></span> {{lang.tickets_button_1}}</a>
{% if (all != NULL) and (show_B == true) %}<a href="?all" class="link"><span class="icon"><i class="fas fa-plus"></i></span> {{lang.tickets_button_6}}</a>{% endif %}