{if $forum.empty eq 1}
{$lang.forum.no_topics_found}
{else}
<div class="forum_category_div">
	<dl>
		<dt class="first max_width" style="width:443px;padding:5px;"><b>&nbsp;{$lang.forum.topics}</b></dt>
		<dt class="norm_width" style="width:67px;padding:5px;"><b>{$lang.forum.author}</b></dt>
		<dt class="min_width" style="width:124px;padding:5px;"><b>{$lang.forum.last_post_date}</b></dt>
		<dt class="minimum_width" style="width:43px;padding:5px;"><b>{$lang.forum.posts}</b></dt>
	</dl>
	{section name=f loop=$forum}
	<dl class="dl_line">
		<dd class="first max_width" style="width:447px;">
			{if $forum[f].new_posts eq 0  || $guest eq 1}
			{else}
			{/if}		
			{if !($forum[f].new_posts eq 0  || $guest eq 1)}<b>{/if}
			<a href="{$file_name}?sel=subcategory&amp;id_subcategory={$forum[f].id}">{$forum[f].subcategory}</a>
			{if !($forum[f].new_posts eq 0  || $guest eq 1)}</b>{/if}
		</dd>
		<dd class="norm_width" style="width:70px;">
			{if $forum[f].poster_profile eq 1}
				<a href='{$site_root}/{$seo.viewprofile}?id={$forum[f].poster_id}' target="_blank">
				{/if}
				{$forum[f].poster_login}
				{if $forum[f].poster_profile eq 1}
				</a>
			{/if}
		</dd>
		<dd class="min_width" style="width:131px;">{$forum[f].date}</dd>
		<dd class="minimum_width" style="width:35px;">{$forum[f].total_posts}</dt>
	</dl>
	{/section}
</div>
{/if}