?? edit_pass.asp
字號(hào):
<!--#include file="../conn/boardconn.asp"-->
<!--#include file="../style/sql.asp" -->
<!--#include file="../CHAR.INC"-->
<!--#include file="../function.asp"-->
<%
server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))
server_v2=Cstr(Request.ServerVariables("SERVER_NAME"))
if mid(server_v1,8,len(server_v2))<>server_v2 then
response.write "<br><br><center><table border=1 cellpadding=20 bordercolor=black bgcolor=#EEEEEE width=450>"
response.write "<tr><td style=font:9pt Verdana>"
response.write "<center><font face=Georgia,Tahoma size=2><u>友情提示:服務(wù)器禁止非法操作...</u></font></center>"
response.write "</td></tr></table></center>"
response.end
end if
%>
<%
fqys=request.servervariables("query_string")
dim nothis(18)
nothis(0)="net user"
nothis(1)="xp_cmdshell"
nothis(2)="/add"
nothis(3)="exec%20master.dbo.xp_cmdshell"
nothis(4)="net localgroup administrators"
nothis(5)="select"
nothis(6)="count"
nothis(7)="asc"
nothis(8)="char"
nothis(9)="mid"
nothis(10)="'"
nothis(11)=":"
nothis(12)=""""
nothis(13)="insert"
nothis(14)="delete"
nothis(15)="drop"
nothis(16)="truncate"
nothis(17)="from"
nothis(18)="%"
errc=false
for i= 0 to ubound(nothis)
if instr(FQYs,nothis(i))<>0 then
errc=true
end if
next
if errc then
response.write "<br><br><center><table border=1 cellpadding=20 bordercolor=black bgcolor=#EEEEEE width=450>"
response.write "<tr><td style=font:9pt Verdana>"
response.write "<center><font face=Georgia,Tahoma size=2><u>友情提示:服務(wù)器禁止非法操作...</u></font></center>"
response.write "</td></tr></table></center>"
response.end
end if
%>
<%CheckAdmin1%>
<%
Dim UserID
UserID=request.QueryString("NumID")
If UserID="" or not IsNumeric(UserID) Then
response.write "<br><br><center><table border=1 cellpadding=20 bordercolor=black bgcolor=#EEEEEE width=450>"
response.write "<tr><td style=font:9pt Verdana>"
response.write "<center><font face=Georgia,Tahoma size=2>友情提示:服務(wù)器禁止非法操作...</font></center>"
response.write "</td></tr></table></center>"
Response.End
End If
%>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<link href="../style/style.css" rel="stylesheet" type="text/css">
</head>
<script language="JavaScript">
<!--
function form_onsubmit() {
if (document.form.password.value=="")
{
alert("友情提示!\n\n請(qǐng)?zhí)顚?xiě)會(huì)員密碼!")
document.form.password.focus()
return false
}
else if(document.form.password2.value=="")
{
alert("友情提示!\n\n請(qǐng)?zhí)顚?xiě)驗(yàn)證密碼!")
document.form.password2.focus()
return false
}
else if(document.form.password2.value!=document.form.password.value)
{
alert("友情提示!\n\n驗(yàn)證密碼和會(huì)員密碼不一致!")
document.form.password2.focus()
return false
}
}
// -->
</script>
<body topmargin="0" leftmargin="0">
<div align="center"><center>
<%
Set rs = Server.CreateObject("ADODB.Recordset")
Sql="select * from QiQiBoy_User_Disp where UserID="&Cint(UserID)
Set rs=conn.execute(Sql)
%>
<form name=form method="POST" action="edit_passfox.asp?Action=Edit_Pass&NumID=<%Response.Write(rs(0))%>" onsubmit="return form_onsubmit()">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%" height="20" bgcolor="#96C5DE" align=center colspan="2"><font color="white"><b>修 改 會(huì) 員 密 碼</b></font></td>
</tr>
<tr>
<td width="100%" height="20" align=center colspan="2"></td>
</tr>
<tr>
<td width="15%" height="25" align="right">會(huì)員密碼:</td>
<td width="85%"><input class=input type=password maxLength=18 name="password" size="20"></td>
</tr>
<tr>
<td width="15%" height="25" align="right">驗(yàn)證密碼:</td>
<td width="85%"><INPUT class=input type=password maxLength=18 size=20 name=password2></td>
</tr>
<tr>
<td width="15%" height="25" align="right"></td>
<td width="85%"><input class=input1 type="submit" value="修改會(huì)員密碼" name="Submit"> <input class=input1 type="button" onclick="location.href='Edit_User.Asp?NumID=<%Response.Write(rs(0))%>';" name="button" value="編輯會(huì)員信息" align="absmiddle"> <input class=input1 type="reset" value="擦除重填" name="Submit2"></td>
</tr>
</table>
</form>
<%
rs.close
Set rs=NOTHING
conn.Close
set conn=nothing
%>
</center>
</div>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -