<#include "header.htm"/> <#import "../macros/pagination.ftl" as pagination/> <#import "../macros/presentation.ftl" as presentation/> <#assign canEditSomeMessage = false/> <#if logged> <#if moderator>
${topic.title?html} <#if rssEnabled>  XML
<#if !readonly>
<#if topic.status == STATUS_LOCKED> <#else> <#if !readonly> <#else> <#assign colspan = "2"/> ${I18n.getMessage("ForumListing.forumIndex")} » ${forum.name} <#assign paginationData><@pagination.doPagination "list", topic.id/>${paginationData}
<#if poll?exists> <#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 canEditCurrentMessage = (post.canEdit && topic.status != STATUS_LOCKED) || moderatorCanEdit/> <#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.pollTitle")}
<#if (poll.open && canVoteOnPoll && !request.getParameter("viewResults")?exists)>
${poll.label?html} <#list poll.options as option>
${option.text?html}

${I18n.getMessage("PostShow.showPollResults")}
<#else> <@presentation.renderPoll poll/>
${I18n.getMessage("PostShow.author")} ${I18n.getMessage("PostShow.messageTitle")}
<#include "post_show_action_buttons_inc.htm"/>
<#include "post_show_user_inc.htm"/> <#if canEditCurrentMessage> <#assign canEditSomeMessage = true/>
${post.text}
<#else> ${post.text}
<#if post.hasAttachments() && (canDownloadAttachments || attachmentsEnabled)> <#assign attachments = am.getAttachments(post.id, post.forumId)/> <#include "post_show_attachments_inc.htm"/> <#if (post.editCount > 0) && post.editTime?exists> <#if post.editCount == 1> <#assign editCountMessage = "PostShow.editCountSingle"/> <#else> <#assign editCountMessage = "PostShow.editCountMany"/>

${I18n.getMessage(editCountMessage, [post.editCount, post.editTime?datetime?string])}


${user.signature}
<#include "post_show_user_profile_inc.htm"/>
 
<#if !readonly>
<#if topic.status == STATUS_LOCKED> <#else> <#if !readonly> <#else> <#assign colspan = "2"/> ${I18n.getMessage("ForumListing.forumIndex")} » ${forum.name} ${paginationData}
<#if (logged || anonymousPosts) && topic.status != STATUS_LOCKED && !readonly> <#if isModerator || isAdmin>
Message ${I18n.getMessage("PostForm.quickReply")}

<@presentation.moderationImages/>
<#if logged> <#if bookmarksEnabled> XML ${I18n.getMessage("Bookmarks.addTo")}
<#if !watching> <#assign watchMessage = I18n.getMessage("PostShow.watch")/> <#else> <#assign watchMessage = I18n.getMessage("PostShow.unwatch")/> Watch ${watchMessage}
<@presentation.forumsComboTable/>
<#include "bottom.htm"/>