⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manager_list.asp

📁 电子商城
💻 ASP
字号:
<%
if request.cookies("adminok")="" then
  response.redirect "Admin_login.htm"
end if
%>

<html>
<head>
<title>管理员审查</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<STYLE type=text/css>.main {
	FONT-SIZE: 12px
}
.main1 {
	FONT-SIZE: 14px
}
.main2 {
	FONT-SIZE: 16px
}
.main3 {
	FONT-SIZE: 7px
}
.main4 {
	FONT-SIZE: 10px
}
A:link {
	COLOR: #ffffff; TEXT-DECORATION: none
}
A:visited {
	COLOR: #ffffff; TEXT-DECORATION: none
}
A:active {
	COLOR: #ff0000; TEXT-DECORATION: none
}
A:hover {
	COLOR: #aa0000; TEXT-DECORATION: underline
}
</STYLE>
<script language="javascript">
    function confirmdel(id){
       if (confirm("真的要删除此管理员帐号?")) 
       window.location.href="del_manager.asp?id="+id+"  "   }  
</script>
</head>
<body  text="#000000">

<br>
      <div align="center">
        <center>
<!--#include file="conn.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sqltext="select * from Manage_User" 
rs.open sqltext,conn,1,1
%>            <TABLE cellSpacing=1 cellPadding=4 width=428 bgColor=#5A8BCE height="136">
              <TBODY>
              <TR vAlign=top bgColor=#BECFF1>
                
        <TD class=main1 width="414" height="10" bgcolor="#8CAAE7"></TD>
      </TR>
              <TR vAlign=top bgColor=#BECFF1>
                <TD width="414" height="18" bgcolor="#E6F7FF" class=main1>管理员审查</TD>
              </TR>
              <TR vAlign=top bgColor=#BECFF1>
                <TD width="414" height="15" bgcolor="#E6F7FF" class=main1>
                  <table width="101%" border="0" cellpadding="4" cellspacing="1" bordercolorlight="#BECFF1" bordercolordark="#BECFF1" bgcolor="#5A8BCE">
                    <tr class=main1>
                      
              <td width="40%" align="center" height="20">管理员帐号</td>
                      
              <td width="35%" align="center" height="20">管理员密码</td>
              <td width="77%" height="20" align="center">操作</td>
                      
              <td width="62%" align="center" height="20">DEL</td>
                    </tr>
<%
if not rs.eof then
  do while not rs.eof 
%> 
                   <tr bgcolor="#E6F7FF" class=main1>
                      <td width="40%" height="25" align="center"><%=rs("UserName")%></td>
                      <td width="35%" height="25" align="center"><%=rs("PassWord")%></td>
                      <td width="77%" height="25" align="center">
                     <%response.write "<a href='manager_modify.asp?ID="&rs("Id")&"'  ><font color=#0000FF>修改密码</font></a>"
%></td>
                      <td width="62%" height="25" align="center">
                     <%response.write "<a href='javascript:confirmdel(" & rs("Id") & ")'><font color=#0000FF>删</font></a>"
%></td>
                    </tr>
<%
    rs.movenext
   loop
end if
%>
                </table>                </TD></TR>
              <TR bgColor=#BECFF1>
                <TD width="414" height="27" bgcolor="#E6F7FF" class=main1>
                  <p align="center">               
                </TD></TR>
              <TR bgColor=#BECFF1>
                
        <TD class=main1 width="414" height="4" bgcolor="#8CAAE7"></TD>
      </TR></TBODY></TABLE><br>
<%
rs.close
conn.close
%>        </center>
      </div>
</body>
</html>


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -