📄 password.jsp
字号:
<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="inc/common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>修改密码(${basic.name})</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="${basic.keywords}"/>
<meta name="description" content="${basic.description}"/>
<meta name="author" content="YeQiangWei.com"/>
<link href="images/favicon.ico" rel="Bookmark" />
<link href="images/favicon.ico" rel="icon" type="image/x-icon" />
<link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<club:html type="css" />
<script type="text/javascript" src="scripts/common.js"></script>
<script type="text/javascript" src="scripts/profile.js"></script>
</head>
<body>
<%@ include file="inc/nav.jsp" %>
<div class="sitemap">
<ul>
<li>您的位置:<a href="/club/" target="_parent">社区首页</a>>><a href="main.jsp" target="_self">进站画面</a>>><h3>修改密码</h3></li>
</ul>
</div>
<%
int userId = 0;
String userName = "";
if(user!=null){
userId = user.getUserId();
userName = user.getUserName();
}
com.yeqiangwei.club.controller.form.PasswordForm passwordForm = (com.yeqiangwei.club.controller.form.PasswordForm)ParamUtils.getAttribute(request,"PasswordForm");
%><%@ include file="inc/msgHint.jsp" %>
<div class="sidebar gform">
<form id="gform" name="gform" action="/club/users.do?act=updatePassword" method="post" onSubmit="return u.updatePassword();">
<ul>
<li><label for="userName">用户名:</label><input name="userName" id="userName" type="text" value="<%=userName%>" <%if(userId>0){out.print("readonly");}%> maxlength="20" class="input" /><span id="userName_"></span></li>
<li><label for="password">原始密码:</label><input name="opassword" id="opassword" type="password" value="" maxlength="20" class="input" /><span id="opassword_"></span></li>
<li><label for="password">输入新密码:</label><input name="npassword" id="npassword" type="password" value="" maxlength="20" class="input" /><span id="npassword_"></span></li>
<li><label for="password">确认新密码:</label><input name="npassword2" id="npassword2" type="password" value="" maxlength="20" class="input" /><span id="npassword2_"></span></li>
<li><label for="rand">安全码:</label><input name="rand" id="rand" type="text" value=""/><img src="/club/image.do" align="absmiddle"/><span id="rand_"></span></li>
<li><label for="qwSubmit"></label><input name="qwSubmit" id="qwSubmit" type="submit" value=" 修改密码 " class="btn"/></li>
</ul>
</form>
</div>
<%@ include file="inc/footer.jsp" %>
</body>
</html>
<!-- Powered by www.YeQiangWei.com -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -