<{foreach item="category" from=$top_categories}>
<{if $category.subcategories or $category.forums or $xoops_isadmin}>
<{include file="db:`$mydirname`_inc_moderators.html" target=$category}>
<{$smarty.const._MD_D3FORUM_TOPICSCOUNT}>: <{$category.topics_count}> <{$smarty.const._MD_D3FORUM_POSTSCOUNT}>: <{$category.posts_count}>
<{if $category.last_post_time}><{$smarty.const._MD_D3FORUM_LASTPOST}>: <{$category.last_post_time_formatted}><{/if}>
<{if $category.desc}>
<{$category.desc}>
<{/if}>
<{if $category.subcategories}>
<{$smarty.const._MD_D3FORUM_SUBCATEGORIES}>
<{foreach item="subcategory" from=$category.subcategories}>
- <{$subcategory.title}> (<{$smarty.const._MD_D3FORUM_TOPICSCOUNT}>: <{$subcategory.topics_count}>, <{$smarty.const._MD_D3FORUM_POSTSCOUNT}>: <{$subcategory.posts_count}>)
<{/foreach}>
<{/if}>
<{if $category.forums}>
<{$smarty.const._MD_D3FORUM_FORUM}>
<{foreach item=forum from=$category.forums}>
-
<{$forum.title}>
<{$smarty.const._MD_D3FORUM_TOPICSCOUNT}>: <{$forum.topics_count}> <{$smarty.const._MD_D3FORUM_POSTSCOUNT}>: <{$forum.posts_count}>
<{if $forum.last_post_time}><{$smarty.const._MD_D3FORUM_LASTPOST}>: <{$forum.last_post_time_formatted}><{/if}>
<{/foreach}>
<{/if}>
<{/if}>
<{/foreach}>