<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Regvip1.ascx.cs" Inherits="WebMain_Member_Regvip1"%>
<table border="0" cellpadding="0" cellspacing="0" class="topdh" width="95%">
    <tr>
        <td style="height: 19px">
            &nbsp;会员注册</td>
    </tr>
</table>
<asp:Panel ID="Panel1" runat="server" Height="154px" HorizontalAlign="Center" Width="100%">
    <strong><span style="color: #cc6600">
        <table cellpadding="0" cellspacing="0" style="width: 95%">
            <tr>
                <td colspan="3" align=left style="height: 18px">
                    <strong><span class="regbigfont">亲爱的<asp:Label ID="username" runat="server" Text="Label"></asp:Label>：感谢您注册<asp:Label
                        ID="company" runat="server" Text="Label"></asp:Label>！</span></strong></td>
            </tr>
            <tr>
                <td style="height: 24px;" align="left">
                    您的用户名是：<asp:Label ID="uid" runat="server" Font-Bold="True" Font-Underline="True" ForeColor="#0000C0"></asp:Label></td>
                <td style="width: 100px; height: 24px;">
                </td>
                <td style="height: 24px;">
                </td>
            </tr>
            <tr>
                <td style="height: 13px;" align="left">
                    你的密码是：<asp:Label ID="pwd" runat="server" Font-Bold="True" Font-Underline="True" ForeColor="#0000C0"></asp:Label></td>
                <td style="width: 100px; height: 13px;">
                    <strong><span style="color: #cc6600"></span></strong>
                </td>
                <td style="height: 13px;">
                </td>
            </tr>
            <tr>
                <td align="left" style="height: 13px">
                </td>
                <td style="width: 100px; height: 13px">
                </td>
                <td style="height: 13px">
                </td>
            </tr>
            <tr>
                <td align="left" colspan="2" style="height: 30px">
                    <table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 418px">
                        <tr>
                            <td align="center" colspan="3" style="width: 160px; height: 19px">
                                <asp:LinkButton ID="LinkButton2" runat="server" Font-Bold="True" PostBackUrl="~/Default.aspx">开始我的购物之旅吧!!!</asp:LinkButton></td>
                        </tr>
                    </table>
                </td>
                <td style="height: 30px">
                </td>
            </tr>
        </table>
    </span></strong></asp:Panel>
