<% @categories.each do |cat| %> <% forums = cuser ? cat.forums.available_to(cuser, Forumer::ACCESS_READ).ordered : cat.forums.public.ordered %> <% next if forums.length == 0 %>
<% forums.each do |forum| %> <% end %>
<%= h cat.to_s %>
Forums Topics Posts Last Post
"> 

<%= namelink forum %>

<%= forum.description %>
<% if forum.can_update? cuser %> <%= link_to "Up", :action => "up", :id => forum %>
<%= link_to "Down", :action => "down", :id => forum %> <% end %>
<%= forum.topics.count %> <%= forum.posts.count %> <% if forum.posts.last %> <%= link_to raw("#{h forum.posts.last.user}
#{shortdate forum.posts.last.created_at}"), lastpost(forum.posts.last.topic) %> <% end %>
<% end %>
Statistics
We have total of <%= Post.count %> posts, <%= Topic.count %> topics, and <%= User.count %> users. Our newest member is <%= namelink User.last %> and most active member is <%= namelink User.posts_stats.first %>.
<% if Forum.new.can_create? cuser %>

<%= link_to 'New forum', new_forum_path %>

<% end %>