<!--<?php
include_once PrintEot('left');
print <<<EOT
-->
<form action="$basename&" method="post">
<input type="hidden" name="action" value="search">
<table width="98%" align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=8>{#toollog_title}</td></tr>
<tr class="b"><td width="20%">{#search_keyword}</td>
<td><input type="text" name="keyword"> <input type="submit" value="{#submit}"></td></tr>
</table></form><br>

<form action="$basename" method="post">
<input type="hidden" name="action" value="del">
 &nbsp; $pages
<table width="98%" align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=8>{#toollog_title}</td></tr>
<tr class="c" align="center">
<td>ID</td>
<td width="6%">{#operate}</td>
<td>{#tool_descrip}</td>
<td width="5%">{#tool_price}</td>
<td width="5%">{#tool_nums}</td>
<td width="10%">IP</td>
<td>{#time}</td>
<td width="5%">{#del}</td>
</tr>
<!--
EOT;
$id=($page-1)*$db_perpage;
foreach($logdb as $key => $value){
$id++;
print <<<EOT
-->
<tr class="b" align="center">
<td>$id</td>
<td>$value[type]</td>
<td align="left">$value[descrip]</td>
<td>$value[money]</td>
<td>$value[nums]</td>
<td>$value[ip]</td>
<td>$value[time]</td>
<td><input type="checkbox" name="selid[]" value="$value[id]"></td>
</tr>
<!--
EOT;
}print <<<EOT
-->
</table>
<br><center><input type="button" name="chkall" value="{#sel_all}" onclick="CheckAll(this.form)"><input type=submit value='{#submit}'></center></form>
<!--
EOT;
include_once PrintEot('adminbottom');
?>
-->