📄 usermodify.asp
字号:
<!--#include file = "include/sysbase.asp"-->
<%
dim rsObj,strSQL
set rsObj = Server.CreateObject("ADODB.RecordSet")
strSQL = "SELECT * FROM Admins WHERE Account = '"&RealString(Request.QueryString("userId")) & "'"
'Response.Write strSQL
'Response.End
rsObj.Open strSQL, conn, 2,1
if not (rsObj.eof or err) then
%>
<html>
<head>
<title>管理员管理(administration)s</title>
<meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
<link rel = "stylesheet" href = "include/main.css" type = "text/css">
<script language = Javascript>
<!--
function deleteMe(){
if (confirm(delete?Can't be resumed。") == 1){
window.location = "userDel.asp?userID=<%=RealString(Request.QueryString("userId"))%>";
}
}
//-->
</script>
</head>
<body text = "#000000">
<br>
<br>
<br>
<br>
<form method = "post" action = "userModifySave.asp" name = "form1">
<table width = "98%" border = "1" bordercolordark = #9CC7EF bordercolorlight = #145AA0 cellspacing = "0" cellpadding = "4" align = "center">
<tbody>
<tr bgcolor="#FF0000">
<td height = "18" colspan = 2>
<p align = "center"><font color = "#ffffff">管理员管理(Administrate)</font></p> </td>
</tr>
<tr>
<td width = 84 align = "right" height = "25" nowrap>
<div align = "left">Account :</div>
</td>
<td width = "361" height = "25">
<input type = "text" name = "userID" size = "20" value = "<%=rsObj("Account")%>" readOnly>
</td>
</tr>
<tr>
<td width = 84 align = "right" height = "25" nowrap>
<div align = "left">Adminname:</div>
</td>
<td width = "361" height = "25">
<input type = "text" name = "name" size = "20" value = "<%=rsObj("name")%>">
</td>
</tr>
<tr>
<td width = 84 align = "right" height = "26" nowrap>
<div align = "left">Adminpwd:</div>
</td>
<td width = "361" height = "26">
<input type = "checkbox" name = "modifyPassword" value = "1">
<font color = "#FF0000">modify pwd </font>
<input type = "password" name = "password1" size = "12">
<input type = "password" name = "password2" size = "12">
</td>
</tr>
<tr bgcolor="#996633">
<td height = "26" colspan = "2" align = "right" nowrap>
<div align = "center">
<input type = "button" name = "Submit" value = "delete" onClick = "deleteMe()">
<input type = "submit" name = "Submit2" value = "modify">
<input type = "button" name = "Submit3" value = "return" onClick = "window.location = '<%=Session("adminOldUrl")%>'">
</div> </td>
</tr>
</tbody>
</table>
</form>
</body>
</html>
<%end if %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -