userpass.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:10k
源码类别:
Applet
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
- <%
- String name=(String)session.getAttribute("name");
- %>
- <script language="javascript">
- function openScript(url,name, width, height){
- var Win = window.open(url,name,'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
- }
- </script>
- <script language="javascript">
- function mycheck(register_common){
- if (register_common.oldpassword.value == "")
- {
- alert("密码没有输入!");
- register_common.oldpassword.focus();
- return false;
- }
- if ((register_common.password1.value=="")||(register_common.password1.value.length<5)||(register_common.password1.value.length>20))
- {
- alert("密码没有输入或格式不对!");
- register_common.password1.focus();
- return false;
- }
- if (register_common.password1.value == "")
- {
- alert("密码没有输入!");
- register_common.password1.focus();
- return false;
- }
- if (register_common.password1.value!=register_common.password2.value)
- { alert("两次输入密码不一样!");
- register_common.password1.focus();
- return false;
- }
- }
- </script>
- <HTML><HEAD><TITLE>-修改密码-</TITLE>
- <META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
- href="../image/buyok_shop.css" type=text/css rel=stylesheet><LINK
- href="../image/buyok_shop.css" type=text/css rel=stylesheet>
- <STYLE type=text/css>BODY {
- MARGIN: 0px
- }
- .STYLE1 {
- COLOR: #ff3300
- }
- .STYLE2 {
- COLOR: #ff0000
- }
- </STYLE>
- <META name=KEYWords
- contect="网上书城,网上购书,书,买书,卖书,购书,网上书店,广东,东莞,永正,购书中心,文学,经济,工商,计算机,电脑,教育,音像,电子,医药卫生,建筑工业,艺术,法律,历史,外语,儿童,动漫,小说">
- <META name=DEscription contect="广东省东莞永正购书中心,全国第七大民营书城,东莞最大的民营书城,网上购书中心">
- <META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
- <BODY>
- <CENTER>
- <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center
- bgColor=#ffffff border=0>
- <TBODY>
- <TR>
- <TD width=760>
- <TABLE class=4l borderColor="#ebebeb" cellSpacing=0 cellPadding=0
- width="100%" align=center border=0>
- <TBODY>
- <TR>
- <TD>
- <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
- border=0>
- <TBODY>
- <TR>
- <TD colSpan=2 height=13></TD>
- </TR>
- <TR>
- <TD width=260>
- <DIV align=center><IMG height=45 src="../image/logo.gif"
- width=200></DIV></TD>
- <TD align=right width=500>
- <TABLE cellSpacing=0 cellPadding=0 width=500 align=right
- border=0>
- <TBODY>
- <TR>
- <TD align=right width=22><IMG height=67
- src="../image/top_1.gif" width=7></TD>
- <TD align=right width=82><A onfocus=this.blur()
- href="../default.jsp"><IMG
- height=67 src="../image/home.gif" width=82
- border=0></A></TD>
- <TD align=right width=74><A onfocus=this.blur()
- href="../newbook.jsp?pageNum=1"><IMG
- height=67 src="../image/newbook.gif" width=74
- border=0></A></TD>
- <TD align=right width=79><A onfocus=this.blur()
- href="../tuibook.jsp?pageNum=1"><IMG
- height=67 src="../image/jptj.gif" width=79
- border=0></A></TD>
- <TD align=right width=75><A onfocus=this.blur()
- href="../upload_show.jsp"><IMG
- height=67 src="../image/tejia.gif" width=75
- border=0></A></TD>
- <TD align=right width=78><A onfocus=this.blur()
- href="../messagebox/indexme.jsp"><IMG
- height=67 src="../image/guest.gif" width=78
- border=0></A></TD>
- <TD align=right width=90><A onfocus=this.blur()
- href="../contactus.jsp"><IMG
- height=67 src="../image/link_wo.gif" width=90
- border=0></A></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE>
- <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center
- bgColor=#ffffff border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=middle width=185>
- <TABLE cellSpacing=0 cellPadding=0 width=171 align=center border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=middle width=176><A
- href="#"><IMG alt=回到用户中心首页
- src="../image/usermenu1.gif" align=center border=0></A></TD></TR>
- <TR>
- <TD vAlign=top align=middle width=176
- background=../image/usermenu2.gif height=346><BR>
- <TABLE cellSpacing=0 cellPadding=0 width="80%" border=0>
- <TBODY>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=修改个人资料
- href="usermodity.jsp">个 人 资 料</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=修改登陆密码
- href="userpass.jsp">密 码 设 置</A></DIV></TD>
- </TR>
- <TR>
- <TD vAlign=center height=30>
- <DIV align=center><IMG alt=我的收藏 src="../image/xie.gif"
- align=center border=0> <A title=查看我的收藏
- href="#" onclick="openScript('collectionuser.jsp','collectionuser',650,300);">我 的 收 藏</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=查看个人订单
- href="show_indent.jsp">订 单 查 看</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=接收站内消息
- href="recemessage.jsp">接 收 消 息</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=发送站内消息
- href="sendmessage.jsp">发 送 消 息</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=安全退出
- href="loginout.jsp">安 全 退 出</A></DIV></TD>
- </TR>
- </TBODY>
- </TABLE></TD></TR>
- <TR>
- <TD vAlign=top align=middle width=176 height=19><IMG
- src="../image/usermenu3.gif"
- align=center></TD></TR></TBODY></TABLE>
- <BR></TD>
- <TD width=1 bgColor=#cccccc></TD>
- <TD vAlign=top width=570 bgColor=#ffffff>
- <TABLE cellSpacing=2 cellPadding=2 width="100%" align=center border=0>
- <TBODY>
- <TR>
- <TD align=right width=31 height=30><IMG height=11
- src="../image/jt_2.gif" width=11></TD>
- <TD width=525>当前位置:<A
- href="../default.asp">首页</A> > <A
- href="#">用户中心</A> >
- 密码设置</TD></TR>
- <TR>
- <TD align=middle background=../image/bgline.gif colSpan=2
- height=1></TD></TR></TBODY></TABLE><BR>
- <TABLE borderColor=#c0c0c0 cellSpacing=0 borderColorDark=#ffffff
- cellPadding=4 width="80%" align=center border=1>
- <FORM name=register_common action=../comm_update_p.jsp method=post onSubmit="return mycheck(register_common)">
- <TBODY>
- <TR>
- <TD align=right width="28%">登陆帐号</TD>
- <TD width="72%"><%=name%><INPUT type=hidden value=<%=name%> name=name></TD></TR>
- <TR>
- <TD align=right width="28%">原 密 码</TD>
- <TD width="72%"><INPUT
- style="BORDER-RIGHT: darkgray 1px solid; BORDER-TOP: darkgray 1px solid; FONT-SIZE: 8pt; OVERFLOW: auto; BORDER-LEFT: darkgray 1px solid; COLOR: #666666; BORDER-BOTTOM: darkgray 1px solid; FONT-FAMILY: verdana; HEIGHT: 20px"
- type=password maxLength=16 name=oldpassword> <A
- style="COLOR: blue"
- href="setanswer.jsp">设置取回密码问答</A> </TD></TR>
- <TR>
- <TD align=right width="28%">新 密 码</TD>
- <TD width="72%"><input
- style="BORDER-RIGHT: darkgray 1px solid; BORDER-TOP: darkgray 1px solid; FONT-SIZE: 8pt; OVERFLOW: auto; BORDER-LEFT: darkgray 1px solid; COLOR: #666666; BORDER-BOTTOM: darkgray 1px solid; FONT-FAMILY: verdana; HEIGHT: 20px"
- type=password maxlength=16 name=password1></TD>
- </TR>
- <TR>
- <TD align=right width="28%">密码确认</TD>
- <TD width="72%"><input
- style="BORDER-RIGHT: darkgray 1px solid; BORDER-TOP: darkgray 1px solid; FONT-SIZE: 8pt; OVERFLOW: auto; BORDER-LEFT: darkgray 1px solid; COLOR: #666666; BORDER-BOTTOM: darkgray 1px solid; FONT-FAMILY: verdana; HEIGHT: 20px"
- type=password maxlength=16 name=password2></TD>
- </TR>
- <TR>
- <TD align=middle colSpan=2><INPUT type=submit value=确认修改 name=Submit>
- <INPUT type=reset value=不做修改 name=Submit2><INPUT type=hidden
- value=ok name=edit>
- </TD></TR></FORM></TABLE></TD></TR><td height="2"></TBODY></TABLE>
- <%@ include file="foot.jsp"%>
- </CENTER></BODY></HTML>