<script language="javascript" src="{$jspath}/jrating.js" type="text/javascript"></script>
{include file="$incpath/forums/user_panel_forums.tpl"}
<div class="box_innerhead"><strong>{$pagetitle_html}</strong></div>

<table width="100%" border="0" cellpadding="5" cellspacing="1" class="forum_tableborder">
	<tr>
		<td class="forum_header" width="30px">&nbsp;</td>
		<td class="forum_header" width="30px">&nbsp;</td>
		<td class="forum_header">{#Forums_Header_theme#}</td>
		<td class="forum_header" align="center" width="40px">{#Forums_Header_postreply#}</td>
		<td class="forum_header" align="center">{#Forums_Header_author#}</td>
		<td class="forum_header" align="center" width="40px">{#Forums_Header_hits#}</td>
		<td class="forum_header" align="center" width="40px">{#Forums_Header_rank#}</td>
	</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}&nbsp;</td>
		<td class="forum_info_main">

<a class="forum_links" href="{$topic.link}&amp;high={$smarty.request.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 href="index.php?p=showtopic&amp;toid={$topic.id}&amp;pp=15&amp;page={$smarty.section.topic_navigation.index}">{$smarty.section.topic_navigation.index}</a>
{elseif $smarty.section.topic_navigation.last}
<a href="index.php?p=showtopic&amp;toid={$topic.id}&amp;pp=15&amp;page={$smarty.section.topic_navigation.index}">{$smarty.section.topic_navigation.index}</a>
{else}
<a href="index.php?p=showtopic&amp;toid={$topic.id}&amp;pp=15&amp;page={$smarty.section.topic_navigation.index}">{$smarty.section.topic_navigation.index}</a>
{/if}
				{/section}
				{if $topic.navigation_count > 7} ... <a href="index.php?p=showtopic&amp;toid={$topic.id}&amp;pp=15&amp;page={$topic.navigation_count}">{#forum_links_last_page#}</a>){elseif $topic.navigation_count > 0}){/if}
				<br />
				{#Forums_Field_forum#}: <a href="index.php?p=showforum&amp;fid={$topic.forum_id}">{$topic.f_title}</a>
				
		</td>
		<td class="forum_info_meta" align="center">{if $topic.replies-1 == 0}&nbsp;{else}<a href="javascript:void(0);" onclick="window.open('index.php?p=misc&amp;do=showposter&amp;tid={$topic.id}', 'moo', 'toolbar=no,scrollbars=yes,resizable=yes,width=300,height=400')">{$topic.replies-1}</a>{/if}</td>
		<td class="forum_info_main" align="center"><a href="{$topic.autorlink}">{$topic.autor}</a></td>
		<td class="forum_info_meta" align="center">{if $topic.views}{$topic.views}{else}&nbsp;{/if}</td>
		<td class="forum_info_meta" align="center" style="width:100px">{if $topic.rating}
            <input name="rating_{$topic.id}" type="radio" value="1" class="star" {if $topic.rating==1}checked="checked"{/if} disabled="disabled" /> 
            <input name="rating_{$topic.id}" type="radio" value="2" class="star" {if $topic.rating==2}checked="checked"{/if} disabled="disabled" /> 
            <input name="rating_{$topic.id}" type="radio" value="3" class="star" {if $topic.rating==3}checked="checked"{/if} disabled="disabled" /> 
            <input name="rating_{$topic.id}" type="radio" value="4" class="star" {if $topic.rating==4}checked="checked"{/if} disabled="disabled" /> 
            <input name="rating_{$topic.id}" type="radio" value="5" class="star" {if $topic.rating==5}checked="checked"{/if} disabled="disabled" />
        
        
        
        {else}&nbsp;{/if}		</td>
	</tr>
    {/foreach}
</table>
<p>{$pages}</p>
<p>&nbsp;</p>
{include file="$incpath/forums/forums_footer.tpl"}