📄 order_7_1.jsp
字号:
<%@ page contentType="text/html; charset=GB2312" %>
<%@ page import="com.hzs.order.*" %>
<%
if (session.getAttribute("grade")==null || session.getAttribute("user_nm")==null)
{
%>
<jsp:forward page="con_error.jsp">
<jsp:param name="error_nm" value="非 法 操 作" />
<jsp:param name="error_all" value="非法操作,请重新登陆!" />
</jsp:forward>
<%
}
%>
<html>
<head>
<title>密码修改</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css/global.css" type="text/css">
<script language="javascript" src="js/global.js"></script>
<script language="JavaScript">
<!--
function confirm_all()
{
GxTrimStr(document.fo_main.tx_oldpass);
if (GxIsEmpty(document.fo_main.tx_oldpass))
{
document.fo_main.tx_oldpass.select();
alert("请输入原来的密码!");
return false;
}
GxTrimStr(document.fo_main.tx_newpass);
if (GxIsEmpty(document.fo_main.tx_newpass))
{
document.fo_main.tx_newpass.select();
alert("请输入新的密码!");
return false;
}
GxTrimStr(document.fo_main.tx_conpass);
if (GxIsEmpty(document.fo_main.tx_conpass))
{
document.fo_main.tx_conpass.select();
alert("请输入确认密码!");
return false;
}
if (document.fo_main.tx_conpass.value!=document.fo_main.tx_newpass.value)
{
document.fo_main.tx_newpass.select();
alert("新密码与确认密码不一致!");
return false;
}
return true;
}
-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" background="images/menu.gif">
<h2>---密 码 修 改 页---</h2>
<form name="fo_main" method="post" action="order_7_2.jsp" onsubmit="return confirm_all();">
<table width="260" align="center" height="100">
<tr>
<th>原 密 码:</th>
<td>
<input type="password" name="tx_oldpass" size="20" maxlength="20">
</td>
</tr>
<tr>
<th>新 密 码:</th>
<td>
<input type="password" name="tx_newpass" size="20" maxlength="20">
</td>
</tr>
<tr>
<th>确认密码:</th>
<td>
<input type="password" name="tx_conpass" size="20" maxlength="20">
</td>
</tr>
<tr>
<th colspan="2">
<input type="submit" name="sb_1" value="修 改">
<input type="button" name="bt_1" value="关 闭" onclick="self.close();">
</th>
</tr>
</table>
</form>
<p> </p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -