<?php $indexc=1;?>{template "header.html", "/"}




<div class="blog-body">
	<div class="blog-container">
		<blockquote class="layui-elem-quote sitemap layui-breadcrumb shadow">
			<a href="/" title="网站首页">网站首页</a>
			<a><cite>找回密码</cite></a>
		</blockquote>
		<div class="blog-main">
			<div class="portlet light">
				<div class="portlet-body">
					<div class="row">
						<div class="col-md-4 col-md-offset-4 member-form">

							<form class="login-form" action="" method="post">
								<input name="uid" type="hidden" value="{$uid}" />
								<input name="step" type="hidden" value="{$step}" />
								{if $step == 1}
								<p>1、输入注册邮箱 </p>

								{if $error}
								<div class="alert alert-danger">
									<button class="close" data-close="alert"></button>
									<span>{$error}</span>
								</div>
								{/if}
								<div class="form-group">
									<div class="row">
										<div class="col-sm-8">
											<input class="form-control form-control-solid placeholder-no-fix" type="text" autocomplete="off" placeholder="" name="value" />
										</div>
									</div>
								</div>
								<div class="form-group" style="margin-top: 10px">
									<div class="row">
										<div class="col-sm-6">
											<input class="form-control form-control-solid placeholder-no-fix" type="text" autocomplete="off" placeholder="验证码" name="code" />
										</div>
										<div class="col-sm-6">
											<img align="absmiddle" style="cursor:pointer;" onclick="this.src='{dr_member_url('api/captcha', array('width' => 120, 'height' => 40))}&'+Math.random();" src="{dr_member_url('api/captcha', array('width' => 120, 'height' => 40))}" />
										</div>
									</div>
								</div>
								<div class="form-actions">
									<button type="submit" class="btn green uppercase">下一步</button>
									<a href="{dr_member_url('login/index')}" class="forget-password">立即登录</a>
								</div>
								{else if $step == 2}
								<p>2、接收验证码重新设置密码 </p>

								{if $error}
								<div class="alert alert-danger">
									<button class="close" data-close="alert"></button>
									<span>{$error}</span>
								</div>
								{/if}
								<div class="form-group">
									<label class="control-label visible-ie8 visible-ie9">验证凭证</label>
									<input class="form-control form-control-solid placeholder-no-fix" type="text" autocomplete="off" placeholder="验证凭证" name="code" />
								</div>
								<div class="form-group">
									<label class="control-label visible-ie8 visible-ie9">重置密码</label>
									<input class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="重置密码" name="password" />
								</div>
								<div class="form-group">
									<label class="control-label visible-ie8 visible-ie9">确认密码</label>
									<input class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="确认密码" name="password2" />
								</div>
								<div class="form-group" style="margin-top: 10px">
									<div class="row">
										<div class="col-sm-6">
											<input class="form-control form-control-solid placeholder-no-fix" type="text" autocomplete="off" placeholder="验证码" name="code2" />
										</div>
										<div class="col-sm-6">
											<img align="absmiddle" style="cursor:pointer;" onclick="this.src='{dr_member_url('api/captcha', array('width' => 120, 'height' => 40))}&'+Math.random();" src="{dr_member_url('api/captcha', array('width' => 120, 'height' => 40))}" />
										</div>
									</div>
								</div>
								<div class="form-actions">
									<button type="submit" class="btn green uppercase">重置密码</button>
									<a href="{dr_member_url('login/index')}" class="forget-password">立即登录</a>
								</div>
								{/if}
								<div class="create-account">
									<p>
										<a href="{dr_member_url('register/index')}" id="register-btn" class="uppercase">注册账号</a>
									</p>
								</div>
							</form>

						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>


{template "footer.html", "/"}