{include file="head.html"}
<div id="maincontent">
  <div class="wrap">
    <div class="crumbs"> <a href="__APP__/index/home">{lang='用户管理'}</a> <a href="#">{lang='管理员管理'}</a> </div>
    <hr />
    <div class="admin_main_function">
    <a href="javascript:void(0)" onclick="open_window('__URL__/add','{lang='添加管理员'}');" >{lang='添加管理员'}</a>
    </div>
    <table class="list_table table_style">
      <thead>
         <tr>
            <th width="5%"><div align="center">ID</div></th>
            <th width="25%"><div align="center">{lang='帐号'}</div></th>
            <th width="25%"><div align="center">{lang='姓名'}</div></th>
            <th width="25%"><div align="center">{lang='管理组'}</div></th>
            <th width="20%"><div align="center">{lang='管理操作'}</div></th>
          </tr>
      </thead>      
      <?php if(is_array($list)) foreach ($list as $vo) { ?>
        <tr id="del_{$vo['id']}">
          <td align="center">{$vo['id']}</td>
          <td align="center">{$vo['user']}</td>
          <td align="center">{$vo['name']}</td>
          <td align="center">{$vo['gname']}</td>
          <td align="center">
          <a href="javascript:void(0)" onclick="open_window('__URL__/edit-{$vo['id']}','{lang='修改'}');">{lang='修改'}</a> | 
          <a onclick="del('__URL__/del-{$vo['id']}','{lang='确认要删除该用户吗？'}','{lang='操作提示'}',this)" href="javascript:void(0)">{lang='删除'}</a>
          </td>
        </tr>
        <?php } ?>
    </table>
  </div>
</div>
</body></html>