{% if MCHAT_PAGE in ['custom', 'archive'] %} {% INCLUDE 'overall_header.html' %} {% endif %} {% EVENT dmzx_mchat_overall_header_after %} {% EVENT dmzx_mchat_header_before %} {% EVENT dmzx_mchat_header_after %} {% INCLUDE '@dmzx_mchat/mchat_script_data.html' %} {% if MCHAT_PAGE == 'archive' and (loops.pagination|length or MCHAT_TOTAL_MESSAGES) %}
{% EVENT dmzx_mchat_action_bar_top_before %} {% if loops.pagination|length %} {% INCLUDE 'pagination.html' %} {% else %}
{{ MCHAT_TOTAL_MESSAGES }} {{ PAGE_NUMBER }}
{% endif %} {% EVENT dmzx_mchat_action_bar_top_after %}
{% endif %} {% EVENT dmzx_mchat_before %} {% if MCHAT_IS_COLLAPSIBLE %} {% endif %}
{% INCLUDE '@dmzx_mchat/mchat_header.html' %} {% EVENT dmzx_mchat_body_before %}
{% if not MCHAT_SOUND_DISABLED %} {% endif %}
{% if MCHAT_STATIC_MESS and MCHAT_PAGE != 'archive' %}
{{ MCHAT_STATIC_MESS }}
{% endif %} {% EVENT dmzx_mchat_messages_container_before %}
    {% if loops.mchatrow|length %} {% INCLUDE '@dmzx_mchat/mchat_messages.html' %} {% else %}
  • {{ lang('MCHAT_NOMESSAGE') }}
  • {% endif %}
{% EVENT dmzx_mchat_messages_container_after %}
{% INCLUDE '@dmzx_mchat/mchat_panel.html' %}
{% EVENT dmzx_mchat_body_after %}
{% EVENT dmzx_mchat_after %} {% if MCHAT_PAGE == 'archive' and (loops.pagination|length or MCHAT_TOTAL_MESSAGES) %}
{% EVENT dmzx_mchat_action_bar_top_before %} {% if loops.pagination|length %} {% INCLUDE 'pagination.html' %} {% else %}
{{ MCHAT_TOTAL_MESSAGES }} {{ PAGE_NUMBER }}
{% endif %} {% EVENT dmzx_mchat_action_bar_top_after %}
{% endif %} {% if MCHAT_PAGE == 'custom' and MCHAT_WHOIS_REFRESH %}

{{ lang('MCHAT_WHO_IS_CHATTING') }}

{% INCLUDE '@dmzx_mchat/mchat_whois.html' %}
{{ lang('MCHAT_WHO_IS_REFRESH_EXPLAIN', MCHAT_WHOIS_REFRESH / 1000) }}
{% endif %} {% if MCHAT_PAGE in ['custom', 'archive'] and LEGEND %}
{{ lang('LEGEND') ~ lang('COLON') }} {{ LEGEND }}
{% endif %} {% EVENT dmzx_mchat_overall_footer_before %} {% if MCHAT_PAGE in ['custom', 'archive'] %} {% INCLUDE 'overall_footer.html' %} {% endif %}