{% if S_CHAT_ENABLED and S_CHAT_NAV_LINK and CHAT_PAGE neq 'chat' %} {% if S_AJAXCHAT_VIEW %} {% if IS_PHPBB31 %}