<!--<?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>{#guide}</td></tr>
<tr><td class=b><br>
<ul>
{#viewban_info}
</ul>
<br></td></tr></table><br>
<form action="$basename&" method=post>
<input type=hidden name=action value='freeban'>
 &nbsp; $pages
<table width=98% align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=8><b>{#viewban_list}</b></td></tr>
<tr class=head_2 align=center>
<td width=5%>ID</td>
<td width=15%>{#username}</td>
<td width=10%>{#viewban_type}</td>
<td width=15%>{#viewban_time}</td>
<td width=10%>{#viewban_limit}</td>
<td width=15%>{#admin}</td>
<td>{#viewban_reason}</td>
<td width=5%></td>
</tr>
<!--
EOT;
$num=($page-1)*$db_perpage;
foreach($bandb as $ban){
$num++;
print <<<EOT
-->
<tr class=b>
<td align=center>$num</td>
<td align=center>
<a href="profile.php?action=show&uid=$ban[uid]" target=_blank>$ban[username]</a></td>
<td align=center>
<!--
EOT;
if($ban[type]==1){print <<<EOT
-->
{#viewban_term}
<!--
EOT;
}else{print <<<EOT
-->
{#viewban_forever}
<!--
EOT;
}print <<<EOT
-->
</td>
<td align=center>$ban[date]</td>
<td align=center>$ban[days]</td>
<td align=center>$ban[admin]</td>
<td align=center>$ban[reason]</td>
<td align=center><input type='checkbox' name='free[]' value="$ban[uid]"></td></tr>
<!--
EOT;
}print <<<EOT
-->
</table>
 &nbsp; $pages
<br><center><input type="button" name="chkall" value="{#sel_all}" onclick="CheckAll(this.form)">
<input type="submit" name="hello" value="{#submit}"></center></form>
<!--
EOT;
include_once PrintEot('adminbottom');
?>
-->