<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="./images/favicon.ico">
<title>{#$lang.find_edit_pwd#}</title>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/login.css" rel="stylesheet">
<!--[if lt IE 9]>
  <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
 
<div class="container-fluid">
  <div class="well login">
    <h5>{#$lang.find_edit_pwd#}</h5>
    <hr />
   <form class="form-horizontal" id="form" action="{#$act_url#}" onSubmit="return js_submit(this)"  data-ajax="false" method="post">
			    <div class="form-group col-lg-12">
					<div class="input-group">
						<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
						<input type="password" class="form-control" name="use_pwd" id="use_pwd" placeholder="{#$lang.pwd_pher#}" >
					</div>
				</div>
			    <div class="form-group col-lg-12">
					<div class="input-group">
						<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
						<input type="password" class="form-control" name="re_use_pwd" id="re_use_pwd" placeholder="{#$lang.re_pwd_pher#}" >
					</div>
				</div>
                <input type="hidden" name="find_code" id="find_code" value="{#$find_code#}">
                <input type="hidden" name="get_time" id="get_time" value="{#$get_time#}">
                <input type="hidden" name="mail" id="mail" value="{#$mail#}">
			<div class="form-group col-lg-12">
				<div  id="show_error" class="show_error"></div>
			</div> 
				<div class="form-group">
					<div class="col-lg-12">
						<div class="row">
							<div class="col-xs-6">
								<button name="submit" type="submit" class="btn btn-block btn-primary">{#$lang.submit#}</button>
							</div>
							<div class="col-xs-6">
								<a class="btn btn-block" href="./index.php?load=login&act=act" role="button">{#$lang.back_login#}</a>
							</div>
						</div>
					</div>
				</div>  

</form>
</div>

</div> <!-- /container -->
<footer class="footer">{#$lang.powered_by#}</footer>
<script src="./js/jquery.min.js"></script>
<script src="./js/bootstrap.min.js"></script>
<script language="javascript">
	function change_img()
	{
		var idimgCode 	= 	document.getElementById('idimgCode');
		idimgCode.src	=	'./index.php?load=login&act=get_img_code&time='+Math.random();
	}
	function js_submit()
	{
		var id_use_name = document.getElementById('use_name');
		var id_use_pwd  = document.getElementById('use_pwd');
		var id_use_captcha 	 = document.getElementById('use_captcha');

		if(id_use_name.value==''){
			id_use_name.focus();
			document.getElementById('show_error').innerHTML = '{#$lang.err_name#}';
			return false;
		}
		if(id_use_pwd.value==''){
			id_use_pwd.focus();
			document.getElementById('show_error').innerHTML = '{#$lang.err_pwd#}';
			return false;
		}
		if(id_use_captcha.value==''){
			id_use_captcha.focus();
			document.getElementById('show_error').innerHTML = '{#$lang.err_use_captcha_empty#}';
			return false;
		}
		//return false;	
	}
</script>
</body>
</html>