<!-- added by fq -->
<div style="padding-top: 10px">
<% if forums.any? %>
	<% forums.each do |forum| %>
	<div class="forums-index">
		<div class="forums-inex-avatar"><%= link_to image_tag(url_to_avatar(forum.creator), :class => "avatar"), user_path(forum.creator) %></div>
		<div class="forums-index-content">
			<p ><%= link_to h(forum.name), forum_path(forum) %></p>
			<p ><%= forum.description%></p>
			<p ><%= authoring forum.created_at, forum.creator %></p></div>	
		<div class="forums-index-count">
			<table class="forums-count-color"><tr class="forums-count-color" align="center"><td><%= link_to (forum.memo_count), forum_path(forum) %></td><td><%= link_to (forum.topic_count), forum_path(forum) %></td></tr>
			<tr align="center"><td>回答</td><td>帖子</td></tr></table></div> 
	</div>	
	<% end %>	
	<div class="pagination"><%= pagination_links_full @forums_pages, @forums_count %></div>
<% else %>
<% end %>
</div>