{template header}
<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" style="table-layout: fixed"> 
<tr><td class="nav" width="90%" align="left" nowrap>&nbsp;<a href="index.php">$bbname</a> $navigation &raquo; {lang thread_rate}</td>
<td align="right" width="10%">&nbsp;<a href="#bottom"><img src="{IMGDIR}/arrow_dw.gif" border="0" align="absmiddle"></a></td>        
</tr></table><br>

<form method="post" action="misc.php?action=rate">
<input type="hidden" name="formhash" value="{FORMHASH}">
<input type="hidden" name="referer" value="$referer">

<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">

<tr class="header">
<td colspan="2">{lang thread_rate}</td>
</tr>

<tr>
<td class="altbg1" width="21%">{lang username}:</td>
<td class="altbg2">$discuz_userss <span class="smalltxt">[<a href="$link_logout">{lang member_logout}</a>]</span></td>
</tr>
<tr>
<td class="altbg1" width="21%">{lang author}:</td>
<td class="altbg2"><!--{if $post['author'] && !$post['anonymous']}--><a href="viewpro.php?uid=$post[authorid]">$post[author]</a><!--{else}-->{lang anonymous}<!--{/if}--></td>
</tr>

<tr>
<td class="altbg1" width="21%">{lang subject}:</td>
<td class="altbg2"><a href="viewthread.php?tid=$tid">$thread[subject]</a></td>
</tr>

<tr>
<td class="altbg1" valign="top" width="21%">{lang rate}:</td>
<td class="altbg2">
<!--{loop $ratelist $id $options}-->
	<select onchange="this.form.score$id.value=this.value" style="width: 8em">
	<option value="0">{$extcredits[$id][title]}</option>
	<option value="0">----</option>
	$options
	</select> <input type="text" name="score$id" value="0" size="3"> {$extcredits[$id][unit]} ({lang rate_quota_today})<br>
<!--{/loop}-->
</td></tr>

{template topicadmin_reason}

</table><br>

<input type="hidden" name="tid" value="$tid">
<input type="hidden" name="pid" value="$pid">
<input type="hidden" name="page" value="$page">
<center><input type="submit" name="ratesubmit" value="{lang submit}"></center>
</form>
{template footer}