<!--<?php
include_once PrintEot('left');
print <<<EOT
-->
<table width=98% align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=2><b>{#guide}</b></td></tr>
<tr><td class=b><br>
<ul><li>{#postcheck_info}</li></ul>
<br></td></tr></table>
<br>

<form action="$basename&" method=post>
<input type=hidden name=job value='search'>
<table width="98%" align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head>{#postcheck_list}</td></tr>
<tr><td width="35%" class=b>{#forums} : <select name="fid"><option>{#select_forum}</option>$forumcache</select> &nbsp; 
{#author} : <input type=text size=20 name="username"> &nbsp; 
<input type=submit value="{#submit}"></td></tr>
</table>
</form>

 &nbsp; $pages
<form action="$basename&" method=post>
<input type=hidden name=job value=search>
<input type=hidden name=step value=2>
<table width='98%' align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=7>{#postcheck_list}</td></tr>
<tr align=center class=head_2>
<td width='5%'>ID</td>
<td>{#title}</td>
<td>{#view_topic}</td>
<td width='15%'>{#author}</td>
<td width='15%'>{#forums}</td>
<td width='15%'>{#posttime}</td>
<td width='6%'></td></tr>
<!--
EOT;
$num=($page-1)*$db_perpage;
foreach($postdb as $key=>$post){
$num++;
print <<<EOT
-->
<tr align=center class=b>
<td>$num</td>
<td><a href="$admin_file?adminjob=content&type=post&id=$post[pid]" target="_blank">$post[subject]</a></td>
<td><a href="read.php?tid=$post[tid]" target='_blank'>{#view_topic}</a></td>
<td><a href="profile.php?action=show&uid=$post[authorid]" target='_blank'>$post[author]</td>
<td>$post[name]</td>
<td class='smalltxt'>$post[postdate]</td>
<td><input type=checkbox name="selid[]" value='$post[pid]'></td></tr>
<!--
EOT;
}print <<<EOT
-->
</td></tr></table>
<br><center><input type=radio name="type" value=del>{#del}<input type=radio name="type" value=pass checked>{#pass}
<br><br>
<input type="button" name="chkall" value="{#sel_all}" onclick="CheckAll(this.form)">
<input type=submit value="{#submit}"></center></form>
<!--
EOT;
include_once PrintEot('adminbottom');
?>
-->