<%@ page language="C#" autoeventwireup="true" inherits="sys_index_Question, 25175_ALL" %>

<%@ Register Src="~/sys/MyHeader.ascx" TagPrefix="uc1" TagName="MyHeader" %>
<%@ Register Src="~/sys/MyFooter.ascx" TagPrefix="uc1" TagName="MyFooter" %>


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>密码找回设置</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/control/plugin/bootstrap3/css/bootstrap.min.css" rel="stylesheet" />
    <link href="/sys/css/style.css?v=201721" rel="stylesheet" />
    <script src="/control/js/jquery.js"></script>
    <script src="/control/plugin/bootstrap3/js/bootstrap.min.js"></script>

</head>
<body>

    <uc1:MyHeader runat="server" ID="NewHeader" />
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <h3 class="page-header">找回密码提问设置<small>设置密码找回时的提问和回答</small></h3>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <form id="from1" runat="server">
                            <!-- Add.aspx -->
                            <div class="form-group">
                                <label class=" control-label">
                                    旧的提问<span class='rd'>*</span>：</label>
                                <div>

                                    <asp:Label ID="litOldQuestion" runat="server" Font-Size="20px"></asp:Label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class=" control-label">
                                    旧的回答<span class='rd'>*</span>：</label>
                                <div>
                                    <asp:TextBox ID="txtOldAnswer" runat="server" MaxLength="100" CssClass="form-control"></asp:TextBox>
                                    <p class="help-block">修改密码找回提问 需填写原提问回答</p>
                                </div>
                                <div>
                                    <asp:RequiredFieldValidator ID="rfvt_pass" runat="server" ForeColor="Red" Display="Dynamic"
                                        ErrorMessage="请填写旧的回答" ControlToValidate="txtOldAnswer">
                                    </asp:RequiredFieldValidator>
                                </div>
                            </div>
                            <hr />
                            <div class="form-group">
                                <label class=" control-label">
                                    新的提问 <span class='rd'>*</span>：
                                </label>
                                <div>
                                    <asp:TextBox ID="txtNewQuestion" runat="server" MaxLength="100" CssClass="form-control"></asp:TextBox>
                                </div>
                                <div>
                                    <asp:RequiredFieldValidator ID="rfvNewQuestion"
                                        runat="server" ForeColor="Red" Display="Dynamic"
                                        ErrorMessage="请填写新的提问" ControlToValidate="txtNewQuestion">
                                    </asp:RequiredFieldValidator>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class=" control-label">
                                    新的回答 <span class='rd'>*</span>：
                                </label>
                                <div>
                                    <asp:TextBox ID="txtNewAnswer" runat="server" MaxLength="100" CssClass="form-control"></asp:TextBox>
                                </div>
                                <div>
                                    <asp:RequiredFieldValidator ID="rfvNewAnswer"
                                        runat="server" ForeColor="Red" Display="Dynamic"
                                        ErrorMessage="请填写新的回答" ControlToValidate="txtNewAnswer">
                                    </asp:RequiredFieldValidator>
                                </div>
                            </div>

                            <div class="form-group">

                                <asp:Button ID="btnSubmit" runat="server" Text="提交修改" CssClass="btn btn-block btn-primary btn-lg" OnClick="btnSubmit_Click" />

                            </div>
                        </form>

                    </div>
                </div>
            </div>
        </div>
    </div>
    <uc1:MyFooter runat="server" ID="NewFooter" />

</body>
</html>
