
<p class="forum_navi">
	{$navigation}{$lang.f_navi_separator}
	<a class="forum_links_navi" href="index.php?p=forum&amp;action=search_mask&amp;area={$area|default:'1'}">{$lang.f_link_search}</a>
</p> 

<p>
	{$pages}
</p>

<table width="100%" cellpadding="0" cellspacing="1" class="forum_tableborder">
	<tr>
		<th class="forum_header " width="30px"></th>
		<th class="forum_header " width="30px"></th>
		<th class="forum_header " width="*">{$lang.f_header_theme}</th>
		<th class="forum_header " width="10%">{$lang.f_header_postreply}</th>
		<th class="forum_header " width="15%">{$lang.f_header_author}</th>
		<th class="forum_header " width="10%">{$lang.f_header_hits}</th>
		<th class="forum_header " width="10%">{$lang.f_header_rank}</th>
	</tr>
    {foreach from=$matches item=topic}
	<tr>
		<td class="forum_info_icon">{$topic->statusicon}</td>
		<td class="forum_info_icon">{get_post_icon icon=$topic->posticon theme=$theme}</td>
		<td class="forum_info_main">
			<a class="forum_links" href="{$topic->link}&amp;high={$smarty.get.pattern}">{$topic->title|sslash}</a>
			&nbsp;
				{section name=topic_navigation loop=$topic->navigation_count+1 start=1 max=7}
					{if $smarty.section.topic_navigation.first}
						( <a class="forum_links_smaller" href="index.php?p=showtopic&amp;toid={$topic->id}&amp;pp=15&amp;page={$smarty.section.topic_navigation.index}&amp;area={$area|default:'1'}">{$smarty.section.topic_navigation.index}</a>&nbsp;
					{elseif $smarty.section.topic_navigation.last}
						<a class="forum_links_smaller" href="index.php?p=showtopic&amp;toid={$topic->id}&amp;pp=15&amp;page={$smarty.section.topic_navigation.index}&amp;area={$area|default:'1'}">{$smarty.section.topic_navigation.index}</a>
					{else}
						<a class="forum_links_smaller" href="index.php?p=showtopic&amp;toid={$topic->id}&amp;pp=15&amp;page={$smarty.section.topic_navigation.index}&amp;area={$area|default:'1'}">{$smarty.section.topic_navigation.index}&nbsp;</a>
					{/if}
				{/section}
				{if $topic->navigation_count > 7} ... <a class="forum_links_smaller" href="index.php?p=showtopic&amp;toid={$topic->id}&amp;pp=15&amp;page={$topic->navigation_count}&amp;area={$area|default:'1'}">{$lang.forum_links_last_page}</a> ){elseif $topic->navigation_count > 0}){/if}
				<p>
					{$lang.f_field_forum}: <a class="forum_links_small_bold" href="index.php?p=showforum&amp;fid={$topic->forum_id}&amp;area={$area|default:'1'}">{$topic->f_title}</a>
				</p>
		</td>
		<td class="forum_info_meta">{if $topic->replies-1 == 0}-{else}<a href="#" class="forum_links" onclick="window.open('index.php?p=misc&amp;do=showposter&amp;tid={$topic->id}&amp;area={$area|default:'1'}', 'moo', 'toolbar=no,scrollbars=yes,resizable=yes,width=300,height=400')">{$topic->replies-1}</a>{/if}</td>
		<td class="forum_info_main"><div align="center"><a class="forum_links" href="{$topic->autorlink}">{$topic->autor}</a></div></td>
		<td class="forum_info_meta">{$topic->views}</td>
		<td class="forum_info_meta">
			{if $topic->rating}
			  <img src="templates/{$theme}/img/forum/{$topic->rating}.gif" alt="{$lang.f_prating}" />
			{/if}
		</td>
	</tr>
    {/foreach}
</table>
<p>
	{$pages}
</p>