<!--<?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>
{#log_info}
</ul>
<br></td></tr></table><br>

<form action="$basename" method=post>
<input type=hidden name=action value=search>
<table width=98% align=center cellspacing=0 cellpadding=0>
<tr><td><table width=100% cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=5><span class=bold>{#log_search}</span></td></tr>
<tr align=center><td class=b>{#username}</td>
<td class=b><input type=text name=username></td>
<td class=b>{#admin}</td>
<td class=b><input type=text name=adminname></td>
<td class=b><input type=submit value='{#submit}'></td></tr>
</table></td></tr></table><br>
</form>


<table width=98% align=center cellspacing=0 cellpadding=0>
<tr><td><table width=100% cellspacing=1 cellpadding=5 class=i_table>
<tr><td class=head colspan=5>{#log_title}</td></tr>
<tr align=center class=head_2><td width=10%>{#username}</td><td width=10%>{#level}</td>
<td width=5%>{#posts}</td><td width=15%>{#regdate}</td>
<td width=10%>{#admin}</td></tr>
<!--
EOT;
foreach($userlogdb as $userlog){
if($userlog){
print <<<EOT
-->
<tr class=b align=center><td>$userlog[1]</td><td>$userlog[group]</td><td class=f_one>$userlog[3]</td>
<td>$userlog[regdate]</td><td>$userlog[5]</td></tr>
<!--
EOT;
}}
print <<<EOT
-->
</table></td></tr></table><br>
<center>
<!--
EOT;
if($action=='search'){print <<<EOT
-->
<a href='$basename'>{#log_view}</a>
<!--
EOT;
}else{print <<<EOT
-->
$pages
<!--
EOT;
}if($admin_gid==3){print <<<EOT
-->
<br><br><a href="$basename&del=Y">{#log_del}</a></center>
<!--
EOT;
}include_once PrintEot('adminbottom');
?>
-->