{% if S_CHAT_ENABLED %} {% if S_AJAXCHAT_VIEW %} {% if S_GET_CHAT %} {% INCLUDE 'chat_body_readadd.html' %} {% else %} {% if CHAT_PAGE == 'chat' %} {% INCLUDE 'overall_header.html' %} {% endif %} {% if CHAT_PAGE == 'popup' or CHAT_PAGE == 'archive' %} {% INCLUDE 'simple_header.html' %}
{% endif %} {% INCLUDE 'chat_body_script_vars.html' %} {% INCLUDEJS '@spaceace_ajaxchat/js/ajax_chat.js' %} {% EVENT spaceace_ajax_chat_chat_body_before %}
{% if CHAT_PAGE neq 'archive' %} {% if S_AJAX_CHAT_MESSAGES_DOWN %} {% INCLUDE 'chat_body_input.html' %} {% endif %} {% endif %}
{% if CHAT_RULES and CHAT_PAGE neq 'archive' %} {% endif %}
{% INCLUDE 'chat_body_chatrow.html' %}
{% if S_WHOISONLINE %}

{{ lang('WHOIS_CHATTING') }}

{% INCLUDE 'chat_body_whois.html' %}
{% endif %}
{% EVENT spaceace_ajax_chat_chat_body_after %} {% if CHAT_PAGE == 'chat' %} {% INCLUDE 'overall_footer.html' %} {% endif %} {% if CHAT_PAGE == 'popup' or CHAT_PAGE == 'archive' %}
{% INCLUDE 'simple_footer.html' %} {% endif %} {% endif %} {% endif %} {% endif %}