<#import "../macros/pagination.ftl" as pagination/> <#import "../macros/presentation.ftl" as presentation/>
${topic.title?html} <#if rssEnabled>  
<#if !readonly> <#if logged?default(false)>
<#if topic.status == STATUS_LOCKED> <#else> <#if !readonly> <#if !replyOnly> <#else> <#assign colspan = "2"/> ${I18n.getMessage("ForumListing.forumIndex")} -> ${forum.name} <#assign watch = "watch"/> <#assign watchMessage = I18n.getMessage("PostShow.watch")/> <#if watching> <#assign watch = "unwatch"/> <#assign watchMessage = I18n.getMessage("PostShow.unwatch")/> ${watchMessage} <#if bookmarksEnabled>    ${I18n.getMessage("Bookmarks.addTo")} <@pagination.doPagination "list", topic.id/>
<#assign rowColor = ""/> <#list posts as post> <#if post_index % 2 == 0> <#assign rowColor = "row1"> <#else> <#assign rowColor = "row2"> <#assign user = users.get(post.userId)/> <#assign rowspan = "3"/> <#assign useSignature = (user.attachSignatureEnabled && user.signature?exists && user.signature?length > 0 && post.isSignatureEnabled())/> <#if useSignature> <#assign rowspan = "3"/> <#else> <#assign rowspan = "2"/> <#if useSignature>
${I18n.getMessage("PostShow.author")} ${I18n.getMessage("PostShow.messageTitle")}
<#include "post_show_action_buttons_inc.htm"/>
<#include "post_show_user_inc.htm"/> ${post.text} <#if post.hasAttachments() && (canDownloadAttachments || attachmentsEnabled)> <#assign attachments = am.getAttachments(post.id, post.forumId)/> <#include "post_show_attachments_inc.htm"/>

${user.signature}
<#include "post_show_user_profile_inc.htm"/>
 
<#if !readonly> <#if (logged || anonymousPosts) && topic.status != STATUS_LOCKED>
<#if topic.status == STATUS_LOCKED> <#else> <#if !readonly> <#if !replyOnly>   <#else> <#assign colspan = "2"/> ${I18n.getMessage("ForumListing.forumIndex")} -> ${forum.name} <@pagination.doPagination "list", topic.id/>
${I18n.getMessage("PostForm.quickReply")}
<@presentation.forumsComboTable/>