<#include "header.htm"/> <#if bannerPages?contains("index")> <#assign position = 0 /> <#include "banner.htm"/>
<#if logged>${I18n.getMessage("ForumListing.lastVisit")}: ${lastVisit}
${I18n.getMessage("ForumListing.date")}: ${now}
${I18n.getMessage("ForumListing.forumIndex")}
  <#if logged> ${I18n.getMessage("ForumListing.readLastVisitMessages")}
<#list allCategories as category> <#list category.getForums() as forum> <#assign lpi = forumRepository.getLastPostInfo(forum.id)/>
 ${I18n.getMessage("ForumListing.forums")}   ${I18n.getMessage("ForumListing.totalTopics")}   ${I18n.getMessage("ForumListing.totalMessages")}   ${I18n.getMessage("ForumListing.lastMessage")} 
${category.name?html}  
<#if (forum.id == forumTrashcan) > [Trash Can] <#else> <#if forum.unread> [New Folder] <#else> [Folder] ${forum.name?html}
<#if (forum.description?length > 0)>${forum.description?default("")}<#else>  <#if forum.isModerated()>
<#assign moderators = forumRepository.getModeratorList(forum.id)/> <#if (moderators.size() > 0)> ${I18n.getMessage("ForumIndex.moderators")}: <#list moderators as m> ${m.name?html}
${forum.totalTopics} <#assign total = forum.totalPosts/> <#if (total == 0 && forum.totalTopics > 0)> <#assign total = forum.totalTopics/> <#if (total > 0)>${total}<#else>${I18n.getMessage("ForumListing.noMessages")} <#if (lpi.postTimeMillis > 0)> ${lpi.postDate} <#if (lpi.userId > 0)>${lpi.username}
<#assign startPage = ""/> <#if (lpi.topicReplies + 1 > postsPerPage)> <#assign startPage = ((lpi.topicReplies / postsPerPage)?int * postsPerPage) +"/"/> <#assign url = JForumContext.encodeURL("/posts/list/${startPage}${lpi.topicId}") + "#p" + lpi.postId/> ${lpi.title?html} [Latest Reply] <#else> ${I18n.getMessage("ForumListing.noMessages")}
 
${I18n.getMessage("ForumListing.whoIsOnline")}
[Who's Online] ${I18n.getMessage("ForumListing.totalMessagesInfo", [ totalMessages ])}
${I18n.getMessage("ForumListing.registeredUsers", [ totalRegisteredUsers ])}
${I18n.getMessage("ForumListing.newestUser")} ${lastUser.username}
${I18n.getMessage("ForumListing.numberOfUsersOnline", [ totalOnlineUsers, totalRegisteredOnlineUsers, totalAnonymousUsers ])}   <#if showOnline >
${I18n.getMessage("ForumListing.connectedUsers")}: <#list userSessions as us> ${us.username}  <#if us.isAdmin()> (${I18n.getMessage("Administrator")})  <#elseif us.isModerator()> ({I18n.getMessage("Moderator")}) 

<#if !logged && !sso>
${I18n.getMessage("Login.enter")}
${I18n.getMessage("Login.user")}:     ${I18n.getMessage("Login.password")}: <#if autoLoginEnabled>          
<#if bannerPages?contains("index")> <#assign position = 3 /> <#include "banner.htm"/> <#if (forumTrashcan > 0) >
[New Folder] ${I18n.getMessage("ForumListing.newMessages")}    [Folder] ${I18n.getMessage("ForumListing.noNewMessages")}    [Locked Folder] ${I18n.getMessage("ForumListing.blocked")}   [Trash Can] ${I18n.getMessage("ForumListing.trashcan")}
<#include "bottom.htm"/>