<asp:Panel ID="Panel2" runat="server" HorizontalAlign="Center" Width="100%">
<script language=javascript src="../../js/date.js"></script>
<table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
    <tr>
        <td width="20%" align="right" bgcolor="#EFEFEF" style="height: 30px">
            姓 &nbsp; 名：</td>
        <td align="left" valign="middle" bgcolor="#FFFFFF" style="width: 80%; height: 30px">
            &nbsp;
            <asp:TextBox ID="vipname" runat="server" Width="250px"></asp:TextBox>
            <asp:Label ID="Label2" runat="server" ForeColor="Red" Text="*"></asp:Label>
            &nbsp;&nbsp;
      <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="vipname"
                CssClass="ckckong" Display="Dynamic" EnableTheming="True" EnableViewState="False"
                ErrorMessage="请填写真实姓名,以便我们及时联系您" Font-Bold="False" Font-Italic="False" Font-Names="ff"
                Font-Overline="False" Font-Strikeout="False" SetFocusOnError="True" ForeColor="">请填写真实姓名,以便我们及时联系您</asp:RequiredFieldValidator></td>
    </tr>
  <tr>
    <td width="20%"   align="right" bgcolor="#EFEFEF" style="height: 12px">
        用户名：</td>
    <td  align="left" bgcolor="#FFFFFF" style="width: 80%; height: 12px">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
            <tr>
                <td>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <table border="0" cellpadding="0" cellspacing="0" width="400">
                    <tr>
                        <td align="center" colspan="2" style="height: 24px">
                            &nbsp;
      <asp:TextBox ID="vipusername" runat="server" Width="250px" AutoPostBack="True"></asp:TextBox></td>
                        <td style="height: 24px; width: 538px;">
                            &nbsp;<asp:Label ID="Labfdsaf" runat="server" ForeColor="Red" Text="*"></asp:Label>
                            <asp:Label ID="Label1" runat="server" CssClass="ckckong2" Text="该用户存在" Visible="False" Width="240px"></asp:Label>
                    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1" DisplayAfter="50">
                        <ProgressTemplate>
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/images/loading.gif" ImageAlign="AbsMiddle" />加载...
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                </td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </td>
  </tr>
  <tr>
    <td width="20%"   align="right" bgcolor="#EFEFEF" style="height: 30px">
        密 &nbsp; 码：</td>
    <td   align="left" bgcolor="#FFFFFF" style="width: 80%; height: 30px">&nbsp;
      <asp:TextBox ID="vipuserpwd" runat="server" Width="250px" TextMode="Password"></asp:TextBox>&nbsp;<asp:Label
          ID="Label3" runat="server" ForeColor="Red" Text="*"></asp:Label>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="vipuserpwd"
            CssClass="ckckong" Display="Dynamic" ErrorMessage="不能为空" ForeColor="" SetFocusOnError="True"></asp:RequiredFieldValidator>
      <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="vipuserpwd"
            CssClass="ckckong2" Display="Dynamic" ErrorMessage="格式错误" ValidationExpression="^[a-zA-Z0-9_]{4,15}$" ForeColor="" SetFocusOnError="True"></asp:RegularExpressionValidator></td>
  </tr>
  <tr>
    <td width="20%"   align="right" bgcolor="#EFEFEF" style="height: 30px">
        重复密码：&nbsp;</td>
    <td   align="left" bgcolor="#FFFFFF" style="height: 30px; width: 80%;">&nbsp;
      <asp:TextBox ID="revipuserpwd" runat="server" Width="250px" TextMode="Password"></asp:TextBox>&nbsp;&nbsp;<asp:Label
          ID="Label4" runat="server" ForeColor="Red" Text="*"></asp:Label>
        <asp:CompareValidator
        ID="CompareValidator1" runat="server" ControlToCompare="vipuserpwd" ControlToValidate="revipuserpwd"
        CssClass="ckckong2" Display="Dynamic" ErrorMessage="两次密码不一致" SetFocusOnError="True" ForeColor=""></asp:CompareValidator></td>
  </tr>
  <tr>
    <td width="20%"   align="right" bgcolor="#EFEFEF" style="height: 30px">
        问&nbsp; 题：</td>
    <td   align="left" bgcolor="#FFFFFF" style="width: 80%; height: 30px;">&nbsp;&nbsp;
        <select runat=server id="qus">
            <option value="您的出生地是？">您的出生地是？</option>
            <option value="您高中班主任的名字是？">您高中班主任的名字是？</option>
            <option value="您小学班主任的名字是？">您小学班主任的名字是？</option>
            <option value="您父亲的姓名是？">您父亲的姓名是？</option>
            <option value="您母亲的生日是？">您母亲的生日是？</option>
            <option value="您母亲的姓名是？">您母亲的姓名是？</option>
            <option value="您父亲的生日是？">您父亲的生日是？</option>
            <option value="您配偶的姓名是？">您配偶的姓名是？</option>
            <option value="您的学号（或工号）是？">您的学号（或工号）是？</option>
            <option value="您配偶的职业是？">您配偶的职业是？</option>
            <option value="您母亲的职业是？">您母亲的职业是？</option>
            <option value="您配偶的生日是？">您配偶的生日是？</option>
            <option value="您父亲的职业是？">您父亲的职业是？</option>
            <option value="您初中班主任的名字是？">您初中班主任的名字是？</option>
        </select>
        &nbsp;<asp:Label
          ID="Label5" runat="server" ForeColor="Red" Text="*"></asp:Label>
        <asp:Label ID="Label10" runat="server" Text="请选其中一个问题"></asp:Label>
        &nbsp;
    </td>
  </tr>
  <tr>
    <td width="20%"   align="right" bgcolor="#EFEFEF" style="height: 30px">
        答 案：&nbsp;</td>
    <td   align="left" bgcolor="#FFFFFF" style="width: 80%; height: 30px">&nbsp;
      <asp:TextBox ID="PWDAnswer" runat="server" Width="300px"></asp:TextBox>&nbsp;<asp:Label
          ID="Label6" runat="server" ForeColor="Red" Text="*"></asp:Label>
        <asp:RequiredFieldValidator
        ID="RequiredFieldValidator6" runat="server" ControlToValidate="PWDAnswer" CssClass="ckckong"
        ErrorMessage="不能为空" ForeColor="" SetFocusOnError="True"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td width="20%" height="30"   align="right" bgcolor="#EFEFEF">
        E-mail：</td>
    <td height="30"   align="left" bgcolor="#FFFFFF" style="width: 80%">
        &nbsp;
        <asp:TextBox ID="vipemail" runat="server" Width="250px"></asp:TextBox>&nbsp;<asp:Label
            ID="Label7" runat="server" ForeColor="Red" Text="*"></asp:Label><asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="vipemail"
            CssClass="ckckong2" Display="Dynamic" ErrorMessage="格式错误!正确格式为 x@x.com" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ForeColor="" SetFocusOnError="True"></asp:RegularExpressionValidator>
      <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="vipemail"
            CssClass="ckckong" Display="Dynamic" ErrorMessage="很重要！订单、发货等信息都会发送到此信箱。" ForeColor="" SetFocusOnError="True"></asp:RequiredFieldValidator><span class="p9orange"></span></td>
  </tr>
  <tr>
    <td width="20%" height="30"  align="right" bgcolor="#EFEFEF">
        性 别：&nbsp;</td>
    <td height="30" align="left" bgcolor="#FFFFFF" style="width: 80%">&nbsp;
      <asp:RadioButton ID="isn" runat="server" Checked="True" GroupName="vipsex"
            Text="男" />
      <asp:RadioButton ID="isv" runat="server" GroupName="vipsex" Text="女" />&nbsp;<asp:Label
          ID="Label8" runat="server" ForeColor="Red" Text="*"></asp:Label></td>
  </tr>
  <tr>
    <td width="20%"   align="right" bgcolor="#EFEFEF" style="height: 28px">
        出生日期：</td>
    <td   align="left" bgcolor="#FFFFFF" style="width: 80%; height: 28px">&nbsp;
        <asp:TextBox ID="Birthday" runat="server"></asp:TextBox>
        <asp:Label ID="Label9" runat="server" Font-Bold="True" ForeColor="Red" Text="*"></asp:Label>
        格式为：1986-01-07
        &nbsp;&nbsp;
      <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="Birthday"
            CssClass="ckckong" ErrorMessage="不能为空" ForeColor=""></asp:RequiredFieldValidator>&nbsp;</td>
  </tr>
  <tr>
    <td width="20%" height="30"  align="right" bgcolor="#EFEFEF">
        地 区：&nbsp;</td>
    <td height="30"  align="left" bgcolor="#FFFFFF" style="width: 80%">&nbsp;
      <asp:TextBox ID="viparear" runat="server" Width="300px"></asp:TextBox>&nbsp;</td>
  </tr>
  <tr>
    <td width="20%" align="right" bgcolor="#EFEFEF" style="height: 30px">
        联系地址：&nbsp;</td>
    <td  align="left" bgcolor="#FFFFFF" style="width: 80%; height: 30px">&nbsp;
      <asp:TextBox ID="vipAddress" runat="server" Width="300px"></asp:TextBox>&nbsp;<br />
        &nbsp;
        <asp:Label ID="Label11" runat="server" Text="为了方便您购物，请完善个人信息，系统会自动生成有关收货信息。"></asp:Label></td>
  </tr>
  <tr>
    <td width="20%"   align="right" bgcolor="#EFEFEF" style="height: 30px">
        邮政编码：</td>
    <td   align="left" bgcolor="#FFFFFF" style="height: 30px; width: 80%;">&nbsp;
      <asp:TextBox ID="Post" runat="server" Width="250px"></asp:TextBox>&nbsp;
      </td>
  </tr>
  <tr>
    <td width="20%" height="30"  align="right" bgcolor="#EFEFEF">
        移动电话：&nbsp;</td>
    <td height="30"  align="left" bgcolor="#FFFFFF" style="width: 80%">&nbsp;
      <asp:TextBox ID="MobilePhone" runat="server" Width="250px"></asp:TextBox>&nbsp;</td>
  </tr>
  <tr>
    <td width="20%" height="30"   align="right" bgcolor="#EFEFEF">
        固定电话：</td>
    <td height="30"   align="left" bgcolor="#FFFFFF" style="width: 80%">&nbsp;
      <asp:TextBox ID="Telephone" runat="server" Width="250px"></asp:TextBox>&nbsp;
      </td>
  </tr>
    <tr>
        <td align="right" bgcolor="#efefef" style="height: 29px" width="20%">
            推荐人：</td>
        <td align="left" bgcolor="#ffffff" style="width: 80%; height: 29px">
            &nbsp;
            <asp:TextBox ID="tjren" runat="server" Width="250px"></asp:TextBox></td>
    </tr>
    <tr>
        <td width="20%" align="right" bgcolor="#EFEFEF" style="height: 30px">
            用户协议：</td>
        <td align="left" bgcolor="#FFFFFF" style="width: 80%; height: 30px"><iframe width="500" height="150" frameborder="1" scrolling="yes"  src="../WebMain/Member/hylist.aspx"></iframe>
      &nbsp;</td>
    </tr>
    <tr>
        <td width="20%" align="right" bgcolor="#EFEFEF" style="height: 30px" >        </td>
        <td align="left" bgcolor="#FFFFFF" style="height: 30px; width: 80%;" >
      <asp:CheckBox ID="ckc" runat="server" Checked="True" AutoPostBack="True" />我已阅读并同意《<asp:HyperLink
                ID="HyperLink1" runat="server" Target="_blank">本商城用户协议</asp:HyperLink>》</td>
    </tr>
  <tr>
    <td width="20%"   align="right" bgcolor="#EFEFEF" style="height: 30px">
        &nbsp; &nbsp;</td>
    <td   align="left" bgcolor="#FFFFFF" style="height: 30px; width: 80%;">&nbsp;
      <asp:Button ID="Button1" runat="server" Text="注册会员" OnClick="Button1_Click" />&nbsp;
      </td>
  </tr>
</table>
    &nbsp;</asp:Panel>
