<?php
	$this->display(tpl('head',true));
	$forgot_is_yzm[$data['forgot_is_yzm']]="checked";
	$forgot_is_email[$data['forgot_is_email']]="checked";
	$recaption_method[$data['recaption_method']]="checked";
?>
<style>
	.layui-form-label {
	    float: left;
	    display: block;
	    padding: 9px 15px;
	    width: 10%;
	    font-weight: 400;
	    text-align: right;
	}
	p{
		margin-top: 10px;
	}
</style>
	<fieldset class="layui-elem-field layui-field-title">
	  	<legend>会员找回密码设置</legend>
	</fieldset>
	<form class="layui-form" method="post">
		<table class="layui-table" >
			<tr>
				<td>密码取回方式</td>
				<td>
			    	<input name="web[recaption_method]" value="0" type="radio" title="邮箱重设" <?php echo $recaption_method['0'] ?>>
			    	<input name="web[recaption_method]" value="1" type="radio" title="手机短信重设" <?php echo $recaption_method['1'] ?>>
				</td>
			</tr>
			<tr>
				<td>是否验证邮箱</td>
				<td>
			    	<input name="web[forgot_is_email]" value="0" type="radio" title="无需验证" <?php echo $forgot_is_email['0'] ?>>
			    	<input name="web[forgot_is_email]" value="1" type="radio" title="验证邮箱" <?php echo $forgot_is_email['1'] ?>>
			    	<p>如果选择邮箱重设，才会验证此项</p>
				</td>
			</tr>
			<tr>
				<td>是否使用验证码</td>
				<td>
			    	<input name="web[forgot_is_yzm]" value="0" type="radio" title="停用" <?php echo $forgot_is_yzm['0'] ?>>
			    	<input name="web[forgot_is_yzm]" value="1" type="radio" title="使用" <?php echo $forgot_is_yzm['1'] ?>>
				</td>
			</tr>
		</table>
		<table class="layui-table" >
			<tr>
				<td>
					<div class="my_button">
						<input type="hidden" name="step" id="step" value="post" />
						<button class="layui-btn">立即设置</button>
					</div>
				</td>
			</tr>
		</table>
	</form>
<script>

layui.config({
	version: '<?php echo NOWTIME ?>'
});
layui.use(['form'], function(){
  	var $ = layui.jquery
	var form = layui.form;
});
	  
</script>
<?php
	$this->display(tpl('foot',true));
?>
