CINXE.COM
忘记密码_欣欣旅游网_CNCN.com
<!doctype html> <html> <head> <meta charset="gbk" /> <meta http-equiv="x-ua-compatible" content="ie=8" /> <title>忘记密码_欣欣旅游网_CNCN.com</title> <link href="//s.cncnimg.cn/css/wd/my_top.css" rel="stylesheet" type="text/css" /> <script src="//s.cncnimg.cn/js/jquery-1.3.2.min.js"></script> <style> .main h3{ padding:4px 10px; font-size:16px; font-family:"microsoft yahei";} .box1000{ width:980px; padding:9px; border:1px solid #e1e1e1;} #step{ width:980px; height:30px; color:#fff; overflow:hidden;} #step ul{ width:1100px;} #step li{position:relative;width:226px; float:left;height:30px;line-height:30px;margin-right:20px; display:inline; color:#555; font-weight:bold; font-size:14px;text-align:center;background:#eee;} #step li s{width:0px;height:0px;border:15px solid #eee;border-left-color: transparent; _border-left-color: snow; _filter: chroma(color=snow);font-size:0;line-height:0;position:absolute;left:-24px;top:0px;} #step li b{width:0px;height:0px;border:15px solid #fff;border-left-color:#eee;font-size:0;line-height:0;position:absolute;top:0px;right:-22px;} #step .last{border-color:#eee;right:-15px;} #step .on{ color:#fff; background:#56ad0c;} #step .on s{border:15px solid #56ad0c;border-left-color: transparent; _border-left-color: snow; _filter: chroma(color=snow);} #step .on b{border-left-color:#56ad0c;} .box1000 .box_form{ margin:30px;} .box_form dl{ display:block; float:left; padding:5px 0; line-height:26px; overflow:hidden;} .box_form dt{ width:280px; float:left; text-align:right; font-size:14px;} .box_form dt em{ padding:0 5px; color:#ff7d7d; font-size:12px;} .box_form dd{ width:600px; float:left;} .box_form dd input.text{ width:150px; float:left; padding:0 3px; height:24px; line-height:24px; border-top:1px solid #999; border-right:1px solid #d0d0d0; border-bottom:1px solid #d0d0d0; border-left:1px solid #999; vertical-align:middle;} .box_form dd input.text50{ width:50px;} .box_form dd span.error{ float:left; margin-left:5px; display:inline; line-height:22px; padding:0 8px 0 26px; color:#333; border:1px solid #ffd5a1; background:#fff8ee url(http://s.cncnimg.cn/images/ico_error.png) no-repeat 8px 0; overflow:hidden;} .box_form dd span.success{ float:left; margin-left:5px; display:inline; line-height:22px; padding:0 8px 0 26px; color:#333; border:1px solid #dbe8b8; background:#f8faf1 url(http://s.cncnimg.cn/images/ico_error.png) no-repeat 8px -23px; overflow:hidden;} .box_form dd span.tip{ padding-left:3px; color:#888; vertical-align:middle;} .box_form dd span.tip img{ float:left; margin:0 3px;} .box_form .button{ margin-top:5px; padding-left:280px;} .box_form .button input.submit{ display:inline-block; padding:6px 10px; _padding:3px 0 0 0; line-height:18px; font-family:"microsoft yahei"; font-size:16px; color:#fff; border:1px solid #f26000; border-radius:2px; background:#fe7c00; text-decoration:none;} .box_form .button input.submit:hover{ border:1px solid #f1760c; background:#fe960c;} button.SentCode{ margin-top:-2px; margin-left:3px; padding:4px 10px; padding:0 5px\9; line-height:22px\9;} .tip_wz{ margin-top:100px; padding:20px; border-top:1px solid #e1e1e1; color:#666;} .tip_wz em{ display:block; color:#090; line-height:21px;} </style> <body> <div class="header"> <div class="logo"><a href="http://www.cncn.com" title="美好旅程 从欣欣开始"></a></div> <span class="saying ">美好旅程 从欣欣开始</span> <div class="quick_menu"> <ul> <li> <span id="top_user"> 您好, <a rel="nofollow" href="http://www.cncn.com/login.php?forward=" target="_self" onClick="_gaq.push(['_trackEvent', 'page_hits', 'nav', 'denglu', 1]);">请登录</a> <a rel="nofollow" href="http://www.cncn.com/reg_cncn.php" target="_self" onClick="_gaq.push(['_trackEvent', 'page_hits', 'nav', 'zhuce', 1]);">免费注册</a> </span> </li> <!--<li>|</li> <li><a rel="nofollow" href="http://www.cncn.com/order.php" target="_blank" onClick="_gaq.push(['_trackEvent', 'page_hits', 'nav', 'check_order', 1]);">订单查询</a> </li>--> <li>|</li> <li class="mobile"><s></s><a href="http://www.cncn.com/mobile/" onClick="_gaq.push(['_trackEvent', 'page_hits', 'nav', 'mobile', 1]);">手机版</a></li> <li>|</li> <li><a href="/daohang/">网站导航</a></li> </ul> </div> </div> <script type="text/javascript"> $(".web_nav").mouseover(function(){ $(this).addClass("hov") }) $(".web_nav").mouseout(function(){ $(this).removeClass("hov") }) function gt(objID) { return document.getElementById(objID); } function trim(str) { return str.replace(/^\s*(.*?)[\s\n]*$/g, '$1'); } function checkusername() { var username = trim(document.modiform.username.value); var cu = gt('checkusername'); if(username==''){ cu.innerHTML = '请输入登录名'; cu.className = 'error' }else{ cu.innerHTML = ''; cu.className = '' } return true; } function checkemail() { var email = trim(document.modiform.email.value); var cu = gt('checkemail'); var reMail = /^(?:\w+\.?)*\w+@(?:\w+\.)+\w+$/; if (reMail.test(email)){ cu.innerHTML = ''; }else{ cu.innerHTML = '您输入的邮箱格式有错'; cu.className = 'error' return false; } ajaxresponse('checkemail', 'action=checkemail2&email=' + email); return true; } function checkmobile() { var mobile = trim(document.modiform.mobile.value); var cu = gt('checkmobile'); var reg0=/^1[3|4|5|6|7|8|9][0-9]\d{8}$/; if (reg0.test(mobile)){ cu.innerHTML = ''; }else{ cu.innerHTML = '您输入的手机格式有错'; cu.className = 'error' return false; } ajaxresponse('checkmobile', 'action=checkmobile2&mobile=' + mobile); return true; } function checkcode1() { var checkcode = trim(document.modiform.checkcode.value); var cu = gt('checkcode1'); if (checkcode.length==4){ cu.innerHTML = ''; cu.className = '' }else{ cu.innerHTML = '验证码格式不正确!'; cu.className = 'error' return false; } return true; } function check_form(){ var username = trim(document.modiform.username.value); var cu = gt('checkusername'); if(username==''){ cu.innerHTML = '请输入登录名'; cu.className = 'error' } var checkcode = trim(document.modiform.checkcode.value); var cu = gt('checkcode1'); if (checkcode.length==4){ cu.innerHTML = ''; cu.className = '' }else{ cu.innerHTML = '验证码格式不正确!'; cu.className = 'error' return false; } ajaxresponse('checkcode1', 'action=checkcode1&checkcode='+checkcode+'&username='+username); } function checkpassword() { var password = document.modiform.newpasswd1.value; var password2 = document.modiform.newpasswd2.value; var cu = document.getElementById('checkpassword'); if(password.length<6){ cu.innerHTML = '密码不能小于6位'; cu.className = 'error' return false; } if(!/(?=^.*?[a-zA-Z])(?=^.*?\d)^(.{6,16})$/.test(password)){ cu.innerHTML = '不能单独使用字母、数字或符号'; cu.className = 'error'; return false; } if(password != password2) { cu.innerHTML = '输入的密码不一致'; cu.className = 'error' return false; } else { cu.innerHTML = ''; cu.className = '' } } function ajaxresponse(objname, data) { var url = "lostpasswd.php?inajax=1&"+data; $.post(url, true,function(data) { if(data.indexOf('|')>0){ var arr = data.split('|'); var obj = gt(arr[0]); var data = arr[1]; }else{ var obj = gt(objname); } if(data == 'succeed') { obj.innerHTML = ''; obj.className = '' if(!arr){ document.modiform.submit(); } } else { obj.innerHTML = data; obj.className = 'error' } }); } </script> <script type="text/javascript" src="//s.cncnimg.cn/js/ajax.js"></script> <div class="main mt10"> <h3>找回密码</h3> <div class="box1000"> <div id="step"> <ul> <li class="on">1.输入账户名<b></b></li> <li><s></s>2.验证身份<b></b></li> <li><s></s>3.设置新密码<b></b></li> <li><s></s>4.完成<b class="last"></b></li> </ul> </div> <div class="fn-clear"></div> <form id="modiform" name="modiform" action="lostpasswd.php?ac=lostpasswd" method="POST" class="c_form"> <div class="box_form"> <input name="ac" type="hidden" value="first"> <dl> <dt>用户名/手机/邮箱:<em>*</em></dt> <dd> <input id="username" name="username" type="text" class="text" maxlength="50" onBlur="checkusername()"> <span id="checkusername"></span> </dd> </dl> <dl> <dt>验 证 码:<em>*</em></dt> <dd> <input name="checkcode" type="text" class="text text50" maxlength="4" onBlur="checkcode1()"><span id="checkcode1"></span> <span class="tip"><img id="loginsumid" style="vertical-align:top; margin-top: -8px;" src="captcha.php" alt="验证码">请输入左侧验证码,<a onClick="document.getElementById('loginsumid').src='captcha.php?'+Math.random();return false;" href="javascript:;">换一张</a></span> </dd> </dl> <div class="button"><input name="" type="button" class="submit" value="下一步" onClick="check_form();"/></div> </div> </form> <div class="tip_wz"> <em>如果您长时间收不到短信可以尝试:</em> 1.查看手机防火墙是否拦截了短信;<br> 2.通过邮箱找回密码,我们会给您发送一封找回密码的邮件;<br> 3.如果您忘记了注册的邮箱或都邮箱已经无法收到邮件,请重新注册一个账号。 </div> </div> </div> <script src="https://www.cncn.com/checklogin_v4.php"></script> <div id="footer"><script src="//s.cncnimg.cn/js/under_info.js"></script></div> </body> </html>