<#include "header.htm"/> <#import "../macros/pagination.ftl" as pagination> <#import "../macros/presentation.ftl" as presentation/> <#if moderator>
<#if !readonly && !replyOnly> <#else> <#assign colspan = "2"/>
${forum.name?html} <#if rssEnabled> [XML]
<#assign paginationData><@pagination.doPagination action, forum.id/>${paginationData}
<#if (canApproveMessages && topicsToApprove.size() > 0)>
<#list topicsToApprove.values() as topic> <#if topic_index % 2 == 0> <#assign rowColor = ""> <#else> <#assign rowColor = "bg_small_yellow">
${I18n.getMessage("Moderation.checkQueue")}
<#if (topic.topicReplies > 0)> ${topic.topicTitle} <#else> ${topic.topicTitle} ${I18n.getMessage("Moderation.Admin.view")}
<#if moderator>
<#if moderator && openModeration?default(false)> <#list topics as topic> <#assign class1>class="<@presentation.row1Class topic/>" <#assign class2>class="<@presentation.row2Class topic/>" <#assign class3>class="<@presentation.row3Class topic/>" <#if canApproveMessages> <#if topicsToApprove.containsKey(topic.id)> <#assign class1 = "class='bg_yellow'"/> <#assign class2 = class1/> <#assign class3 = class1/> <#if moderator && openModeration?default(false)>
 ${I18n.getMessage("ForumIndex.topics")}   ${I18n.getMessage("ForumIndex.answers")}   ${I18n.getMessage("ForumIndex.author")}   ${I18n.getMessage("ForumIndex.views")}   ${I18n.getMessage("ForumIndex.lastMessage")}  ${I18n.getMessage("ForumIndex.moderation")} 
<@presentation.folderImage topic/> <#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.paginate>
<@pagination.littlePostPagination topic.id, postsPerPage, topic.totalReplies/>
${topic.totalReplies} ${topic.postedBy.username} ${topic.totalViews} <#if (topic.lastPostTime?length > 0)> ${topic.lastPostTime}
${topic.lastPostBy.username} <#assign startPage = ""/> <#if (topic.totalReplies + 1 > postsPerPage?number)> <#assign startPage = ((topic.totalReplies / postsPerPage?number)?int * postsPerPage?number) +"/"/> [Latest Reply]
 <@presentation.moderationButtons/>
<#if moderator>
<#if !readonly && !replyOnly> <#else> <#assign colspan = "2"/>
${I18n.getMessage("ForumListing.forumIndex")} -> ${forum.name?html} ${paginationData}
<#if logged> <#assign watch = "watchForum"/> <#assign watchMessage = I18n.getMessage("ForumShow.watch")/> <#if watching> <#assign watch = "unwatchForum"/> <#assign watchMessage = I18n.getMessage("ForumShow.unwatch")/> Watch ${watchMessage} <@presentation.forumsComboTable/>
<#assign moderators = forum.getModeratorList()/> <#if (moderators.size() > 0)>
[New Folder] ${I18n.getMessage("ForumIndex.newMessages")}    [Folder] ${I18n.getMessage("ForumIndex.noNewMessages")}    [Announce Folder] ${I18n.getMessage("ForumIndex.announce")}
[New Hot] ${I18n.getMessage("ForumIndex.newMessagesHot")}    [Hot] ${I18n.getMessage("ForumIndex.noNewMessagesHot")}    [Sticky] ${I18n.getMessage("ForumIndex.sticky")}
[Lock New] ${I18n.getMessage("ForumIndex.newMessagesBlocked")}    [Lock] ${I18n.getMessage("ForumIndex.noNewMessagesBlocked")}   
${I18n.getMessage("ForumIndex.forumAdmins")}: <#list moderators as m> ${m.name?html}
<#include "bottom.htm"/>