{% 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) %}