<link href="styles/general.css" rel="stylesheet" type="text/css" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/transport.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/listtable.js"></script>
<body>
<h1>
<span class="action-span"><a href="?ctl=member&act=member_add"><tpl>$member_add</tpl><!--添加会员--></a></span>
<span class="action-span1"><a href="?ctl=index&act=admin_main"><tpl>$common_admin_index</tpl><!--管理首页--></a> >> <tpl>$member_list</tpl><!--会员列表--></span>
<div style="clear:both"></div>
</h1>
<div class="form-div">
  <form action="index.php" method="get" name="searchForm">
  <input type="hidden" name="ctl" value="member" />
  <input type="hidden" name="act" value="member_list" />
    <img src="images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
    &nbsp;<tpl>$member_list_name</tpl><!--会员名称--> &nbsp;<input type="text" name="keyword" /> <input type="submit" class="button" value="<tpl>$member_list_search</tpl>" />
  </form>
</div>

<form method="POST" action="index.php?ctl=member&act=member_del" name="listForm">
<div class="list-div" id="listDiv">
<table width="100%" cellpadding="3" cellspacing="1">
  <tr>
    <th width="8%" align="left">
      <input onclick='listTable.selectAll(this, "member_id")' type="checkbox"><tpl>$member_list_bn</tpl><!--编号--></th>
    <th width="24%"><tpl>$member_list_name</tpl><!--会员名称--></th>
    <th width="31%"><tpl>$member_list_email</tpl><!--电子邮件--></th>
    <th width="18%"><tpl>$member_list_time</tpl><!--注册时间--></th>
    <th width="15%"><tpl>$member_list_oper</tpl><!--操作--></th>
  <tr>
  <tpl>foreach $member_array as $val</tpl>
  <tr>
    <td><input type="checkbox" name="member_id[]" value="<tpl>$val['member_id']</tpl>" /><tpl>$val['member_id']</tpl></td>
    <td class="first-cell"><tpl>$val['member_name']</tpl></td>
    <td><tpl>$val['member_email']</tpl></td>
    <td align="center"><tpl>date("Y-m-d H:i:s",$val['member_time'])</tpl></td>
    <td align="center">
      <a href="index.php?ctl=member&act=member_add&member_id=<tpl>$val['member_id']</tpl>" title="<tpl>$member_list_edit</tpl>"><img src="images/icon_edit.gif" border="0" height="16" width="16" /></a>
      <a href="index.php?ctl=member&act=member_del&member_id=<tpl>$val['member_id']</tpl>" title="<tpl>$member_list_del</tpl>" onClick="return confirm('<tpl>$member_list_del_conf</tpl>');"><img src="images/icon_drop.gif" border="0" height="16" width="16" /></a></td>
  </tr>
  <tpl>/foreach</tpl>
  <tr>
      <td colspan="2">
      <input type="submit" id="btnSubmit" value="<tpl>$member_list_del</tpl>" disabled="true" class="button" /></td>
      <td align="right" nowrap="true" colspan="8">
      <tpl>$show_page</tpl></td>
  </tr>
</table>
</div>
<div id="footer">
<tpl>$common_copyright</tpl>
</div>
</body>