-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpwdchange.jsp
More file actions
105 lines (99 loc) · 2.95 KB
/
Copy pathpwdchange.jsp
File metadata and controls
105 lines (99 loc) · 2.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>绿丰花园时尚餐厅</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<link rel="stylesheet" type="text/css" href="<%=basePath%>css/all.css">
</head>
<style type="text/css">
body{
margin:0px;
padding:0px;
background-color:#f4e7bd;
}
#loginbg{
width:100%;
height:166px;
background-image:url(images/top.jpg);
}
#login{
width:1000px;
height:166px;
background-image:url(images/12.jpg);
}
#content{
width:1000px;
height:300px;
}
#dowmbg{
width:100%;
height:170px;
background-image: url(images/footerbg.jpg);
}
#dowm{
width:1000px;
height:170px;
background-image: url(images/footerbg.jpg);
}
table{
margin-top: 40px;
marker-offset:3px;
}
img{
border:0px;
}
</style>
<script type="text/javascript">
function changepwd(){
var oldpwd = document.form1.oldpwd.value;
var newpwd = document.form1.newpwd.value;
var anewpwd = document.form1.anewpwd.value;
if(oldpwd==""||newpwd==""||anewpwd==""){
alert("星号项不能为空!!!");
}
else if(newpwd != anewpwd){
alert("新密码与确定密码不一样!!!");
}
else{
document.form1.submit();
}
}
</script>
<body>
<center>
<div id="loginbg">
<div id="login" align="left">
</div>
</div>
<div id="content" align="center">
<form action="changemessage" name="form1" method="post">
<table width="60%" >
<tr><td align="center" colspan="2"><a href="changemessage"><img src="images/btn3.jpg"/></a> <a href="pwdchange.jsp"><img src="images/btn4.jpg"/></a></td></tr>
<tr><td align="center" colspan="2"><img src="images/xgmima.jpg"/><br/><br/></td></tr>
<tr><td width="45%" align="right">原密码:</td><td><input type="password" name="oldpwd"/><span style="color: red;">*</span></td></tr>
<tr><td align="right">新密码:</td><td><input type="password" name="newpwd"/><span style="color: red;">*</span></td></tr>
<tr><td align="right">确认密码:</td><td><input type="password" name="anewpwd"/><span style="color: red;">*</span></td></tr>
<tr><td colspan="2" align="center"><br/><a href="javascript:changepwd();"><img src="images/btn5.jpg"/></a></td></tr>
</table>
</form>
</div>
<!-- div id="dowmbg">
<div id="dowm">
</div>
</div-->
</center>
</body>
</html>