<%@ Page Language="C#" Inherits="UserCenter.Pages.AccountPassword" %>
<%@ Register TagPrefix="bairong" Namespace="BaiRong.Controls" Assembly="BaiRong.Controls" %>
<%@ Register TagPrefix="user" Namespace="UserCenter.Controls" Assembly="UserCenter.Pages" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=uft-8" />
<script language="JavaScript" src="../../../sitefiles/bairong/Scripts/prototype-1.6.0.3.js"></script>
<script language="JavaScript" src="../js/script.js"></script>
<link rel="stylesheet" type="text/css" href="../style/comm.css" />
<link rel="stylesheet" type="text/css" href="../style/setting.css" />
<link rel="stylesheet" type="text/css" href="../themes/<%=UcTheme%>/style.css"/>
</head>
<body class="tbody">
<div class="txt_title"> 个人档案 </div>
<form runat="server">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabtitle">
    <tr>
      <td width="1" nowrap>&nbsp;
      </td>
      <td width="54" align="center" >
        <a href="accountGeneral.aspx" ><b> 帐户 </b></a>
      </td>
      <asp:PlaceHolder ID="phAttributes" Visible="false" runat="server">
      <td width="54" align="center" >
        <a href="accountAttributes.aspx" ><b> 档案 </b></a>
      </td>
      </asp:PlaceHolder>
      <td width="54" align="center" >
        <a href="accountTheme.aspx" ><b> 换肤 </b></a>
      </td>
      <td width="84" align="center" class="selected">
        <b> 修改密码 </b>
      </td>
      <td nowrap>&nbsp;
      </td>
    </tr>
  </table>
  <div class="settingtable" >
    <div class="vBorder addr_line">帐号密码</div>
    <asp:PlaceHolder ID="phInfobar" runat="server" Visible="false"> <br />
      <div class="infobar" name="infobardiv" id="infobardiv" style="display:;margin:0 15px;" ><span id="infobarid">
        <asp:Literal ID="ltlInfobar" runat="server"></asp:Literal>
        </span></div>
    </asp:PlaceHolder>
    <div class="settingtd settingDiv no_bt">
      <div class="settingDiv_l">输入当前密码：</div>
      <div class="settingDiv_r">
        <div>
          <asp:TextBox TextMode="Password" id="OldPassword" class="txt wd" MaxLength="50" Size="20" runat="server"/>
          <asp:RequiredFieldValidator
			ControlToValidate="OldPassword"
			ErrorMessage=" *"
			Display="Dynamic"
			runat="server"
			/>
          <asp:PlaceHolder ID="phPasswordError" runat="server"> </asp:PlaceHolder>
        </div>
      </div>
    </div>
    <div class="settingtd settingDiv no_bt">
      <div class="settingDiv_l">输入新密码：</div>
      <div class="settingDiv_r">
        <div>
          <asp:TextBox TextMode="Password" id="Password" class="txt wd" MaxLength="50" Size="20" runat="server"/>
          <asp:RequiredFieldValidator
			ControlToValidate="Password"
			ErrorMessage=" *"
			Display="Dynamic"
			runat="server"
			/>
        </div>
      </div>
    </div>
    <div class="settingtd settingDiv no_bt">
      <div class="settingDiv_l">重复输入新密码：</div>
      <div class="settingDiv_r">
        <div>
          <asp:TextBox TextMode="Password" id="ConfirmPassword" class="txt wd" MaxLength="50" Size="20" runat="server"/>
          <asp:RequiredFieldValidator
			ControlToValidate="ConfirmPassword"
			ErrorMessage=" *"
			Display="Dynamic"
			runat="server"
			/>
          <asp:CompareValidator ID="NewPasswordCompare" runat="server" ControlToCompare="Password"
			ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="两次输入的密码不一致！请再输入一遍您上面填写的密码。"></asp:CompareValidator>
        </div>
        <div class="addrtitle" >(请重复输入一遍新密码。)</div>
      </div>
    </div>
  </div>
  </div>
  <div class="toolbg toolbgline barspace3">
    <asp:Button id="Submit" class="btn" Text="保存更改" Onclick="Submit_OnClick" runat="server"/>
  </div>
</form>
</body>
</html>
