{{ title }}
{% for forum in forum.forums %} {% if forum.type == 1 %} {% if forum.forums|length and forum.permission(constant('Sakura\\Perms\\Forum::VIEW'), user.id) %}
{% if forum.type != 1 %}Subforums{% else %}{{ forum.name }}{% endif %}
{% for forum in forum.forums %} {% include 'forum/forumEntry.tpl' %} {% endfor %} {% endif %} {% else %} {% include 'forum/forumEntry.tpl' %} {% endif %} {% endfor %}
{% if not forum.type and forum.id > 0 %} {% set threads = forum.threads|batch(25) %} {% set paginationPages = threads %} {% set paginationUrl %}{{ urls.format('FORUM_SUB', [forum.id]) }}{% endset %} {% include 'forum/forumBtns.tpl' %} {% if forum.threads %} {% for thread in threads[get.page|default(1) - 1] %} {% include 'forum/topicEntry.tpl' %} {% endfor %}
Topic Author Last post
Topic Author Last post
{% else %}

There are no posts in this forum!

{% endif %} {% include 'forum/forumBtns.tpl' %} {% endif %}