<!--<?php
if($action=='showping'){print <<<EOT
-->
<form action="operate.php?action=$action&ajax=1" method="post" onsubmit="return false;">
<input type="hidden" name="verify" value="$verifyhash" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="tid" value="$tid" />
<!--
EOT;
foreach($atcdb as $key=>$value){print <<<EOT
-->
<input type="hidden" name="selid[]" value="$key" />
<!--
EOT;
}print <<<EOT
--><div class="bor">
<table width="100%" cellspacing="0" cellpadding="5">
<tr><th colspan="2" class="h" style="cursor:move" onmousedown="read.move(event);"><span class="fr" style="margin-top:2px;cursor:pointer" onclick="closep();"><img src="$imgpath/close.gif" /></span>帖子評分</th></tr>
<tr><td width="21%" align="center">評分數量︰</td>
<td>$count 篇</td></tr>
<tr><td align="center">積分名稱︰</td>
<td><select name="cid">$creditselect</select></td></tr>
<tr><td align="center">增加單位︰</td>
<td><input class="input" type="text" name="addpoint" value="1" size="5" /> 點 ($minper~$maxper)，今日剩余評分點數︰<span class="s3 b">{$leavepoint}</span></td></tr>
<tr><td align="center">操作類型︰</td>
<td><input type="radio" name="step" value="1" checked />評分&nbsp;
<input type="radio" name="step" value="2" />取消評分</td></tr>
<tr><td align="center">消息通知︰</td>
<td><input type="radio" name="ifmsg" value="1" $check_Y />
<input type="radio" name="ifmsg" value="0" $check_N /></td></tr>
<tr><td align="center">評分理由︰</td>
<td><select name="" size="6" style="width:70px" multiple onchange="this.form.atc_content.value=this.value">
	<option value="">自定義</option>
	<option value="">-------</option>
	$reason_sel
</select>
<textarea name="atc_content" onkeydown="ajax.quickpost(event,this.form)" style="width:180px;height:92px"></textarea>
</td></tr></table>
<ul><li style="text-align:center;padding:4px 0;"><input type="button" class="btn" name="ajaxsubmit" onclick="ajax.submit(this.form,marked);" value="提 交" /></li></ul></form>
</div>
<!--
EOT;
}elseif($action=='recommend'){print <<<EOT
-->
<div class="bor">
<form method="post" action="operate.php?action=recommend&ajax=1" onsubmit="return false;">
<input type="hidden" name="verify" value="$verifyhash" />
<input type="hidden" name="tid" value="$tid" />
<table width="100%" cellspacing="0" cellpadding="5">
	<tr><th colspan="2" class="h" style="cursor:move" onmousedown="read.move(event);"><span class="fr" style="margin-top:2px;cursor:pointer" onclick="closep();"><img src="$imgpath/close.gif" /></span>帖子推薦</th></tr>
	<tr>
		<td width="24%" align="center">推薦方式︰</td>
		<td><input type="radio" name="step" value="1" onclick="getObj('sendemail').style.display='none';" checked />短消息推薦 <input type="radio" name="step" value="2" onclick="getObj('sendemail').style.display='';" />郵件推薦</td>
	</tr>
	<tr>
		<td align="center">對方姓名︰</td>
		<td><input type="text" class="input" name="sendtoname" size="25" value="" /></td>
	</tr>
	<tbody id="sendemail" style="display:none">
	<tr><td align="center">對方Email︰</td>
		<td><input type="text" class="input" name="sendtoemail" size="25" value="" /></td>
	</tr>
	</tbody>
	<tr>
		<td align="center">標題︰</td>
		<td><input type="text" class="input" name="subject" size="44" value="$atc_name" /></td>
	</tr>
<!--
EOT;
if($db_gdcheck & 16){print <<<EOT
-->
	<tr>
		<td align="center">認證碼︰</td>
		<td><img src="ck.php?nowtime=1" align="absmiddle" onclick="this.src='ck.php?nowtime=' + new Date().getTime();" style="cursor:pointer;" /><br />
			<input type="text" class="input" name="gdcode" size="8" />
		</td>
	</tr>
<!--
EOT;
}print <<<EOT
-->
	<tr><td align="center">內容︰</td>
		<td><textarea rows="6" style="width:96%" name="atc_content" onkeydown="ajax.quickpost(event,this.form)">您好！我在$db_bbsname($db_bbsurl/?u=$winduid)\n看到了這篇帖子，認為很有價值，特推薦給您。\n\n作者︰$atcinfo[author]\n地址:{$db_bbsurl}/read.php?tid=$tid&u=$winduid\n\n希望您能喜歡。</textarea></td>
	</tr>
</table><ul><li style="text-align:center;padding:4px 0;"><input type="button" class="btn" name="ajaxsubmit" onclick="ajax.submit(this.form);" value="提 交" /></li></ul></form>
</div>
<!--
EOT;
}elseif($action=='report'){print <<<EOT
-->
<div class="bor">
<form action="operate.php?action=$action&ajax=1" method="post" onsubmit="return false;">
<input type="hidden" name="verify" value="$verifyhash" />
<table width="100%" cellspacing="0" cellpadding="5">
<tr><th colspan="2" class="h" style="cursor:move" onmousedown="read.move(event);"><span class="fr" style="margin-top:2px;cursor:pointer" onclick="closep();"><img src="$imgpath/close.gif" /></span>報告功能</th></tr>
<tr><td width="21%" align="center">報告類型︰</td>
<td><input type="radio" name="type" value="1" checked onclick="this.form.reason.value='該帖很優秀,建議加為精華帖!'" />優秀帖子 <input type="radio" name="type" value="0" onclick="this.form.reason.value='該帖包含不良信息,請及時處理!'" />不良帖子</td></tr>
<tr><td align="center">通知版主︰</td>
<td><input type="radio" name="ifmsg" value="1" checked />是
<input type="radio" name="ifmsg" value="0" />否</td></tr>
<tr><td align="center">原因︰</td>
<td><textarea id="reason" name="reason" rows="6" style="width:96%">該帖很優秀,建議加為精華帖!</textarea>
</td></tr></table>
<input type="hidden" name="step" value="2" />
<input type="hidden" name="tid" value="$tid" />
<input type="hidden" name="pid" value="$pid" />
<ul><li style="text-align:center;padding:4px 0;"><input type="button" class="btn" onclick="ajax.submit(this.form);" value="提 交" /></li></ul></form>
</div>
<!--
EOT;
}?>-->