{template header}
<div id="middle">
<div id="c90">
<div class="t3 bcb"><div class="t3t bgb">{lang menu_ques_close}</div></div>
<div class="b3 bcb mb12">
<div class="w100">
<br />
<div class="f14B">{$ques_title}</div>
<div class="f13"><font color="red">{lang menu_ques_score}:{$ques_score}</font></div>
<div class="f13">&nbsp;</div>
<script language="JavaScript"> 
function check_score()
{
	var addscore=Number(addscoreform.addscore.value);
	var myscore=Number(addscoreform.myscore.value);
	if(addscore > myscore)
	{
      	document.getElementById("scoretip").innerHTML = "<font color=\"red\">{lang warning_score_less}</font>";
	  	addscoreform.addscore.options[0].selected = true;
	}
	else
	{
		document.getElementById("scoretip").innerHTML = "";
	}
}
</script>
<form name="addscoreform" action="handle.php" method="post">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr><td width="15%" class="f14">{lang menu_answer_count}:</td>
<td class="f14" width="85%" height="30">{$answercount}</td></tr>
<!--{if $ques_score}-->
<tr><td width="15%" class="f14">{lang menu_prompt}:</td>
<td class="f14" width="85%" height="30">
{lang warning_close_ques}
</td></tr>
<!--{/if}-->
<tr><td width="100%" height="8" colspan="2">&nbsp;</td></tr>
<tr><td width="15%">&nbsp;</td>
    <td width="85%">
	<input type="hidden" name="command" value="ques_close_submit" />
	<input type="hidden" name="qid" value="{$qid}" />
	<input type="hidden" name="formhash" value="{echo form_hash()}" />
	<input type="hidden" name="url" value="{echo get_referer($default = './')}" />
	<input type="submit" name="quesclosesubmit" value="{lang button_submit}" class="bnsrh" />&nbsp;&nbsp; 
	<input type="button" name="Submit2" onClick="history.back();" value="{lang button_notdo}" class="bnsrh" />
</td></tr>
</table>
</form>
<br />
</div>
</div>
</div>
</div>
{template footer}