<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cusfiles.aspx.cs" Inherits="cusfiles" validateRequest="false" %>

<!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>
	<LINK href="css/default.css" type=text/css rel=stylesheet>
</head>
<body style="background-color:transparent">
    <form id="form1" runat="server" defaultbutton="send">
    <div>
    <DIV class="m73" style="width:400px; height:470px;overflow-y: auto;overflow-x: hidden;">

   <table width="100%" border="0" cellspacing="00" cellpadding="00">
    <tr>
      <td colspan="2" style="height: 30px"><div align="center" style="font-size:14px"><strong>用户资料修改</strong></div></td>
      </tr>
	<tr>
      <td width="28%" style="height: 40px"><div align="right">昵称:</div></td>
      <td width="72%" style="height: 40px" align="left">&nbsp;
          <asp:Label ID="cname" runat="server"></asp:Label></td>
    </tr>
	<tr>
      <td style="height: 40px"><div align="right">
          旧密码:</div></td>
      <td style="height: 40px" align="left">
          &nbsp;&nbsp;<asp:TextBox ID="oldcpw" runat="server" TextMode="Password" SkinID="worm"></asp:TextBox>
          <asp:RequiredFieldValidator ID="oldcwpValidator" runat="server" ControlToValidate="oldcpw"
              ErrorMessage="*"></asp:RequiredFieldValidator>
          <asp:CustomValidator ID="yanzhengpw" runat="server" ErrorMessage="原始密码不对" OnServerValidate="Verifypw" ControlToValidate="oldcpw"></asp:CustomValidator></td>
    </tr>
    <tr>
      <td style="height: 40px"><div align="right">
          新密码:</div></td>
      <td style="height: 40px" align="left">
          &nbsp;&nbsp;<asp:TextBox ID="cpw" runat="server"  TextMode="Password" SkinID="worm"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="cpw"
              ErrorMessage="*"></asp:RequiredFieldValidator></td>
    </tr>
	<tr>
      <td style="height: 40px"><div align="right">
          重复新密码:</div></td>
      <td style="height: 40px" align="left">
          &nbsp;&nbsp;<asp:TextBox ID="cpw2" runat="server" TextMode="Password" SkinID="worm"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="cpw2"
              Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
          <asp:CompareValidator ID="compw" runat="server" ControlToCompare="cpw2" ControlToValidate="cpw"
              ErrorMessage="密码不一致" OnDisposed="pwcom"></asp:CompareValidator></td>
    </tr>
	<tr>
      <td style="height: 40px"><div align="right">
          性别:</div></td>
      <td style="height: 40px" align="left">
          &nbsp;&nbsp;&nbsp;<asp:RadioButtonList ID="csex" runat="server" Height="1px" Width="75px" RepeatColumns="2" TextAlign="Left" RepeatLayout="Flow" CellPadding="0" CellSpacing="0">
              <asp:ListItem Selected="True" Value="男">男</asp:ListItem>
              <asp:ListItem>女</asp:ListItem>
          </asp:RadioButtonList></td>
    </tr>
	<tr>
      <td style="height: 40px"><div align="right">
          QQ号码:</div></td>
      <td style="height: 40px" align="left">
          &nbsp;&nbsp;<asp:TextBox ID="cqq" runat="server" SkinID="worm"></asp:TextBox>&nbsp;          </td>
    </tr>
	<tr>
      <td style="height: 40px"><div align="right">邮址:</div></td>
      <td style="height: 40px" align="left">
          &nbsp;&nbsp;<asp:TextBox ID="cmail" runat="server" BackColor="#F3F3F3" BorderColor="White"
              ForeColor="#404040" SkinID="worm"></asp:TextBox>
          <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="cmail"
              Display="Dynamic" ErrorMessage="不是邮件地址" SetFocusOnError="True" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>          </td>
    </tr>
	<tr>
      <td style="height: 40px"><div align="right">
          地址:</div></td>
      <td style="height: 40px" align="left">
          &nbsp;&nbsp;<asp:TextBox ID="caddress" runat="server" Width="255px" SkinID="worm"></asp:TextBox></td>
    </tr>
	<tr>
      <td  valign="top" style="height: 40px"><div align="right">
          用户等级:</div></td>
      <td align="left" valign="top" style="height: 40px">&nbsp;&nbsp;
          <asp:Label ID="clei" runat="server"></asp:Label>
          <asp:Label ID="cji" runat="server"></asp:Label></td>
    </tr>
	<tr>
      <td  valign="top" style="height: 40px"><div align="right">
          其他信息:</div></td>
      <td align="left" valign="top" style="height: 40px">&nbsp;&nbsp;
	    <asp:Label ID="cdeng" runat="server" Text=""></asp:Label>
        <asp:Label ID="csend" runat="server" Text=""></asp:Label></td>
    </tr>
	<tr>
      <td valign="top" style="height: 60px; padding-top:30px"><div align="right">会员头像:</div></td>
      <td align="left" valign="top" style="height: 60px">
          &nbsp;&nbsp;
          <asp:DropDownList ID="headlist" runat="server"  onChange="document.images['face'].src=options[selectedIndex].value;" OnSelectedIndexChanged="selecthead">
              <asp:ListItem Selected="True" Value="images/head/1.jpg">头像1</asp:ListItem>
              <asp:ListItem Value="images/head/2.jpg">头像2</asp:ListItem>
              <asp:ListItem Value="images/head/3.jpg">头像3</asp:ListItem>
              <asp:ListItem Value="images/head/4.jpg">头像4</asp:ListItem>
              <asp:ListItem Value="images/head/5.jpg">头像5</asp:ListItem>
              <asp:ListItem Value="images/head/6.jpg">头像6</asp:ListItem>
              <asp:ListItem Value="images/head/7.jpg">头像7</asp:ListItem>
              <asp:ListItem Value="images/head/8.jpg">头像8</asp:ListItem>
              <asp:ListItem Value="images/head/9.jpg">头像9</asp:ListItem>
              <asp:ListItem Value="images/head/10.jpg">头像10</asp:ListItem>
          </asp:DropDownList>
          <asp:Image ID="face" runat="server" ImageUrl="~/images/head/1.jpg" />&nbsp;等级2可以自定义头像&nbsp;<br />
          &nbsp; &nbsp;<asp:FileUpload ID="fileup" runat="server" Height="18px" Visible="False" SkinID="worm"/>
          <asp:Button ID="up" runat="server" Height="20px" Text="上传" OnClick="up_Click" Visible="False" CausesValidation="False" /></td>
    </tr>
	<tr>
      <td style="height: 40px"><div align="right">自我介绍:</div></td>
      <td style="height: 40px" align="left">
          &nbsp;&nbsp;<asp:TextBox ID="cinstroduce" runat="server" SkinID="worm" Height="93px" TextMode="MultiLine" Width="257px"></asp:TextBox></td>
    </tr>
  </table>

</DIV>
<table width="450" border="0" cellspacing="0" cellpadding="0">
   <tr>
     <td align="center" style="padding-top:20px"><asp:Button ID="send" runat="server" Text="提交" OnClick="send_Click" BackColor="White" BorderColor="#E0E0E0" BorderStyle="Dotted" Width="60px"  />     
       &nbsp;&nbsp;
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
          <asp:Button ID="reset" runat="server" Text="重置" OnClick="reset_Click" BackColor="White" BorderColor="#E0E0E0" BorderStyle="Dotted" Width="60px" CausesValidation="False" /></td>
   </tr>
 </table>
    </div>
    </form>
</body>
</html>
