<!--
<?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="9%">ID</td>
      <td width="10%">用户</td>
      <td width="11%">金额(元) </td>
      <td width="15%">日期</td>
      <td width="45%">详情</td>
      <td width="10%">删除</td>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr bgcolor="#FFFFFF"> 
      <td width="9%" align="center">$rs[id] 
        <input type="checkbox" name="listdb[{$rs[id]}]" value="{$rs[id]}">
      </td>
      <td width="10%" align="center"><a href="../member/homepage.php?uid=$rs[uid]" target=_blank>$rs[username]</a> 
      </td>
      <td align="center" width="11%">$rs[money] </td>
      <td width="15%" align="center">$rs[posttime]</td>
      <td align="center" width="45%">$rs[about]</td>
      <td align="center" width="10%"><a href="?lfj=$lfj&action=delete&id=$rs[id]">删除</a></td>
    </tr>
    <!--
EOT;
}print <<<EOT
-->
    <tr bgcolor="#FFFFFF" align="center"> 
      <td colspan="6"> <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;
?>
-->
