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

<form action="$basename&" method="post">
<input type="hidden" name="action" value="del">
<table width="98%" align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=8><b>{#orderlist_admincp}</b> &nbsp; <a href="$basename">{#all_list}</a> | 
<a href="$basename&state=2">{#success_list}</a> | 
<a href="$basename&state=1">{#fail_list}</a></td></tr>
<tr class="head_2" align="center">
<td>ID</td>
<td>{#username}</td>
<td>{#list_num}</td>
<td>{#list_payemail}</td>
<td>{#list_money}</td>
<td>{#list_state}</td>
<td>{#list_time}</td>
<td>{#del}</td>
</tr>
<!--
EOT;
$id=($page-1)*$db_perpage;
foreach($orderdb as $key => $value){
if($value[state]==0){
$state='{#list_1}';
}elseif($value[state]==1){
$state='{#list_2}';
}elseif($value[state]==2){
$state='{#list_3}';
}
$id++;
print <<<EOT
-->
<tr class="b" align="center">
<td>$id</td>
<td>$value[username]</td>
<td>$value[order_no]</td>
<td>$value[payemail]</td>
<td>$value[number]</td>
<td>$state</td>
<td>$value[date]</td>
<td><input type="checkbox" name="selid[]" value="$value[id]"></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="{#delete}"></center></form>
<!--
EOT;
include_once PrintEot('adminbottom');
?>-->