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

📄 manager_list.asp

📁 本文通过分析国内外网上购物系统的发展现状
💻 ASP
字号:
<%
if request.cookies("adminok")="" then
  response.redirect "shop_login.htm"
end if
%>

<html>
<head>
<title>管理员审查</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<script language="javascript">
    function confirmdel(id){
       if (confirm("真的要删除此管理员帐号?")) 
       window.location.href="del_manager.asp?id="+id+"  "   }  
</script>
</head>
<body  text="#000000">
<!--#include file="index_top.asp" -->
<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=#416327 height="136">
              <TBODY>
              <TR vAlign=top bgColor=#e6e4c4>
                <TD class=main1 width="414" height="10" bgcolor="#99ccff"></TD></TR>
              <TR vAlign=top bgColor=#e6e4c4>
                <TD class=main1 width="414" height="18">管理员审查--</TD></TR>
              <TR vAlign=top bgColor=#e6e4c4>
                <TD class=main1 width="414" height="15">
                  <table border="1" cellpadding="0" cellspacing="0" width="101%" bordercolorlight="#99ccff" bordercolordark="#E6E4C4">
                    <tr class=main1>
                      <td width="40%" bgcolor="#99ccff" align="center" height="20"><font color="#FFFFFF">管理员帐号</font></td>
                      <td width="35%" bgcolor="#99ccff" align="center" height="20"><font color="#FFFFFF">管理员密码</font></td>
                      <td width="77%" bgcolor="#99ccff" align="center" height="20"><font color="#FFFFFF">操作</font></td>
                      <td width="62%" bgcolor="#99ccff" align="center" height="20"><font color="#FFFFFF">DEL</font></td>
                    </tr>
<%
if not rs.eof then
  do while not rs.eof 
%> 
                   <tr class=main1>
                      <td width="40%" align="center" height="25"><%=rs("UserName")%></td>
                      <td width="35%" align="center" height="25"><%=rs("PassWord")%></td>
                      <td width="77%" align="center" height="25">
                      <%response.write "<a href='manager_modify.asp?ID="&rs("Id")&"'  ><font color=#0000FF>修改密码</font></a>"
%></td>
                      
              <td width="62%" align="center" height="25"> <%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=#e6e4c4>
                <TD class=main1 width="414" height="27">
                  <p align="center">&nbsp;               
                </TD></TR>
              <TR bgColor=#e6e4c4>
                <TD class=main1 width="414" height="4" bgcolor="#99ccff"></TD></TR></TBODY></TABLE><br>
    <%
rs.close
conn.close
%> 
  </center>
      </div>
</body>
</html>


⌨️ 快捷键说明

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