<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MemberCenter.aspx.cs" Inherits="Stat.web.v.MemberCenter" %>
<%@ Register src="../Control/ccHead.ascx" tagname="ccHead" tagprefix="uc1" %>
<%@ Register src="../Control/ccFoot.ascx" tagname="ccFoot" tagprefix="uc2" %>
<!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 runat="server">
    <title>会员中心</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <link href="../css/Skin2/index.css" rel="stylesheet" type="text/css" />
    <script src="../jQuery/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../js/Common.js" type="text/javascript"></script>
    <script type="text/javascript">
       $(document).ready(function(){ 
               $('#btnSaveUserInfo').bind('click', CheckForm);
        });
     function CheckForm() {     
       var UserPWD1=$('#txtUserPWD1').val();
       var UserPWD2=$('#txtUserPWD2').val();     
       if (!CheckEqualsValue(UserPWD1, UserPWD2)) {
           alert("两次密码不相等");
           $('#txtUserPWD2').focus();
           return false;
       }
    }           
</script>  
    
</head>
<body>
    <form id="form1" runat="server">
        <uc1:ccHead ID="ccHead1" runat="server" />
        <div class="C_u_ti">

                        会员信息</div>
    
    <div class="box"  style="margin-top:10px; font-size:12px;">
  <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CEDCED">
    <tr>
      <td height="29" bgcolor="#FFFFFF" style="width:150px; text-align:center; font-size:12px;">&nbsp;&nbsp;用户名：</td>
      <td bgcolor="#FFFFFF">&nbsp;<asp:TextBox ID="txtUserName" runat="server" 
              Width="150px"></asp:TextBox>
          &nbsp;<asp:HiddenField ID="hdfUserId" runat="server" />
                                </td>
    </tr>
    
    <tr>
      <td height="29" bgcolor="#FFFFFF" style="text-align:center; font-size:12px;">&nbsp;&nbsp;旧密码：</td>
      <td bgcolor="#FFFFFF">&nbsp;<asp:TextBox ID="txtOldPWD" runat="server" 
              TextMode="Password" Width="150px"></asp:TextBox>
                                    </td>
    </tr>
    
    <tr>
      <td height="29" bgcolor="#FFFFFF" style="text-align:center; font-size:12px;">新密码：</td>
      <td bgcolor="#FFFFFF">&nbsp;<asp:TextBox ID="txtUserPWD1" runat="server" 
              TextMode="Password" Width="150px"></asp:TextBox>
                                    </td>
    </tr>
    
    <tr>
      <td height="29" bgcolor="#FFFFFF" style="text-align:center; font-size:12px;">确认新密码：</td>
      <td bgcolor="#FFFFFF">&nbsp;<asp:TextBox ID="txtUserPWD2" runat="server" 
              TextMode="Password" Width="150px"></asp:TextBox>
                                    </td>
    </tr>
    
    <tr>
      <td height="29" bgcolor="#FFFFFF" style="text-align:center; font-size:12px;">邮箱（Email）：</td>
      <td bgcolor="#FFFFFF">&nbsp;<asp:TextBox ID="txtUEmail" runat="server" 
              Width="150px" onblur="if(!isEmail(this.value)){alert('Email填写错误！');this.focus();}"></asp:TextBox>
                                </td>
    </tr>
    
    <tr>
      <td height="29" bgcolor="#FFFFFF" style="text-align:center; font-size:12px;">Q Q:</td>
      <td bgcolor="#FFFFFF">&nbsp;<asp:TextBox ID="txtUQQ" runat="server" Width="150px" onblur="if(!checkNum(this.value)){alert('只能够是数字！');this.focus();}"></asp:TextBox>
                                    <asp:HiddenField ID="hdfOldPWD" runat="server" />
                                </td>
    </tr>
    </table>
</div>
   <div class="box" style="text-align:left; margin-top:20px; margin-bottom:10px;">
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="btnSaveUserInfo" 
           runat="server" OnClick="btnSaveWebsite2_Click" Text="保存修改" />
</div> 
           

    <uc2:ccFoot ID="ccFoot1" runat="server" />
    </form>
</body>
</html>
