{# Cache frequently used language strings #} {% set lang_posts = lang('POSTS') %} {% set lang_views = lang('VIEWS') %} {% set lang_replies = lang('REPLIES') %} {% set lang_time = lang('TIME') %} {% set lang_post_by = lang('POST_BY_AUTHOR') %} {% set lang_posted_on = lang('POSTED_ON_DATE') %} {# Topic-based statistics (Most Viewed & Most Replied) #} {% if TSMVT_NUMBER > 0 or TSMRT_NUMBER > 0 %}
{% if TSMVT_NUMBER > 0 %}
{% if U_TS_MVT_COLLAPSE_URL %}{% endif %}
  • {{ TSMVT_NUMBER }} {{ lang('MOST_VIEWED') }}
    {{ lang_views }}
    {% if U_TS_MVT_COLLAPSE_URL %} {% set S_CC_FORUM_HIDDEN = S_TS_MVT_HIDDEN %} {% set U_CC_COLLAPSE_URL = U_TS_MVT_COLLAPSE_URL %} {% set L_CC_BUTTON_TITLE = 'TS_MVT_CC_TITLE' %} {% include '@phpbb_collapsiblecategories/collapsible_categories_button.html' ignore missing %} {% endif %}
    {% for topic in loops.most_viewed %}
  • {{ topic.TOPIC_TITLE }} {{ lang_post_by }} {{ topic.USER_FULL }} {{ lang_posted_on }} {{ topic.TOPIC_TIME }}
    {{ topic.TOPIC_VIEWS }}
  • {% endfor %}
{% endif %} {% if TSMRT_NUMBER > 0 %}
{% if U_TS_MRT_COLLAPSE_URL %}{% endif %}
  • {{ TSMRT_NUMBER }} {{ lang('MOST_REPLIED') }}
    {{ lang_replies }}
    {% if U_TS_MRT_COLLAPSE_URL %} {% set S_CC_FORUM_HIDDEN = S_TS_MRT_HIDDEN %} {% set U_CC_COLLAPSE_URL = U_TS_MRT_COLLAPSE_URL %} {% set L_CC_BUTTON_TITLE = 'TS_MRT_CC_TITLE' %} {% include '@phpbb_collapsiblecategories/collapsible_categories_button.html' ignore missing %} {% endif %}
    {% for topic in loops.most_replied %}
  • {{ topic.TOPIC_TITLE }} {{ lang_post_by }} {{ topic.USER_FULL }} {{ lang_posted_on }} {{ topic.TOPIC_TIME }}
    {{ topic.TOPIC_REPLIES }}
  • {% endfor %}
{% endif %}
{% endif %} {# User and Forum statistics #} {% set show_user_forum_stats = TSMAU_NUMBER > 0 or TSMAF_NUMBER > 0 or TSLVB_NUMBER > 0 or TSLRU_NUMBER > 0 or TSTTM_NUMBER > 0 or TSTLM_NUMBER > 0 %} {% if show_user_forum_stats %}
{% if TSMAU_NUMBER > 0 %}
{% if U_TS_MAU_COLLAPSE_URL %}{% endif %}
  • {{ TSMAU_NUMBER }} {{ lang('MOST_ACTIVE_USERS') }}
    {{ lang_posts }}
    {% if U_TS_MAU_COLLAPSE_URL %} {% set S_CC_FORUM_HIDDEN = S_TS_MAU_HIDDEN %} {% set U_CC_COLLAPSE_URL = U_TS_MAU_COLLAPSE_URL %} {% set L_CC_BUTTON_TITLE = 'TS_MAU_CC_TITLE' %} {% include '@phpbb_collapsiblecategories/collapsible_categories_button.html' ignore missing %} {% endif %}
{% endif %} {% if TSMAF_NUMBER > 0 %}
{% if U_TS_MAF_COLLAPSE_URL %}{% endif %}
  • {{ TSMAF_NUMBER }} {{ lang('MOST_ACTIVE_FORUMS') }}
    {{ lang_posts }}
    {% if U_TS_MAF_COLLAPSE_URL %} {% set S_CC_FORUM_HIDDEN = S_TS_MAF_HIDDEN %} {% set U_CC_COLLAPSE_URL = U_TS_MAF_COLLAPSE_URL %} {% set L_CC_BUTTON_TITLE = 'TS_MAF_CC_TITLE' %} {% include '@phpbb_collapsiblecategories/collapsible_categories_button.html' ignore missing %} {% endif %}
    {% for forum in loops.most_active_forums %}
  • {% if forum.FORUM_URL %} {{ forum.FORUM_NAME }} {% else %} {{ forum.FORUM_NAME }} {% endif %}
    {{ forum.FORUM_POSTS }} {{ forum.FORUM_POST_PERCENT }}
  • {% endfor %}
{% endif %} {% if TSLVB_NUMBER > 0 %}
{% if U_TS_LVB_COLLAPSE_URL %}{% endif %}
  • {{ TSLVB_NUMBER }} {{ lang('LAST_VISITED_BOTS') }}
    {{ lang_time }}
    {% if U_TS_LVB_COLLAPSE_URL %} {% set S_CC_FORUM_HIDDEN = S_TS_LVB_HIDDEN %} {% set U_CC_COLLAPSE_URL = U_TS_LVB_COLLAPSE_URL %} {% set L_CC_BUTTON_TITLE = 'TS_LVB_CC_TITLE' %} {% include '@phpbb_collapsiblecategories/collapsible_categories_button.html' ignore missing %} {% endif %}
    {% for bot in loops.last_visited_bots %}
  • {{ bot.USER_FULL }}
    {{ bot.USER_LAST_VISIT }}
  • {% endfor %}
{% endif %} {% if TSLRU_NUMBER > 0 %}
{% if U_TS_LRU_COLLAPSE_URL %}{% endif %}
  • {{ TSLRU_NUMBER }} {{ lang('LAST_REGISTERED_USERS') }}
    {{ lang_time }}
    {% if U_TS_LRU_COLLAPSE_URL %} {% set S_CC_FORUM_HIDDEN = S_TS_LRU_HIDDEN %} {% set U_CC_COLLAPSE_URL = U_TS_LRU_COLLAPSE_URL %} {% set L_CC_BUTTON_TITLE = 'TS_LRU_CC_TITLE' %} {% include '@phpbb_collapsiblecategories/collapsible_categories_button.html' ignore missing %} {% endif %}
    {% for user in loops.last_registered_user %}
  • {{ user.USER_FULL }}
    {{ user.USER_REGISTERED }}
  • {% endfor %}
{% endif %} {% if TSTTM_NUMBER > 0 %}
{% if U_TS_TTM_COLLAPSE_URL %}{% endif %}
  • {{ TSTTM_NUMBER }} {{ lang('TOP_POSTERS_THIS_MONTH') }} {{ TS_THIS_MONTH_NAME }}
    {{ lang_posts }}
    {% if U_TS_TTM_COLLAPSE_URL %} {% set S_CC_FORUM_HIDDEN = S_TS_TTM_HIDDEN %} {% set U_CC_COLLAPSE_URL = U_TS_TTM_COLLAPSE_URL %} {% set L_CC_BUTTON_TITLE = 'TS_TTM_CC_TITLE' %} {% include '@phpbb_collapsiblecategories/collapsible_categories_button.html' ignore missing %} {% endif %}
    {% for poster in loops.top_posters_this_month %}
  • {{ poster.USER_FULL }}
    {{ poster.TOTAL_POSTS }} {{ poster.PERCENTAGE }}
  • {% endfor %}
{% endif %} {% if TSTLM_NUMBER > 0 %}
{% if U_TS_TLM_COLLAPSE_URL %}{% endif %}
  • {{ TSTLM_NUMBER }} {{ lang('TOP_POSTERS_LAST_MONTH') }} {{ TS_LAST_MONTH_NAME }}
    {{ lang_posts }}
    {% if U_TS_TLM_COLLAPSE_URL %} {% set S_CC_FORUM_HIDDEN = S_TS_TLM_HIDDEN %} {% set U_CC_COLLAPSE_URL = U_TS_TLM_COLLAPSE_URL %} {% set L_CC_BUTTON_TITLE = 'TS_TLM_CC_TITLE' %} {% include '@phpbb_collapsiblecategories/collapsible_categories_button.html' ignore missing %} {% endif %}
    {% for poster in loops.top_posters_last_month %}
  • {{ poster.USER_FULL }}
    {{ poster.TOTAL_POSTS }} {{ poster.PERCENTAGE }}
  • {% endfor %}
{% endif %}
{% endif %}