{% if (MCHAT_PAGE == 'index' and MCHAT_WHOIS_REFRESH and MCHAT_WHOIS_INDEX) or (MCHAT_CHARACTER_COUNT and MCHAT_PAGE != 'archive') %}
{% if MCHAT_PAGE == 'index' and MCHAT_WHOIS_REFRESH and MCHAT_WHOIS_INDEX %}
{% INCLUDE '@dmzx_mchat/mchat_whois.html' %}
{% endif %} {% if MCHAT_CHARACTER_COUNT and MCHAT_PAGE != 'archive' %} {% endif %}
{% endif %}
{{ S_FORM_TOKEN }} {% if MCHAT_PAGE != 'archive' %} {% if MCHAT_ALLOW_USE %} {% if MCHAT_INPUT_AREA %} {% else %} {% endif %} {% endif %} {% EVENT dmzx_mchat_buttons_container_before %}
{% EVENT dmzx_mchat_buttons_before %} {% if MCHAT_ALLOW_USE %} {% if MCHAT_ALLOW_SMILES and loops.smiley|length %} {% endif %} {% if S_BBCODE_ALLOWED %} {% endif %} {% if MCHAT_RULES %} {% endif %} {% endif %} {% EVENT dmzx_mchat_buttons_mid %} {% if MCHAT_ARCHIVE %} {% endif %} {% EVENT dmzx_mchat_buttons_after %}
{% EVENT dmzx_mchat_buttons_container_after %} {% if MCHAT_ALLOW_USE and S_BBCODE_ALLOWED %}
{% INCLUDE 'posting_buttons.html' %}
{% endif %} {% if MCHAT_ALLOW_USE and MCHAT_ALLOW_SMILES and loops.smiley|length %} {% endif %} {% EVENT dmzx_mchat_body_smiley_after %}
{% endif %}