<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpdatePwd.aspx.cs" Inherits="JRAPI.Web.User.UpdatePwd" %>
<%@ Register src="Foot.ascx" tagname="Foot" tagprefix="uc2" %>
<%@ Register Src="Top.ascx" TagName="Top" TagPrefix="uctop" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>修改密码</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="js/comm.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
     <uctop:Top ID="top1" runat="server" hoverNum="1"/>
    <div id="content">
	<div class="box" id="xgmm">
		<p class="title"><b>修改密码</b></p>
		<div class="xgmmM">
        <p><span class="leftSpan">原密码：</span> <asp:TextBox ID="txtoldPwd" CssClass="input" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ErrorMessage="* 原密码不能为空" ControlToValidate="txtoldPwd" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>                    
                    </p>
			<p><span class="leftSpan">新密码：</span> <asp:TextBox ID="txtPwd" CssClass="input" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ErrorMessage="* 新密码不能为空" ControlToValidate="txtPwd" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>                    
                    </p>
			<p><span class="leftSpan">确认密码：</span><asp:TextBox ID="txtSurePwd" CssClass="input" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtSurePwd" runat="server" ErrorMessage="* 确认密码不能为空" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ErrorMessage="* 两次密码不一致" ControlToCompare="txtPwd" 
                    ControlToValidate="txtSurePwd" Display="Dynamic" ForeColor="Red"></asp:CompareValidator>
            </p>
			<p runat="server" id="smsp"><span class="leftSpan">手机验证码：</span> <asp:TextBox ID="txtSmsCode" CssClass="input" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ErrorMessage="* 手机验证码不可为空" ControlToValidate="txtSmsCode" ForeColor="Red" 
                    Display="Dynamic"></asp:RequiredFieldValidator>                    
                    </p>
			<div class="btnBox">
            <input id="btnGetSmsCode" type="button" value="获取验证码" class="btn" runat="server" onclick="sendMobileCode('btnGetSmsCode')" />
            <asp:Button class="btn" ID="Button1" runat="server" Text="确认修改" onclick="Button1_Click" /></div>
		</div>
        <p class="title"><b>提现密码修改</b></p>
        <div class="xgmmM">
            <p>
                <span class="leftSpan">原提现密码：</span>
                <asp:TextBox ID="txtoldsafecode" CssClass="input" runat="server" ValidationGroup="safe"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"
                    ErrorMessage="* 原提现密码不可为空" ControlToValidate="txtoldsafecode" ForeColor="Red" Display="Dynamic" ValidationGroup="safe"></asp:RequiredFieldValidator>
            </p>
            <p>
                <span class="leftSpan">新提现密码：</span>
                <asp:TextBox ID="txtsafecode"
                    CssClass="input" runat="server" ValidationGroup="safe"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server"
                    ErrorMessage="* 新提现密码不可为空" ControlToValidate="txtsafecode" ForeColor="Red"
                    Display="Dynamic" ValidationGroup="safe"></asp:RequiredFieldValidator>
            </p>
            <p>
                <span class="leftSpan">确认提现密码：</span>
                <asp:TextBox ID="txtsafecode2"
                    CssClass="input" runat="server" ValidationGroup="safe"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator2" runat="server"
                    ErrorMessage="* 两次提现密码输入不一致" ControlToCompare="txtsafecode"
                    ControlToValidate="txtsafecode2" ForeColor="Red" Display="Dynamic" ValidationGroup="safe"></asp:CompareValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server"
                    ControlToValidate="txtsafecode2" Display="Dynamic" ErrorMessage="* 请再次输入新提现密码"
                    ForeColor="Red" ValidationGroup="safe"></asp:RequiredFieldValidator>
            </p>
			<p runat="server" id="smsp1"><span class="leftSpan">手机验证码：</span> <asp:TextBox ID="txtSmsCode1" CssClass="input" runat="server" ValidationGroup="safe"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ErrorMessage="* 手机验证码不可为空" ControlToValidate="txtSmsCode1" ForeColor="Red" 
                    Display="Dynamic" ValidationGroup="safe"></asp:RequiredFieldValidator>                    
                    </p>
            <div class="btnBox">
            <input id="btnGetSmsCode1" type="button" value="获取验证码" class="btn" runat="server" onclick="sendMobileCode('btnGetSmsCode1')" />
                <asp:Button class="btn" ID="btnSafeCode" runat="server" Text="确认修改"
                    OnClick="btnSafeCode_Click" ValidationGroup="safe" />
            </div>
        </div>
	</div>
</div>
    <uc2:Foot ID="Foot1" runat="server" />
    </form>
</body>
</html>