<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>">
<link href="images/style.css" rel=stylesheet type=text/css>
<script language="JavaScript" src="js/common.js" type="text/javascript"></script>
</head>
<body>
<table width=100% border=0 align=center cellpadding=0 cellspacing=1 class=tableborder>
	<form action="" method=post onSubmit="return checkform(this);">
	<tr class="bgs">
	  <td width="5%" height=25>编号</td>
	  <td width="15%">名称</td>
      <td width="10%">手机</td>
      <td width="10%">积分</td>
      <td width="10%">余额</td>
	  <td width="20%">最后登录时间</td>
	  <td width="15%">操作</td>
	</tr>

<?php 
foreach($userinfo AS $info)
{
?>
	<tr>
	  <td><label><input name="id[]" type="checkbox" id="id[]" value="<?=$info[userid]?>" /><?=$info[userid]?></label></td>
	  <td align="left"><?=$info[username]?></td>
      <td align="left"><?=$info[phone]?></td>
      <td align="center"><?=$info[credit]?></td>
	  <td align="center">￥<?=$info[money]?></td>
	  <td align="center"><?=$info[lastlogintime]?></td>
	  <td class="tda"><a href="member.php?act=edit&id=<?=$info[userid]?>">修改</a><a href="member.php?act=batch&id=<?=$info[userid]?>" onClick="if(!confirm('确定要删除吗？\n\n此操作不可以恢复！'))return false;">删除</a>
	  </td>
	</tr>
	
<?
}
?>

<tr>
	
	<td colspan=8>
		<input name="checkall" type="checkbox" id="checkall" onClick="CheckAll(this.form)"/>
		<input type="hidden" name="act" value="batch">
		<input name="submit" type="submit" id="submit" value=" 批量删除 " onClick="if(!confirm('确定要删除吗？\n\n此操作不可以恢复！'))return false;"><? include tpl('page');?>
	</td>
	
</tr></form>
    </table>

</body>
</html>