Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
editadmin.asp
Upload User: xzjhbl
Upload Date: 2021-05-23
Package Size: 397k
Code Size: 2k
Category:
Education soft system
Development Platform:
HTML/CSS
- <!--#include file="conn.asp"-->
- <!--#include file="md5.asp"-->
- <%
- dim key
- key=request.querystring("key")
- if key<>"" then
- set rs=server.createobject("adodb.recordset")
- cmd="select * from admin where username like '"&key&"'"
- rs.open cmd,conn,1,3
- session("myuser")=key
- else
- response.Write("<script>alert('请选择管理员');window.location.href('Manageadmin.asp')</script>")
- response.end
- end if
- %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>无标题文档</title>
- <style type="text/css">
- <!--
- .style1 {font-size: 14px}
- .style2 {font-size: 10px}
- body {
- background-color: #0099cc;
- }
- -->
- </style>
- </head>
- <body>
- <form name="form1" method="post" action="updataadmin.asp">
- <table width="366" height="108" border="0" align="center">
- <tr>
- <td width="69"> </td>
- <td width="242"> </td>
- <td width="41"> </td>
- </tr>
- <tr>
- <td><span class="style1">管理帐号:</span></td>
- <td><input name="admin" type="text" disabled="disabled" id="admin" value="<%=rs("username")%>"></td>
- <td> </td>
- </tr>
- <tr>
- <td><span class="style1">管理密码:</span></td>
- <td><input name="psw" type="password" id="psw">
- <span class="style2">不修改请留空</span></td>
- <td> </td>
- </tr>
- <tr>
- <td><span class="style1">管理权限:</span></td>
- <td><input type="radio" name="quanxian" value="1">
- <span class="style1">管理员</span> <input name="quanxian" type="radio" value="2" checked>
- <span class="style1">教师</span></td>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- <td><input type="submit" name="Submit" value="修改">
- <input type="reset" name="Submit2" value="取消"></td>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- </form>
- </body>
- </html>