<?php

/*
'**************************************************************************************************
' 程序名称: CCTVAI开源音乐管理系统
' 官方网站: http://www.cctvai.com
' 联系 Q Q: 1542367792
' QQ交流群：136687984
' 版本：(终结版)
' 备注：未经书面授权，不得向任何第三方提供本软件系统！
' 功能，模板，插件，扩展，定制请联系QQ：1542367792
'**************************************************************************************************
*/
error_reporting(0);
include "../include/cctvai.conn.php";
include "../include/cctvai.inc.php";
include "source/function_common.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head> 
  <meta http-equiv="Content-Type" content="text/html;charset=gb2312" /> 
  <title>找回密码</title> 
  <link rel="stylesheet" type="text/css" href="<?php echo cd_webpath?>user/static/space/css/common.css" /> 
  <link rel="stylesheet" type="text/css" href="<?php echo cd_webpath?>user/static/space/css/passport.css" /> 
  <script type="text/javascript" src="<?php echo cd_webpath?>user/static/space/js/lib.js"></script> 
  <link href="<?php echo cd_webpath?>plug/asynctips/asynctips.css" rel="stylesheet" type="text/css" /> 
  <script type="text/javascript" src="<?php echo cd_webpath?>plug/asynctips/jquery.min.js"></script> 
  <script type="text/javascript" src="<?php echo cd_webpath?>plug/asynctips/asyncbox.v1.4.5.js"></script> 
  <script type="text/javascript">
var site_domain="<?php echo cd_webpath?>";
var zone_domain="<?php echo cd_webpath?>user/";
var login_url="<?php echo cd_webpath?>user/login.php";
$ = function(em) {
    if (document.getElementById){ return document.getElementById(em); }
    else if (document.all){ return document.all[em]; }
    else if (document.layers){ return document.layers[em]; }
    else{ return null; }
}
function seccode() {
	var img = zone_domain+'source/ajax.php?ac=loginseccode&rand='+Math.random();
	document.writeln('<img id="img_seccode" src="'+img+'" align="absmiddle" />');
}
function updateseccode() {
	var img = zone_domain+'source/ajax.php?ac=loginseccode&rand='+Math.random();
	if($('img_seccode')) {
		$('img_seccode').src = img;
	}
}
</script> 
 </head> 
 <body> 
  <div class="header"> 
   <div class="header_con"> 
    <div class="logo"> 
    </div> 
    <div class="right"> 
     <a class="home" href="<?php echo cd_webpath?>">网站首页</a> 
     <p>|</p> 
     <a class="help" href="<?php echo cd_webpath?>user/">会员中心</a> 
    </div> 
   </div> 
  </div> 
  <div class="retrieve_body"> 
   <div class="retrieve_title">
    找回密码
   </div> 
   <div class="retrieve_box"> 
    <div class="register_box_left"> 
     <form method="get" onsubmit="lostpasswd();return false;"> 
      <ul> 
       <li> 
        <div class="rM_title">
         登录帐号
        </div> 
        <div class="rM_input">
         <input type="text" id="ReI_1" class="input_normal" />
        </div> 
        <div id="Re_1">
         <div class="err_message">
          <span class="icon">请输入您的登录帐号。</span>
         </div>
        </div> </li> 
       <li> 
        <div class="rM_title">
         密保问题
        </div> 
        <div class="rM_input">
         <input type="text" id="ReI_2" class="input_normal" />
        </div> 
        <div id="Re_2">
         <div class="err_message">
          <span class="icon">请输入您曾经设置的密保问题。</span>
         </div>
        </div> </li> 
       <li> 
        <div class="rM_title">
         密保答案
        </div> 
        <div class="rM_input">
         <input type="text" id="ReI_3" class="input_normal" />
        </div> 
        <div id="Re_3">
         <div class="err_message">
          <span class="icon">请输入您曾经设置的密保答案。</span>
         </div>
        </div> </li> 
       <li> 
        <div class="rM_title">
         重设密码
        </div> 
        <div class="rM_input">
         <input type="text" id="ReI_4" class="input_normal" />
        </div> 
        <div id="Re_4">
         <div class="err_message">
          <span class="icon">请重新设置6位以上字符做为密码。</span>
         </div>
        </div> </li> 
       <li> 
        <div class="rM_title">
         确认密码
        </div> 
        <div class="rM_input">
         <input type="text" id="ReI_5" class="input_normal" />
        </div> 
        <div id="Re_5">
         <div class="err_message">
          <span class="icon">再次输入密码，以确认重设密码无误。</span>
         </div>
        </div> </li> 
       <li> 
        <div class="title">
         验证码
        </div> 
        <div class="input"> 
         <input id="ReI_6" class="input_normal" type="text" maxlength="4" autocomplete="off" style="width:70px;" /> 
        </div> 
        <div class="vcode"> 
         <div class="noleft"> 
          <script type="text/javascript">seccode();</script> 
         </div> 
         <div class="reloadCode"> 
          <a href="javascript:updateseccode()">看不清？换一张</a> 
         </div> 
        </div> 
        <div id="Re_6"></div> </li> 
       <li>
        <div class="rM_noleft">
         <input class="submit" type="submit" value="找回密码" />
        </div></li> 
      </ul> 
     </form> 
    </div> 
   </div> 
  </div> 
  <div class="bottom"> 
   <div class="content">
<a href="mailto:<?php echo cd_webemail?>">本站所有音乐均来自互联网搜集，版权为原作者所有，如有侵犯权益，请联系我们删除！</a> - 
<a href="http://www.miitbeian.gov.cn/" target="_blank"><?php echo cd_webicp?></a> 
<br />Copyright &copy; 2015 
<a href="http://<?php echo cd_weburl?>" target="_blank"><?php echo cd_weburl?></a> .All Rights Reserved. 
<a href="http://<?php echo cd_weburl?>" target="_blank"><?php echo cd_webname?></a> 版权所有 
<?php
global $db;
$sql="Select cd_cnzz from " . tname('system') . "";
$row=$db->getrow($sql);
echo str_decode($row['cd_cnzz']);
?>
   </div> 
  </div> 
 </body>
</html>