<{* start module contents *}>
<{* breadcrumbs  *}>
<div id="main_listcategories" class="clearfix">

	<div class="d3f_breadcrumbs">
		<a href="<{$mod_url}>/index.php?cat_ids=0"><{$smarty.const._MD_D3FORUM_LISTALLTOPICS}></a>
	</div>

	<div class="clearfix">
		<dl class="d3f_bbsinfo">
			<dt><{$smarty.const._MD_D3FORUM_TOTALTOPICSCOUNT}>:</dt>
				<dd><{$total_topics_count}></dd>
			<dt><{$smarty.const._MD_D3FORUM_TOTALPOSTSCOUNT}>:</dt>
				<dd><{$total_posts_count}></dd>
			<dt><{$smarty.const._MD_D3FORUM_TIMENOW}>:</dt>
				<dd><{$currenttime_formatted}></dd>
			<dt><{$smarty.const._MD_D3FORUM_LASTVISIT}>:</dt>
				<dd><{$lastvisit_formatted}></dd>
		</dl>
	</div>

	<{* Start Categories *}>
	<div class="d3f_cat">
		<{foreach item="category" from=$top_categories}>
			<div class="d3f_cat_main">
			<a href="<{$mod_url}>/index.php?cat_id=<{$category.id}>"><img src="<{$xoops_imageurl}>images/category_<{$category.bit_new}>.gif" alt="" width="20" height="20" />&nbsp;&nbsp;<{$category.title}></a>&nbsp;&nbsp;&gt;
			</div>
			<div class="d3f_cat_sub">
				<ul>
					<{foreach item=forum from=$category.forums}><{* Forrums *}>
					<li><a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><img src="<{$xoops_imageurl}>images/forum_<{$forum.bit_new}>.gif" alt="<{$forum.title}>" width="20" height="20" />&nbsp;&nbsp;<{$forum.title}></a></li>
					<{/foreach}>
				</ul>
			</div>
		<{/foreach}>
	</div>
	<{* End categories *}>

	<{* Start Sub Categories *}>
	<div class="d3_scat">
		<{foreach item="category" from=$top_categories}>
		<{if $category.subcategories}>
		<ul>
			<li><a href="<{$mod_url}>/index.php?cat_id=<{$category.id}>"><img src="<{$xoops_imageurl}>images/category_<{$category.bit_new}>.gif" alt="" width="16" height="16" /><{$category.title}></a>&nbsp;&nbsp;&gt;&nbsp;&nbsp;
				<{foreach item=category from=$category.subcategories}>
					<ul>
					<li>
					&nbsp;&nbsp;&nbsp;&nbsp;<a href="<{$mod_url}>/index.php?cat_id=<{$category.id}>"><img src="<{$xoops_imageurl}>images/category_<{$category.bit_new}>.gif" alt="" width="16" height="16" /><{$category.title}></a>&nbsp;&nbsp;&gt;&nbsp;&nbsp;

						<{foreach item=forum from=$category.forums}>
							<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>" title="<{$block.lang_lastupdated}>:<{$forum.last_post_time_formatted}>"><img src="<{$xoops_imageurl}>images/forum_<{$forum.bit_new}>.gif" alt="<{$forum.title}>" width="16" height="16" /><{$forum.title}></a>
						<{/foreach}>
					</li>
					</ul>
				<{/foreach}>
			</li>
		</ul>
		<{/if}>
		<{/foreach}>
	</div>
	<{* End Sub Categories *}>

</div>

<{* xugj_block topics *}>
<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="d3forum,20,1,time,1,0,," item="block"}>
<{include file="$xoops_theme/templates/d3forum/block_list_topics.html"}>

<{include file='db:system_notification_select.html'}>

