<!--<?php
include_once PrintEot('left');
print <<<EOT
-->
<form action="$basename" method="post" name="form1">
<input type="hidden" name="action" value="del">
<table width="100%" cellspacing="0" cellpadding="0">
<tr class="tr3"><td colspan="6">報告類型︰<select name="type" onchange="report_jump('$admin_file')">
<option value="1"></option>
<option value="1">優秀帖子</option>
<option value="0">不良帖子</option>
</select>
</td></tr>
<tr><td class="tr4" colspan=6><b>會員報告帖處理</b></td></tr>
<tr class="tr3 tac s3">
<td width='6%'>ID</td>
<td width='10%'>論壇</td>
<td width='10%'>帖子位置</td>
<td width='15%'>反映用戶</td>
<td>&nbsp;原因︰</td>
<td width='6%'>刪除</td>
</tr>
<!--
EOT;
$id=0;
foreach($reportdb as $report){
$id++;
print <<<EOT
-->
<tr class="tr3 tac">
<td>$id</td>
<td><a href="thread.php?fid=$report[fid]" target="_blank">$report[fname]</a></td>
<!--
EOT;
if($report['pid'] == 0){print<<<EOT
-->
<td><a href="read.php?tid=$report[tid]" target="_blank">進入帖子</a></td>
<!--
EOT;
}else{print<<<EOT
-->
<td><a href="job.php?action=topost&tid=$report[tid]&pid=$report[pid]" target="_blank">進入帖子</a></td>
<!--
EOT;
}print<<<EOT
-->

<td>$report[username]</td>
<td>&nbsp;$report[reason]</td>
<td><input type="checkbox" name="selid[]" value="$report[id]"></td></tr>
<!--
EOT;
}print <<<EOT
-->
</table><br>$pages
<center>
<input type="button" class="btn" name="chkall" value="全 選" onclick="CheckAll(this.form)">
<input type="submit" class="btn" name="hello" value="提 交">
</center></form><br/>
<!--
EOT;
include_once PrintEot('adminbottom');
?>
-->