userpass.jsp
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:18k
源码类别:

Applet

开发平台:

Java

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  3. <%
  4.    String name=(String)session.getAttribute("name");
  5.    %>
  6.    <script language="javascript">
  7.    function mycheck(register_common){ 
  8.      if (register_common.oldpassword.value == "")
  9.   {
  10.     alert("密码没有输入!");
  11.     register_common.oldpassword.focus();
  12.     return false;
  13.   }
  14.    if ((register_common.password1.value=="")||(register_common.password1.value.length<5)||(register_common.password1.value.length>20))
  15.   {
  16.     alert("密码没有输入或格式不对!");
  17.     register_common.password1.focus();
  18.     return false;
  19.   }
  20.   if (register_common.password1.value == "")
  21.   {
  22.     alert("密码没有输入!");
  23.     register_common.password1.focus();
  24.     return false;
  25.   }
  26.   if (register_common.password1.value!=register_common.password2.value)
  27.   { alert("两次输入密码不一样!");
  28.     register_common.password1.focus();
  29.     return false;
  30.   }
  31.    
  32.    }
  33.    </script>
  34.    
  35.    
  36. <HTML><HEAD><TITLE>-修改密码-</TITLE>
  37. <META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
  38. href="image/buyok_shop.css" type=text/css rel=stylesheet><LINK 
  39. href="image/buyok_shop.css" type=text/css rel=stylesheet>
  40. <STYLE type=text/css>BODY {
  41. MARGIN: 0px
  42. }
  43. .STYLE1 {
  44. COLOR: #ff3300
  45. }
  46. .STYLE2 {
  47. COLOR: #ff0000
  48. }
  49. </STYLE>
  50. <META name=KEYWords 
  51. contect="网上书城,网上购书,书,买书,卖书,购书,网上书店,广东,东莞,永正,购书中心,文学,经济,工商,计算机,电脑,教育,音像,电子,医药卫生,建筑工业,艺术,法律,历史,外语,儿童,动漫,小说">
  52. <META name=DEscription contect="广东省东莞永正购书中心,全国第七大民营书城,东莞最大的民营书城,网上购书中心">
  53. <META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
  54. <BODY>
  55. <CENTER>
  56. <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center 
  57. bgColor=#ffffff border=0>
  58.   <TBODY>
  59.   <TR>
  60.     <TD width=760>
  61.       <TABLE class=4l borderColor=#ebebeb cellSpacing=0 cellPadding=0 
  62.       width="100%" align=center border=0>
  63.         <TBODY>
  64.         <TR>
  65.           <TD>
  66.             <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center 
  67.             border=0>
  68.               <TBODY>
  69.               <TR>
  70.                 <TD colSpan=2 height=13></TD></TR>
  71.               <TR>
  72.                 <TD width=260>
  73.                   <DIV align=center><IMG height=45 src="image/logo.gif" 
  74.                   width=200></DIV></TD>
  75.                 <TD align=right width=500>
  76.                   <TABLE cellSpacing=0 cellPadding=0 width=500 align=right 
  77.                   border=0>
  78.                     <TBODY>
  79.                     <TR>
  80.                       <TD align=right width=22><IMG height=67 
  81.                         src="image/top_1.gif" width=7></TD>
  82.                       <TD align=right width=82><A onfocus=this.blur() 
  83.                         href="http://www.erbook.com.cn/default.asp"><IMG 
  84.                         height=67 src="image/home.gif" width=82 
  85.                         border=0></A></TD>
  86.                       <TD align=right width=74><A onfocus=this.blur() 
  87.                         href="http://www.erbook.com.cn/buyok_xs.asp"><IMG 
  88.                         height=67 src="image/newbook.gif" width=74 
  89.                         border=0></A></TD>
  90.                       <TD align=right width=79><A onfocus=this.blur() 
  91.                         href="http://www.erbook.com.cn/buyok_jp.asp"><IMG 
  92.                         height=67 src="image/jptj.gif" width=79 
  93.                         border=0></A></TD>
  94.                       <TD align=right width=75><A onfocus=this.blur() 
  95.                         href="http://www.erbook.com.cn/buyok_tejia.asp"><IMG 
  96.                         height=67 src="image/tejia.gif" width=75 
  97.                         border=0></A></TD>
  98.                       <TD align=right width=78><A onfocus=this.blur() 
  99.                         href="http://www.erbook.com.cn/guest/index.asp"><IMG 
  100.                         height=67 src="image/guest.gif" width=78 
  101.                         border=0></A></TD>
  102.                       <TD align=right width=90><A onfocus=this.blur() 
  103.                         href="http://www.erbook.com.cn/help_lx.asp"><IMG 
  104.                         height=67 src="image/link_wo.gif" width=90 
  105.                         border=0></A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  106. <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center 
  107. bgColor=#ffffff border=0>
  108.   <TBODY>
  109.   <TR>
  110.     <TD vAlign=top align=middle width=185>
  111.       <TABLE cellSpacing=0 cellPadding=0 width=171 align=center border=0>
  112.         <TBODY>
  113.         <TR>
  114.           <TD vAlign=top align=middle width=176><A 
  115.             href="#"><IMG alt=回到用户中心首页 
  116.             src="image/usermenu1.gif" align=center border=0></A></TD></TR>
  117.         <TR>
  118.           <TD vAlign=top align=middle width=176 
  119.           background=image/usermenu2.gif height=346><BR>
  120.             <TABLE cellSpacing=0 cellPadding=0 width="80%" border=0>
  121.               <TBODY>
  122.                 <TR>
  123.                   <TD height=30>
  124.                     <DIV align=center><IMG src="image/xie.gif" 
  125.                   align=center border=0> <A title=修改个人资料 
  126.                   href="usermodity.jsp">个 人 资 料</A></DIV></TD>
  127.                 </TR>
  128.                 <TR>
  129.                   <TD height=30>
  130.                     <DIV align=center><IMG src="image/xie.gif" 
  131.                   align=center border=0> <A title=修改登陆密码 
  132.                   href="userpass.jsp">密 码 设 置</A></DIV></TD>
  133.                 </TR>
  134.                 <TR>
  135.                   <TD vAlign=center height=30>
  136.                     <DIV align=center><IMG alt=我的收藏 src="image/xie.gif" 
  137.                   align=center border=0> <A title=查看我的收藏 
  138.                   href="http://www.erbook.com.cn/ORDER/fav.asp" target=_blank>我 的 收 藏</A></DIV></TD>
  139.                 </TR>
  140.                 <TR>
  141.                   <TD height=30>
  142.                     <DIV align=center><IMG src="image/xie.gif" 
  143.                   align=center border=0> <A title=查看个人订单 
  144.                   href="http://www.erbook.com.cn/my_order.asp">订 单 管 理</A></DIV></TD>
  145.                 </TR>
  146.                 <TR>
  147.                   <TD height=30>
  148.                     <DIV align=center><IMG src="image/xie.gif" 
  149.                   align=center border=0> <A title=接收站内消息 
  150.                   href="http://www.erbook.com.cn/my_msg.asp">接 收 消 息</A></DIV></TD>
  151.                 </TR>
  152.                 <TR>
  153.                   <TD height=30>
  154.                     <DIV align=center><IMG src="image/xie.gif" 
  155.                   align=center border=0> <A title=发送站内消息 
  156.                   href="http://www.erbook.com.cn/mymsg_hand.asp">发 送 消 息</A></DIV></TD>
  157.                 </TR>
  158.                 <TR>
  159.                   <TD height=30>
  160.                     <DIV align=center><IMG src="image/xie.gif" 
  161.                   align=center border=0> <A title=安全退出 
  162.                   href="http://www.erbook.com.cn/logout.asp">安 全 退 出</A></DIV></TD>
  163.                 </TR>
  164.               </TBODY>
  165.             </TABLE></TD></TR>
  166.         <TR>
  167.           <TD vAlign=top align=middle width=176 height=19><IMG 
  168.             src="image/usermenu3.gif" 
  169.       align=center></TD></TR></TBODY></TABLE><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR></TD>
  170.     <TD width=1 bgColor=#cccccc></TD>
  171.     <TD vAlign=top width=570 bgColor=#ffffff>
  172.       <TABLE cellSpacing=2 cellPadding=2 width="100%" align=center border=0>
  173.         <TBODY>
  174.         <TR>
  175.           <TD align=right width=31 height=30><IMG height=11 
  176.             src="image/jt_2.gif" width=11></TD>
  177.           <TD width=525>当前位置:<A 
  178.             href="http://www.erbook.com.cn/default.asp">首页</A> &gt; <A 
  179.             href="http://www.erbook.com.cn/user_center.asp">用户中心</A> &gt; 
  180.         密码设置</TD></TR>
  181.         <TR>
  182.           <TD align=middle background=image/bgline.gif colSpan=2 
  183.           height=1></TD></TR></TBODY></TABLE><BR>
  184.       <TABLE borderColor=#c0c0c0 cellSpacing=0 borderColorDark=#ffffff 
  185.       cellPadding=4 width="80%" align=center border=1>
  186.         <FORM name=register_common action=comm_update_p.jsp method=post onSubmit="return mycheck(register_common)">
  187.         <TBODY>
  188.         <TR>
  189.           <TD align=right width="28%">登陆帐号</TD>
  190.           <TD width="72%"><%=name%><INPUT type=hidden value=<%=name%> name=name></TD></TR>
  191.         <TR>
  192.           <TD align=right width="28%">原 密 码</TD>
  193.           <TD width="72%"><INPUT 
  194.             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" 
  195.             type=password maxLength=16 name=oldpassword> &nbsp; <A 
  196.             style="COLOR: blue" 
  197.             href="http://www.erbook.com.cn/my_psw_set.asp">设置取回密码问答</A> </TD></TR>
  198.         <TR>
  199.           <TD align=right width="28%">新 密 码</TD>
  200.           <TD width="72%"><input 
  201.             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" 
  202.             type=password maxlength=16 name=password1></TD>
  203.         </TR>
  204.         <TR>
  205.           <TD align=right width="28%">密码确认</TD>
  206.           <TD width="72%"><input 
  207.             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" 
  208.             type=password maxlength=16 name=password2></TD>
  209.         </TR>
  210.         <TR>
  211.           <TD align=middle colSpan=2><INPUT type=submit value=确认修改 name=Submit>&nbsp;&nbsp;&nbsp;&nbsp; 
  212. <INPUT type=reset value=不做修改 name=Submit2><INPUT type=hidden 
  213.             value=ok name=edit> 
  214. </TD></TR></FORM></TBODY></TABLE></TD></TR></TBODY></TABLE><LINK 
  215. href="image/main.css" type=text/css rel=stylesheet><LINK 
  216. href="image/buyok_shop.css" type=text/css rel=stylesheet>
  217. <STYLE type=text/css>BODY {
  218. MARGIN: 0px
  219. }
  220. </STYLE>
  221. <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center 
  222. bgColor=#ffffff border=0>
  223.   <TBODY>
  224.   <TR>
  225.     <TD>
  226.       <TABLE height=84 cellSpacing=0 cellPadding=0 width=750 align=center 
  227.       border=0>
  228.         <TBODY>
  229.         <TR>
  230.           <TD vAlign=top width=100><IMG height=84 
  231.             src="image/help_center1.gif" width=100></TD>
  232.           <TD vAlign=center align=middle background=image/help_lin.jpg 
  233.           height=84>
  234.             <TABLE height=65 cellSpacing=5 cellPadding=0 width="95%" 
  235.             align=center border=0>
  236.               <TBODY>
  237.               <TR>
  238.                 <TD vAlign=center align=middle bgColor=#ebebeb>
  239.                   <TABLE height="100%" cellSpacing=3 cellPadding=0 width="100%" 
  240.                   align=center border=0>
  241.                     <TBODY>
  242.                     <TR>
  243.                       <TD>
  244.                         <DIV align=center><A 
  245.                         href="http://www.erbook.com.cn/help_gs.asp">购书须知</A></DIV></TD></TR>
  246.                     <TR>
  247.                       <TD>
  248.                         <DIV align=center><A 
  249.                         href="http://www.erbook.com.cn/help_lx.asp">联系我们</A></DIV></TD></TR>
  250.                     <TR>
  251.                       <TD>
  252.                         <DIV align=center><A 
  253.                         href="http://www.erbook.com.cn/help_hj.asp">常见问题</A></DIV></TD></TR></TBODY></TABLE></TD>
  254.                 <TD vAlign=center align=middle bgColor=#ebebeb>
  255.                   <TABLE height="100%" cellSpacing=3 cellPadding=0 width="100%" 
  256.                   align=center border=0>
  257.                     <TBODY>
  258.                     <TR>
  259.                       <TD>
  260.                         <DIV align=center><A 
  261.                         href="http://www.erbook.com.cn/help_new.asp">新手指南</A></DIV></TD></TR>
  262.                     <TR>
  263.                       <TD>
  264.                         <DIV align=center><A 
  265.                         href="http://www.erbook.com.cn/help_ps.asp">配送方式</A></DIV></TD></TR>
  266.                     <TR>
  267.                       <TD>
  268.                         <DIV align=center><A 
  269.                         href="http://www.erbook.com.cn/help_fk.asp">如何付款</A></DIV></TD></TR></TBODY></TABLE></TD>
  270.                 <TD vAlign=center align=middle bgColor=#ebebeb>
  271.                   <TABLE height="100%" cellSpacing=3 cellPadding=0 width="100%" 
  272.                   align=center border=0>
  273.                     <TBODY>
  274.                     <TR>
  275.                       <TD>
  276.                         <DIV align=center><A 
  277.                         href="http://www.erbook.com.cn/help_qh.asp">缺货登记</A></DIV></TD></TR>
  278.                     <TR>
  279.                       <TD>
  280.                         <DIV align=center><A 
  281.                         href="http://www.erbook.com.cn/help_hk.asp">汇款确认</A></DIV></TD></TR>
  282.                     <TR>
  283.                       <TD>
  284.                         <DIV align=center><A 
  285.                         href="http://www.erbook.com.cn/help_ts.asp">投诉建议</A></DIV></TD></TR></TBODY></TABLE></TD>
  286.                 <TD vAlign=center align=middle bgColor=#ebebeb>
  287.                   <TABLE height="100%" cellSpacing=3 cellPadding=0 width="100%" 
  288.                   align=center border=0>
  289.                     <TBODY>
  290.                     <TR>
  291.                       <TD>
  292.                         <DIV align=center><A 
  293.                         href="http://www.erbook.com.cn/help_tg.asp">大宗团购</A></DIV></TD></TR>
  294.                     <TR>
  295.                       <TD>
  296.                         <DIV align=center><A 
  297.                         href="http://www.erbook.com.cn/help_ls.asp">连锁发展</A></DIV></TD></TR>
  298.                     <TR>
  299.                       <TD height=15>
  300.                         <DIV align=center><A 
  301.                         href="http://www.erbook.com.cn/buyok_yzdt.asp">永正动态</A></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
  302.           <TD vAlign=top width=8><IMG height=84 
  303.             src="image/help_right.jpg" 
  304.   width=8></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><LINK 
  305. href="image/main.css" type=text/css rel=stylesheet><LINK 
  306. href="image/buyok_shop.css" type=text/css rel=stylesheet>
  307. <STYLE type=text/css>BODY {
  308. MARGIN: 0px
  309. }
  310. </STYLE>
  311. <TABLE class=grayline height=135 cellSpacing=0 cellPadding=0 width=760 
  312. align=center background=image/buton_bg.jpg border=0>
  313.   <TBODY>
  314.   <TR>
  315.     <TD width=152>&nbsp;</TD>
  316.     <TD width=512>
  317.       <TABLE height=127 cellSpacing=2 cellPadding=0 width="100%" border=0>
  318.         <TBODY>
  319.         <TR>
  320.           <TD vAlign=center align=middle height=57>
  321.             <TABLE height=30 cellSpacing=0 cellPadding=0 width=372 align=center 
  322.             border=0>
  323.               <TBODY>
  324.               <TR>
  325.                 <TD background=image/buton_line.gif>
  326.                   <TABLE height=30 cellSpacing=0 cellPadding=0 width="80%" 
  327.                   align=center border=0>
  328.                     <TBODY>
  329.                     <TR>
  330.                       <TD vAlign=center align=middle width="18%"><A 
  331.                         href="http://www.erbook.com.cn/yzjj.asp" 
  332.                         target=_blank>永正简介</A></TD>
  333.                       <TD vAlign=center align=middle width="22%"><A 
  334.                         href="http://www.erbook.com.cn/help_lx.asp" 
  335.                         target=_blank>联系我们</A></TD>
  336.                       <TD vAlign=center align=middle width="21%"><A 
  337.                         href="http://www.erbook.com.cn/buyok_zp.asp" 
  338.                         target=_blank>诚聘英才</A></TD>
  339.                       <TD vAlign=center align=middle width="21%"><A 
  340.                         href="http://www.erbook.com.cn/sever.asp" 
  341.                         target=_blank>服务中心</A></TD>
  342.                       <TD vAlign=center align=middle width="18%"><A 
  343.                         href="http://www.erbook.com.cn/yzls.asp" 
  344.                         target=_blank>连锁分店</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
  345.         <TR>
  346.           <TD height=20>Copyright <IMG height=17 
  347.             src="image/copyright.gif" width=17 align=absMiddle> 永正购书中心 
  348.             2002-2006.All Rights Reserved &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  349.             <SCRIPT language=javascript src="image/click.htm"></SCRIPT>
  350.              </TD></TR>
  351.         <TR>
  352.           <TD height=20>最佳像素:1024*768 为了本系统能够更好的为您服务,请使用IE5.0或以上版本浏览器 </TD></TR>
  353.         <TR>
  354.           <TD height=20>服务(查询)电话:0769-22243086 
  355.             22243068网站支持:0769-22243007Email:xiazlsky@21cn.com 
  356.       </TD></TR></TBODY></TABLE></TD>
  357.     <TD vAlign=top align=left width=94>
  358.       <TABLE height=129 cellSpacing=0 cellPadding=0 width="100%" align=center 
  359.       border=0>
  360.         <TBODY>
  361.         <TR>
  362.           <TD vAlign=bottom align=middle height=37><A 
  363.             href="javascript:window.scroll(0,0);"><IMG height=31 alt=回到页面顶部 
  364.             src="image/backtop.gif" width=32 border=0></A></TD></TR>
  365.         <TR>
  366.           <TD vAlign=top align=middle height=51><IMG height=51 
  367.             src="image/baozhi.gif" width=43></TD></TR>
  368.         <TR>
  369.           <TD vAlign=bottom align=middle height=16><A 
  370.             href="http://www.miibeian.gov.cn/" target=_blank>粤ICP备</A></TD></TR>
  371.         <TR>
  372.           <TD vAlign=top align=middle height=17><A 
  373.             href="http://www.miibeian.gov.cn/" 
  374.         target=_blank>05070661号</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></CENTER></BODY></HTML>