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

📄 useredit.asp

📁 综合信息管理系统
💻 ASP
字号:
<!--#include file=conn.asp -->
<%
IF Session("KEY")<>"super"  THEN
response.redirect "index_face.asp"
response.end
END IF
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="style.css">
<title>修改</title>
</head>

<body>
<p> </p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="57%" id="AutoNumber1">
   <%
dim sql
dim rs
 sql="select * from admin where id="&request("id")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
                %> <form method="POST" action="saveedit.asp?id=<%=request("id")%>">

  <tr>
    <td width="100%" colspan="2" bgcolor=#abb8d6>
    <p align="center">修&nbsp;&nbsp;&nbsp; 改</td>
  </tr>
  <tr>
    <td width="46%">
    <p align="right">用 户 名:</td>
    <td width="54%"><input name="username" size="20" value="<%=rs("username")%>" readonly class="smallInput" maxlength="30" style="font-family: 宋体; font-size: 9pt">
</td>
  </tr>
  <tr>
    <td width="46%">
    <p align="right">口&nbsp;&nbsp;&nbsp; 令:</td>
    <td width="54%"><input name="passwd" size="20" value="<%=rs("passwd")%>" class="smallInput" maxlength="50" style="font-family: 宋体; font-size: 9pt">
</td>
  </tr>
  <tr>
    <td width="46%">
    <p align="right">用户权限:</td>
    <td width="54%"><select name="oskey" style="font-family: 宋体; font-size: 9pt">
                              <option <%if rs("oskey")="super" then%> selected <%end if%>value="super">系统管理员</option>
			      <option <%if rs("oskey")="check" then%> selected <%end if%>value="check">文章审核员</option>
                              <option <%if rs("oskey")="input" then%> selected <%end if%>value="input">文章录入员</option>
                            </select></td>
  </tr>
  <tr>
    <td width="100%" colspan="2">
    <p align="center"><input type="submit" value="修 改"
  name="cmdok" class="buttonface" style="font-family: 宋体; font-size: 9pt;">&nbsp; 
        <input type="reset" value="复 原"
  name="cmdcancel" class="buttonface" style="font-family: 宋体; font-size: 9pt;">&nbsp; 
        <input type="reset" value="返 回" onclick="javascript:history.go(-1)" class="buttonface" style="font-family: 宋体; font-size: 9pt;">

</td>
  </tr>
</table>
</form>
</body>

</html><% 
rs.close 
%>

⌨️ 快捷键说明

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