<?php require_once('../../include/class.inc.php'); ?>
<!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=gb2312" />
<link rel="stylesheet" href="../inc/css.css" type="text/css" />
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE5 {color: #FFFFFF; font-weight: bold; }
-->
</style>
</head>

<body>
<table width="1055" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2"><div align="center">查看管理员信息
</div></td>
  </tr> 
  <tr>
    <td width="918"><?php
	$my->showpage();
	?></td>
    <td width="137"><a href="user_add.php">添加管理员账号</a></td>
  </tr>
  <tr>
    <td colspan="2"><table width="1052" border="0" align="center" cellpadding="2" cellspacing="1" bordercolor="#799AE1" class="tableBorder">
      <tbody>
        <tr bgcolor="#CCCCCC">
          <td height="20" bgcolor="#4455aa"><div align="center" class="STYLE5">编　号</div></td>
          <td height="20" bgcolor="#4455aa"><div align="center" class="STYLE5">账 号</div></td>
          <td height="20" bgcolor="#4455aa"><div align="center" class="STYLE5">密 码</div></td>
          <td height="20" bgcolor="#4455aa"><div align="center" class="STYLE5">操 作</div></td>
        </tr>
        <?php
$reault=$my->data_select('admin','','id desc','','10');
 while ($rs=mysql_fetch_array($reault)){
		?>
        <tr bgcolor="#DEE5FA">
          <td width="96" align="center" class="txlrow"><div align="center"><?php echo $rs["id"];?></div></td>
          <td width="319" align="center" class="txlrow"><div align="center"><?php echo $rs["username"];?></div></td>
          <td width="310" align="center" class="txlrow"><div align="center"><?php echo $rs["password"];?></div></td>
          <td width="304" align="center" class="txlrow"><div align="center"><a href="user_up.php?id=<?php echo $rs["id"];?>">修改</a> | <a href="deluser.php?id=<?php echo $rs["id"];?>" onclick="return window.confirm('确定删除？');">删除</a></div></td>
        </tr>
        <?php
}; 	
?>
        <tr bgcolor="#DEE5FA">
          <td colspan="4" align="center" class="txlrow"></td>
        </tr>
      </tbody>
    </table></td>
  </tr>
  <tr>
    <td colspan="2"><?php
    
	$my->showpage();
	
	?></td>
  </tr>
</table>
</body>
</html>
