<#include "header.htm"/> <#import "../../macros/pagination.ftl" as pagination>
${forum.name?html}

<#list topics as topic> <#if topic.movedId == 0 || (forum?exists && topic.forumId == forum.id)>

<#if topic.hasAttach() && attachmentsEnabled>[Clip] <#if topic.vote>${I18n.getMessage("ForumListing.pollLabel")} <#if (topic.title?length == 0)>No Subject<#else>${topic.title?html}<#if topic.type == TOPIC_WIKI> (Wiki)
${I18n.getMessage("ForumIndex.answers")}: ${topic.totalReplies}
${I18n.getMessage("ForumIndex.author")}: ${topic.postedBy.username}
${I18n.getMessage("ForumIndex.lastMessage")}: <#if topic.type == TOPIC_WIKI>${topic.lastEditTimeStr}<#else>${topic.lastPostTime} ${I18n.getMessage("Search.postedBy")} ${topic.lastPostBy.username} <#if topic.paginate>
<@pagination.littlePostPagination topic.id, postsPerPage, topic.totalReplies/>

<@pagination.doPagination action, forum.id, 1/>
<#if logged> <#if !watching> <#else>
<#include "bottom.htm"/>