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

📄 managerlist.asp

📁 关于手机销售的ASP网站程序,程序不太,但功能很全,很是实用!
💻 ASP
字号:
<%
if request.cookies("adminok")="" then
  response.redirect "shoplogin.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="delmanager.asp?id="+id+"  "   }  
</script>
<href="../style.css">
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body  text="#000000">
<!--#include file="indextop.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=#eeeeee>
                <TD  width="414" height="10" bgcolor="#006699"></TD></TR>
              <TR vAlign=top bgColor=#eeeeee>
                <TD  width="414" height="18">管理员审查--</TD></TR>
              <TR vAlign=top bgColor=#eeeeee>
                <TD  width="414" height="15">
                  <table border="1" cellpadding="0" cellspacing="0" width="101%" bordercolorlight="#006699" bordercolordark="#eeeeee">
                    <tr >
                      <td width="40%" bgcolor="#006699" align="center" height="20"><font color="#FFFFFF">管理员帐号</font></td>
                      <td width="35%" bgcolor="#006699" align="center" height="20"><font color="#FFFFFF">管理员密码</font></td>
                      <td width="77%" bgcolor="#006699" align="center" height="20"><font color="#FFFFFF">操作</font></td>
                      <td width="62%" bgcolor="#006699" align="center" height="20"><font color="#FFFFFF">DEL</font></td>
                    </tr>
<%
if not rs.eof then
  do while not rs.eof 
%> 
                   <tr >
                      <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='manageredit.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=#eeeeee>
                <TD  width="414" height="27">
                  <p align="center">&nbsp;               
                </TD></TR>
              <TR bgColor=#eeeeee>
                <TD  width="414" height="4" bgcolor="#006699"></TD></TR></TBODY></TABLE><br>
<%
rs.close
conn.close
%>        </center>
      </div>
</body>
</html>


⌨️ 快捷键说明

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