<%@ page language="C#" autoeventwireup="true" inherits="sadmin_Question, App_Web_question.aspx.9de8af5a" enableEventValidation="false" %>

<%@ Register Src="~/sadmin/NewHeader.ascx" TagPrefix="uc2" TagName="NewHeader" %>
<%@ Register Src="~/sadmin/NewFooter.ascx" TagPrefix="uc2" TagName="NewFooter" %>

<!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" /> 
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link href="/control/plugin/bootstrap3/css/bootstrap.min.css" rel="stylesheet" />
    <script src="/control/js/jquery.js"></script>
    <script src="/control/plugin/bootstrap3/js/bootstrap.min.js"></script>
    <link href="/control/webcss/sysadmin.css" rel="stylesheet" />

    <!-- ionicons -->
    <link href="/lib/ionicons/ionicons.min.css" rel="stylesheet" />
    <!-- Animate -->
    <link href="/lib/animate/animate.min.css" rel="stylesheet" />
    <!-- base -->
    <link href="/css/base.css" rel="stylesheet" />
    <!--[if lt IE 9]>
      <script src="/js/html5shiv.min.js"></script>
      <script src="/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <div class="wrapper">
        <uc2:NewHeader 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:TextBox ID="txtOldQuestion" runat="server" MaxLength="50" CssClass="form-control"></asp:TextBox>--%>
                                        <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-default btn-primary btn-lg" OnClick="btnSubmit_Click" />

                                </div>
                            </form>

                        </div>
                    </div>
                </div>
            </div>
        </div>
        <uc2:NewFooter runat="server" ID="NewFooter" />
    </div>
</body>
</html>
