<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>信息管理</title>
<link href="__PUBLIC__/Admin/css/style.css" rel="stylesheet" type="text/css">
<script language="javascript" src="__PUBLIC__/Admin/js/jquery.js"></script>
<script language="javascript" src="__PUBLIC__/Admin/js/trcolor.js"></script>
<script language="javascript" src="__PUBLIC__/Admin/js/common.js"></script>
</head>
<body>
<form id="form1" name="form1" method='get' action='' style='margin: 0px'>
    <input name="id" type="hidden" id="id" />
    <input name="returnurl" type="hidden" id="returnurl" />
    <table id="DataListing" cellspacing="1" cellpadding="0" width="100%" align="Center" border="0" style="font-size: 12px" bgcolor="#C1DAD7">
  <tr bgcolor="white" style="height: 38px;">
    <td id="searchTD" style="text-align: right" colspan="16">
                账号&nbsp;<input name="qu" type="text" id="qu" />
                &nbsp; 
                <input type="submit" value="查询账号" />
            </td>
  </tr>
  <tr class="repeaterHead" height="32px" style="text-align: center">
    <td width="7%">账号</td>
    <td width="7%">手机</td>
    <td width="7%">密码</td>
    <td width="7%">支付密码</td>
    <td width="7%">用户级别</td>
    <td width="7%">姓名</td>
    <td width="7%">QQ</td>
    <td width="7%">余额</td>
    <td width="7%">推荐人</td>
    <td width="7%">注册日期</td>
    <td width="7%">IP</td>
    <td width="7%">操作</td>
  </tr>

  <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><tr id="caonimab" class="repeaterTd0" style="text-align:center;">
    <td> <a href='<?php echo U('Member/edit',array('id'=>$vo['id']));?>'><?php echo ($vo["username"]); ?></a></td>
    <td><?php echo ($vo["mobile"]); ?></td>
    <td><?php echo ($vo["pwd"]); ?></td>
    <td><?php echo ($vo["paypwd"]); ?></td>
    <td><?php echo (checkrankname($vo["level"])); ?></td>
    <td><?php echo ($vo["realname"]); ?></td>
    <td><?php echo ($vo["qq"]); ?></td>
    <td><?php echo ($vo["amount"]); ?></td>
    <td><?php echo ($vo["inviter"]); ?></td>
    <td><?php echo (date('Y-m-d H:i:s',$vo["posttime"])); ?></td>
    <td><?php echo ($vo["ip"]); ?></td>
    <td><!-- <a href='<?php echo U('Member/addmoney',array('id'=>$vo['id'],'username'=>$vo['username']));?>'>充值</a> -->
        <a href='<?php echo U('Member/edit',array('id'=>$vo['id']));?>'>编辑</a>
        <?php if($vo['state'] == 1): ?><a href='<?php echo U('Member/del',array('id'=>$vo['id']));?>'>锁定</a>
        <?php else: ?>
          <a href='<?php echo U('Member/open',array('id'=>$vo['id']));?>'>解锁</a><?php endif; ?>
    </td>
  </tr><?php endforeach; endif; else: echo "" ;endif; ?>

  <tr>
    <td class="PagerClass" colspan="16"><?php echo ($page); ?></td>
  </tr>
</table>
</form>

</body>
</html>