<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
		<title>找回密码第三步-<?php echo $cfg_webname;?></title>
		<link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
		<link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="/static/web/css/style.css">
	</head>
	<body>
		<?php obtaintheme('top.htm');?>
		<main class="container py-3">
			<h2>找回密码第三步</h2>
			<p><a href="index_do.php?fmdo=user&dopost=regnew">还没注册？</a></p>
			<form name="form1" method="POST" action="<?php echo $cfg_memberurl;?>/resetpassword.php">
				<input type="hidden" name="dopost" value="safequestion">
				<input type="hidden" name="id" value="<?php echo $member['mid'];?>">
				<input type="hidden" name="userid" value="<?php echo $userid;?>">
				<div class="form-group">
					<?php echo GetSafequestion(0,'safequestion');?>
				</div>
				<div class="form-group">
					<label for="iptSafeanswer">问题答案</label>
					<input type="text" name="safeanswer" id="iptSafeanswer" class="form-control" placeholder="请输入问题答案">
				</div>
				<div class="form-group">
					<label for="iptValidate">验证码</label>
					<div class="input-group">
						<input type="text" name="vdcode" id="iptValidate" class="form-control text-uppercase" placeholder="请输入验证码">
						<img src="<?php echo $cfg_phpurl;?>/vdimgck.php" id="validateimg" onclick="this.src='<?php echo $cfg_phpurl;?>/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码">
					</div>
				</div>
				<div><button type="submit" class="btn btn-success btn-block">下一步</button></div>
			</form>
		</main>
		<?php obtaintheme('foot.htm');?>
	</body>
</html>