<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>

<form action="" method=post>

<table width=100% border=0 align=center cellpadding=0 cellspacing=1 class=tableborder>	

	<tr class="bgs tc">

	  <td width="10%">编号</td>

	  <td width="20%">名称</td>

	  <td width="10%">注册来路</td>

	  <td width="20%">手机</td>

	  <td width="20%">最后登录时间</td>

	  <td width="20%">操作</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><?=$info[username]?></td>

	  <td><? if(empty($info[fid])){

			echo 'PC端';

			}elseif($info[fid]==1){

			echo '批量';

			}elseif($info[fid]==2){

			echo 'APP';

			}

	  ?></td>

	  <td><?=$info[phone]?></td>

	  <td><?=$info[lastlogintime]?></td>

	  <td class="tda"><a href="member.php?act=edit&id=<?=$info[userid]?>">修改</a>

	  </td>

	</tr>

	

<?

}

?>

<tr>

	<td colspan=6>

		<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>

    </table>

	</form>

</body>

</html>