<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>
<h3><span><a href="admin.php?act=add">添加管理员</a></span></h3>
<table width=100% border=0 align=center cellpadding=0 cellspacing=1 class=tableborder>
            <tr class="bgs">
              <td width="16%">编号</td>
              <td width="24%">用户名</td>
              <td width="34%">邮箱</td>
              <td width="26%">操作</td>
            </tr>
<?

foreach($admin as $val)
{
?>
            <tr>
              <td><?=$val[userid]?></td>
              <td><?=$val[username]?></td>
              <td><?=$val[email]?></td>
              <td class="tda"><a href="admin.php?act=edit&id=<?=$val[userid]?>" title="编辑">编辑</a><a href="admin.php?act=delete&id=<?=$val[userid]?>&token=<?php echo $CFG[crypt];?>" onClick="if(!confirm('确定要删除吗？\n\n此操作不可以恢复！'))return false;" title="删除">删除</a></td>
            </tr>
<?
}
?>
        </table>
</body>
</html>