<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/utils.js"></script>
<body>
<h1>
<span class="action-span"><a href="?ctl=system&act=system_admin_add"><tpl>$system_admin_add</tpl><!--添加管理员--></a></span>
<span class="action-span1"><a href="?ctl=index&act=admin_main"><tpl>$common_admin_index</tpl><!--管理首页--></a> >> <tpl>$system_admin_list</tpl><!--管理员列表--></span>
<div style="clear:both"></div>
</h1>
<div class="list-div" id="listDiv">
<table cellspacing='1' cellpadding='3' id='list-table'>
  <tr>
    <th><tpl>$system_admin_list_name</tpl><!--管理员名称--></th>
    <th><tpl>$system_admin_list_email</tpl><!--管理员email--></th>
    <th><tpl>$system_admin_list_time</tpl><!--加入时间--></th>
    <th><tpl>$system_admin_list_login_time</tpl><!--最后登录时间--></th>
    <th><tpl>$system_admin_list_oper</tpl><!--操作--></th>
  </tr>
  <tpl>foreach $admin_array as $val</tpl>
  <tr>
    <td class="first-cell" ><tpl>$val['admin_name']</tpl></td>
    <td align="left"><tpl>$val['admin_email']</tpl></td>
    <td align="center"><tpl>date("Y-m-d H:i:s",$val['admin_time'])</tpl></td>
    <td align="center"><tpl>if $val['admin_login_time'] != ''</tpl><tpl>date("Y-m-d H:i:s",$val['admin_login_time'])</tpl><tpl>else</tpl><tpl>$system_admin_list_no_login</tpl><!--没有登录过--><tpl>/if</tpl></td>
    <td align="center">
	<tpl>if $val['admin_id'] != 1</tpl>
      <a href="index.php?ctl=system&act=system_admin_power&admin_id=<tpl>$val['admin_id']</tpl>&user=<tpl>$val['admin_name']</tpl>" title="<tpl>$system_admin_list_power</tpl>"><img src="images/icon_priv.gif" border="0" height="16" width="16"></a>
	<tpl>/if</tpl>
      <!-- <a href="" title="<tpl>$system_admin_list_log</tpl>"><img src="images/icon_view.gif" border="0" height="16" width="16"></a>&nbsp;&nbsp;-->
      <a href="index.php?ctl=system&act=system_admin_add&admin_id=<tpl>$val['admin_id']</tpl>" title="<tpl>$system_admin_list_edit</tpl>"><img src="images/icon_edit.gif" border="0" height="16" width="16"></a>&nbsp;&nbsp;
	  <tpl>if $val['admin_id'] != 1</tpl>
      <a href="index.php?ctl=system&act=system_admin_del&admin_id=<tpl>$val['admin_id']</tpl>" title="<tpl>$system_admin_list_del</tpl>" onClick="return confirm('<tpl>$system_admin_list_del_conf</tpl>');"><img src="images/icon_drop.gif" border="0" height="16" width="16"></a>
	  <tpl>/if</tpl>
	  </td>
  </tr>
  <tpl>/foreach</tpl>
</table>
</div>
<div id="footer">
<tpl>$common_copyright</tpl>
</div>
</body>