<#include "header.htm"/> <#import "../../macros/pagination.ftl" as pagination/>
${I18n.getMessage("ForumListing.userTopics")} ${u.username?html}

<#list topics as topic>

<#if (topic.title?length == 0)>———<#else>${topic.title?html}<#if topic.type == TOPIC_WIKI> (Wiki)
${I18n.getMessage("Search.forum")}: ${forums.get(topic.forumId).getName()}
${I18n.getMessage("ForumIndex.answers")}: <#if topic.type == TOPIC_WIKI>W<#else>${topic.totalReplies}
<#assign startPage = ""/> <#if (topic.totalReplies + 1 > postsPerPage?number)> <#assign startPage = ((topic.totalReplies / postsPerPage?number)?int * postsPerPage?number) +"/"/> ${I18n.getMessage("ForumIndex.lastMessage")}: <#if topic.type == TOPIC_WIKI>${topic.lastEditTimeStr}<#else>${topic.lastPostTime} ${I18n.getMessage("Search.postedBy")} ${topic.lastPostBy.username?html}
<#if topic.paginate>
<@pagination.littlePostPagination topic.id, postsPerPage, topic.totalReplies/>

<@pagination.doPagination action, u.id, 1/> <#include "bottom.htm"/>