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

📄 adminuser.asp

📁 视频点播系统
💻 ASP
字号:
<!--#include file="security.asp"-->
<%if session("flag")>1 then
    response.write "<br><p align=center>您的操作权限不够!</p>"
    response.end
end if
%>
<!--#include file="articleconn.asp"-->
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>用户管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type=text/css>
body  { background:#799AE1; margin:0px; font:9pt 宋体; }
table  { border:0px; }
td  { font:normal 12px 宋体; }
img  { vertical-align:bottom; border:0px; }
a  { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover  { color:#428EFF;text-decoration:underline; }
.sec_menu  { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
.menu_title  { }
.menu_title span  { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2  { }
.menu_title2 span  { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>

</head>

<%
   Set rs=Server.CreateObject("Adodb.RecordSet")
   
   sql="select * from password order by id"
   
   rs.Open sql,conn,1,1
%>
<body bgcolor="#E8E8E8" topmargin="1" leftmargin="2">

<div align="center">
 <p><font color="#FFFFFF">修改管理员信息</font> | <a href="adduser.asp">增加管理员</a></p>
  <table width="500" border="0" cellspacing="1" cellpadding="4">
    <tr bgcolor="#145f74">
      <td height="9" width="120" style="font-weight: bold; color: maroon; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid gray; background-color: silver">
      <div align="center">
        用户名</div>
      </td>
      <td height="9" width="120" style="font-weight: bold; color: maroon; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid gray; background-color: silver">
      <div align="center">
        密码</div>
      </td>
      <td height="9" width="100" style="font-weight: bold; color: maroon; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid gray; background-color: silver">
      <div align="center">
        权限</div>
      </td>
      <td height="9" width="130" style="font-weight: bold; color: maroon; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid gray; background-color: silver">
      <div align="center">
        操作</div>
      </td>
    </tr>
    <%do while not rs.EOF %>
    <form method="post" action="asaveuser.asp" style="margin:0">
      <tr bgcolor="#145f74">
        <td height="8" width="120" style="color: black; border-style: none" bgcolor="#F0F0F0" align="center">
        <input type="text" name="manager" value="<%=rs("name")%>" size="12">
        <input type="hidden" name="id" value="<%=rs("id")%>" size="12"></td>
        <td height="8" width="120" style="font-weight: normal; color: black; border-style: none; background-color: #F0F0F0" align="center">
        <input name="newpin" size="12"> </td>
        <td height="8" width="100" style="font-weight: normal; color: black; border-style: none; background-color: #F0F0F0" align="center">
        <select size="1" name="flag">
        <option <%if rs("flag")=3 then%> selected <%end if%> value="3">初级管理员
        </option>
        <option <%if rs("flag")=2 then%> selected <%end if%> value="2">高级管理员
        </option>
        <option <%if rs("flag")=1 then%> selected <%end if%> value="1">超级管理员
        </option>
        <option <%if rs("flag")=4 then%> selected <%end if%> value="4">无管理权限
        </option>
        </select> </td>
        <td height="8" width="130" style="font-weight: normal; color: black; border-style: none; background-color: #F0F0F0" align="center">
        <input type="submit" name="Submit" value="修改">&nbsp;
        <input type="submit" name="Submit" value="删除"> </td>
      </tr>
    </form>
    <%  
     rs.MoveNext
     
     loop
  %>
  </table>
  <%
  rs.Close
  set rs=Nothing
  
  conn.Close
  set conn=Nothing
%>
  <p> </p>
  <div align="center">
    <center>
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="500" id="AutoNumber1">
      <tr>
        <td width="100%">
        <p align="center"><span lang="zh-cn">为了安全后台管理员密码采用MD5加密,<font color="#FF0000">修改</font>密码前请先用记事本将密码记好否则一但忘记将永远无法找回</span></td>
      </tr>
    </table>
    </center>
  </div>
</div>
<p align="center"><font color="#FF0000">密码要:<span lang="zh-cn"><font size="2">数字+字母10位以上</font></span></font></p>

</body>

</html>

⌨️ 快捷键说明

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