📄 修改管理员资料.htm
字号:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>修改密码</title>
</head>
<script language=vbscript>
sub check
if frm2.username.value=empty then
msgbox("用户名不能为空")
frm2.username.focus()
exit sub
end if
if instr(frm2.username.value,"'")<> 0 then
msgbox("您输入了非法字符!")
frm2.username.focus()
exit sub
end if
if instr(frm2.password1.value,"'")<> 0 then
msgbox("您输入了非法字符!")
frm2.password1.focus
exit sub
end if
if instr(frm2.password2.value,"'")<> 0 then
msgbox("您输入了非法字符!")
frm2.password2.focus()
exit sub
end if
if frm2.password1.value=empty or frm2.password2.value=empty then
msgbox("密码不能为空")
exit sub
end if
if frm2.password1.value<>frm2.password2.value then
msgbox("您两次输入的密码不一致")
frm2.password2.value=empty
frm2.password2.focus()
exit sub
end if
frm2.submit
end sub
</script>
<body bgcolor="#000000" width="440" height="180">
<div align="center">
<form name=frm2 method=post action="updateuser.asp">
<table border="0" width="431" height="93" bgcolor="#FF9999">
<tr>
<td width="201" height="26">
<p align="center"><font size="4" face="黑体"><b>用户名:</b></font></p>
</td>
<td width="214" height="26"><input type=text name=username><font color="#FF0000">**</font></td>
</tr>
<tr>
<td width="201" height="34">
<p align="center"><font size="4" face="黑体"><b>密码:</b></font></p>
</td>
<td width="214" height="34"><input type=password name=password1><font color="#FF0000">**</font></td>
</tr>
<tr>
<td width="201" height="16">
<p align="center"> <font face="黑体" size="4"><b>确认密码</b>:</font></td>
<td width="214" height="16"><input type=password name=password2><font color="#FF0000">**</font></td>
<tr>
<td>
<p align="center"><input type=button value="提交" onclick="check()"></p>
</td>
<td>
<p align="center"><input type=button value="返回" onclick="javascript:history.go(-1)"></p>
</td>
</tr>
</table></form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -