<!--
<?php
print <<<EOT
--> 
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="form_work" method="post" action="?lfj=$lfj&">
    <tr align="center" class="head"> 
      <td width="7%">序号</td>
      <td width="9%">提现金额(元)</td>
      <td width="13%"> 支付与否</td>
      <td width="15%">申请日期</td>
      <td width="16%">用户</td>
      <td width="14%">收款帐号</td>
      <td width="15%">操作员</td>
      <td width="11%">删除</td>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr bgcolor="#FFFFFF"> 
      <td width="7%" align="center"> 
        <input type="checkbox" name="listdb[{$rs[id]}]" value="{$rs[id]}">
        $rs[id]</td>
      <td width="9%" align="center"> $rs[money]</td>
      <td align="center" width="13%"> $rs[ifpay]</td>
      <td width="15%" align="center">$rs[posttime]</td>
      <td align="center" width="16%"><A HREF="../member/homepage.php?uid=$rs[uid]" target=_blank>$rs[username]</A></td>
      <td align="center" width="14%">$rs[bankname]</td>
      <td align="center" width="15%">$rs[admin]</td>
      <td align="center" width="11%"><a href="?lfj=$lfj&action=delete&id=$rs[id]">删除</a> 
        $rs[setpay]</td>
    </tr>
    <!--
EOT;
}print <<<EOT
-->
    <tr bgcolor="#FFFFFF" align="center"> 
      <td colspan="8"> <a href="#" onClick="CheckAll('all')">全选</a> / <a href="#" onClick='CheckAll()'>反选</a> 
        {$showpage} 
        <input type="button" name="Submit" value="删除" onclick="postdo('delete')">
        <SCRIPT LANGUAGE="JavaScript">
<!--
function CheckAll(va){
	form=document.form_work
	for (var i=0;i<form.elements.length;i++){
		var e = form.elements[i];
		if(va=='all'){
			e.checked = true;
		}else{
			e.checked == true ? e.checked = false : e.checked = true;
		}
	}
}
function postdo(d){
	document.form_work.action.value=d;
	document.form_work.submit();
}
//-->
</SCRIPT>
        <input type="hidden" name="action">
      </td>
    </tr>
  </form>
</table>
<!--
EOT;
?>
-->
