📄 changepassword.asp
字号:
<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>
<body>
<%if Request.Cookies("IsLogin")="Yes" and Request.Form("UserId")<>"" then%>
<%
Set ASPObj = Server.CreateObject("aspVendorBiz.mtsASPVendor")
if ASPObj.ChangePassword(Request.Form("UserId"), Request.Form("OldPassword"), Request.Form("NewPassword")) then
%>
<p>修改成功!</p>
<%else%>
<p>修改失败!</p>
<%end if%>
<%end if%>
<form method="POST" action="changepassword.asp">
<p>用户名: <input type="text" name="UserId" size="20" onMouseOver="this.focus()" onFocus="this.select()" Value="<%=Request.Cookies("UserId")%>"></a></p>
<p>旧密码: <input type="password" name="OldPassword" size="20" onMouseOver="this.focus()" onFocus="this.select()"></p>
<p>新密码: <input type="password" name="NewPassword" size="20" onMouseOver="this.focus()" onFocus="this.select()"></p>
<p><input type="submit" value="提交" name="B1"><input type="reset" value="清空" name="B2"></p>
</form>
<p><a href="javascript:history.back()">返回</a></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -