<%@ Page Language="C#" MasterPageFile="~/Master/Default/Page.master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="EasySion.ERP.Web.Register" Title="无标题页" %>
<asp:Content ID="SideContent" ContentPlaceHolderID="Side" runat="Server">
  <div class="sideMenu">
    <div class="tl"> </div>
    <div class="tr"> </div>
    <div class="tm">
      <h2 class="tt">
        <asp:Label ID="SideRegTitle" runat="server" meta:resourcekey="SideRegTitle" Text="" CssClass="sideRegTitle"></asp:Label>
      </h2>
    </div>
    <div class="pack">
      <div class="ml"> </div>
      <div class="mr"> </div>
      <div class="mm">
        <ul class="regStepList">
          <li>
            <asp:Label ID="Step1" CssClass="step" runat="server" Text="" EnableViewState="false" meta:resourcekey="Step1"></asp:Label>
          </li>
          <li>
            <asp:Label ID="Step2" CssClass="step" runat="server" Text="" EnableViewState="false" meta:resourcekey="Step2"></asp:Label>
          </li>
        </ul>
      </div>
    </div>
    <div class="bl"> </div>
    <div class="br"> </div>
    <div class="bm"> </div>
  </div>
  </div>
</asp:Content>
<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="Server">
  <div class="siteMapPath">
    <asp:Literal ID="SiteMapPath" runat="server" Text=""></asp:Literal>
  </div>
  <div class="pageMainContent">
    <div class="tl"> </div>
    <div class="tr"> </div>
    <div class="tm">
      <h2 class="tt">
        <asp:Literal ID="MembersRegs" runat="server" Text="<%$ Resources:WebResourcesGlobal, MembersRegs %>"></asp:Literal>
      </h2>
    </div>
    <div class="pack">
      <div class="ml"> </div>
      <div class="mr"> </div>
      <div class="mm">
        <div class="regMainContent">
          <asp:Panel ID="StepPanel1" runat="server">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="regTable">
              <tr style="display: none;">
                <td class="regLeftTd"><asp:Label ID="Label9" CssClass="requiredLabel" runat="server" Text="*"></asp:Label>
                  <asp:Literal ID="Literal1" runat="server" Text="会员组"></asp:Literal></td>
                <td class="regRightTd"><asp:DropDownList ID="ddlGroup" runat="server"> </asp:DropDownList></td>
              </tr>
              <tr>
                <td class="regLeftTd"><asp:Label ID="RequiredLabel" meta:resourcekey="RequiredLabel" CssClass="requiredLabel" runat="server" Text="Label"></asp:Label>
                  <asp:Literal ID="MemberNameLiteral" runat="server" Text="" meta:resourcekey="MemberNameLiteral"></asp:Literal></td>
                <td class="regRightTd"><asp:TextBox ID="MemberName" runat="server" ValidationGroup="RegMember" CssClass="memberName" style="width: 180px"></asp:TextBox>
                  <asp:RequiredFieldValidator ID="MemberNameRequired" meta:resourcekey="MemberNameRequired" runat="server" ControlToValidate="MemberName" Display="Dynamic" ValidationGroup="RegMember"></asp:RequiredFieldValidator>
                  <asp:CustomValidator ID="MemberNameCustom" meta:resourcekey="MemberNameCustom" runat="server" ErrorMessage="" ControlToValidate="MemberName" OnServerValidate="MemberNameCustom_ServerValidate" ValidationGroup="RegMember"></asp:CustomValidator></td>
              </tr>
              <tr>
                <td class="regLeftTd"><asp:Label ID="Label1" meta:resourcekey="RequiredLabel" CssClass="requiredLabel" runat="server" Text="Label"></asp:Label>
                  <asp:Literal ID="PasswordLiteral" runat="server" Text="" meta:resourcekey="PasswordLiteral"></asp:Literal></td>
                <td class="regRightTd"><asp:TextBox ID="Password" runat="server" ValidationGroup="RegMember" TextMode="Password" CssClass="password" style="width: 180px"></asp:TextBox>
                  <asp:RequiredFieldValidator ID="PasswordRequired" meta:resourcekey="PasswordRequired" runat="server" ControlToValidate="Password" Display="Dynamic" ValidationGroup="RegMember"></asp:RequiredFieldValidator>
                  <asp:RegularExpressionValidator ID="PasswordRegularExpression" meta:resourcekey="PasswordRegularExpression" runat="server" ControlToValidate="Password" Display="Dynamic" ValidationExpression="\w{6,32}" ValidationGroup="RegMember"></asp:RegularExpressionValidator></td>
              </tr>
              <tr>
                <td class="regLeftTd"><asp:Label ID="Label2" meta:resourcekey="RequiredLabel" CssClass="requiredLabel" runat="server" Text="Label"></asp:Label>
                  <asp:Literal ID="RepeatPasswordLiteral" runat="server" meta:resourcekey="RepeatPasswordLiteral" Text=""></asp:Literal></td>
                <td class="regRightTd"><asp:TextBox ID="RepeatPassword" runat="server" ValidationGroup="RegMember" TextMode="Password" CssClass="repeatPassword" style="width: 180px"></asp:TextBox>
                  <asp:CompareValidator ID="PasswordCompare" meta:resourcekey="PasswordCompare" runat="server" ErrorMessage="CompareValidator" ControlToCompare="RepeatPassword" ControlToValidate="Password" Display="Dynamic" ValidationGroup="RegMember"></asp:CompareValidator></td>
              </tr>
              <tr>
                <td class="regLeftTd">
                  <asp:Label ID="lbQuestion" meta:resourcekey="lbQuestion" runat="server" Text=""></asp:Label></td>
                <td class="regRightTd"><asp:TextBox ID="tbQuestion" runat="server" CssClass="tbQuestion" style="width: 280px"></asp:TextBox></td>
              </tr>
              <tr>
                <td class="regLeftTd">
                  <asp:Label ID="lbAnswer" meta:resourcekey="lbAnswer" runat="server" Text=""></asp:Label></td>
                <td class="regRightTd"><asp:TextBox ID="tbAnswer" runat="server" CssClass="tbAnswer" style="width: 280px"></asp:TextBox></td>
              </tr>
              <tr>
                <td class="regLeftTd">
                  <asp:Literal ID="FullNameLiteral" runat="server" meta:resourcekey="FullNameLiteral" Text=""></asp:Literal></td>
                <td class="regRightTd"><asp:TextBox ID="FullName" runat="server" ValidationGroup="RegMember" CssClass="fullName" style="width: 180px"></asp:TextBox></td>
              </tr>
              <tr>
                <td class="regLeftTd">
                  <asp:Literal ID="SexLiteral" runat="server" meta:resourcekey="SexLiteral" Text=""></asp:Literal></td>
                <td class="regRightTd"><asp:RadioButtonList ID="SexList" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" ValidationGroup="RegMember" CssClass="sexList"> </asp:RadioButtonList></td>
              </tr>
              <tr>
                <td class="regLeftTd">
                  <asp:Literal ID="EmailLiteral" runat="server" meta:resourcekey="EmailLiteral" Text=""></asp:Literal></td>
                <td class="regRightTd"><asp:TextBox ID="Email" runat="server" ValidationGroup="RegMember" CssClass="email" style="width: 180px"></asp:TextBox>
                  <asp:RegularExpressionValidator ID="EmailRegularExpression" meta:resourcekey="EmailRegularExpression" runat="server" ControlToValidate="Email" Display="Dynamic" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="RegMember"></asp:RegularExpressionValidator></td>
              </tr>
              <tr>
                <td class="regLeftTd">
                  <asp:Literal ID="TelLiteral" runat="server" meta:resourcekey="TelLiteral" Text=""></asp:Literal></td>
                <td class="regRightTd"><asp:TextBox ID="Tel" runat="server" ValidationGroup="RegMember" CssClass="tel" style="width: 180px"></asp:TextBox></td>
              </tr>
              <tr>
                <td class="regLeftTd">
                  <asp:Literal ID="FaxLiteral" runat="server" meta:resourcekey="FaxLiteral" Text=""></asp:Literal></td>
                <td class="regRightTd"><asp:TextBox ID="Fax" runat="server" ValidationGroup="RegMember" CssClass="fax" style="width: 180px"></asp:TextBox></td>
              </tr>
              <tr>
                <td class="regLeftTd">
                  <asp:Literal ID="AddressLiteral" runat="server" meta:resourcekey="AddressLiteral" Text=""></asp:Literal></td>
                <td class="regRightTd"><asp:TextBox ID="Address" runat="server" ValidationGroup="RegMember" CssClass="address" style="width: 280px"></asp:TextBox></td>
              </tr>
              <tr>
                <td class="regLeftTd">
                  <asp:Literal ID="QQLiteral" runat="server" meta:resourcekey="QQLiteral" Text=""></asp:Literal></td>
                <td class="regRightTd"><asp:TextBox ID="QQ" runat="server" ValidationGroup="RegMember" CssClass="QQ" style="width: 180px"></asp:TextBox></td>
              </tr>
              <tr>
                <td class="regLeftTd">
                  <asp:Literal ID="MsnLiteral" runat="server" meta:resourcekey="MsnLiteral" Text=""></asp:Literal></td>
                <td class="regRightTd"><asp:TextBox ID="Msn" runat="server" ValidationGroup="RegMember" CssClass="msn" style="width: 180px"></asp:TextBox></td>
              </tr>
              <tr id="XieYi" style="display: none">
                <td class="regLeftTd" style="height: 37px"><asp:Literal ID="AgreementLiteral" runat="server" meta:resourcekey="AgreementLiteral" Text=""></asp:Literal></td>
                <td class="regRightTd" style="height: 37px"><asp:Label ID="Agreement" CssClass="agreement" runat="server" Text=""></asp:Label></td>
              </tr>
              <tr>
                <td class="regLeftTd"></td>
                <td class="regRightTd"><input id="ChBox" name="ChBox" type="checkbox" value="1" checked="checked" />
                  <asp:Literal ID="Literal11" runat="server" EnableViewState="False" Text="<%$ Resources:WebResourcesGlobal, RegisterTxt %>"></asp:Literal>
                  <a href="javascript:openXieYi();"> <%=HttpContext.GetGlobalResourceObject("WebResourcesGlobal", "RegisterView").ToString()%></a></td>
              </tr>
              <tr>
                <td class="regLeftTd"></td>
                <td class="regRightTd"><asp:Button ID="RegButton" runat="server" Text="" CssClass="regButton" meta:resourcekey="RegButton" ValidationGroup="RegMember" OnClick="RegButton_Click" />
                  <asp:Button ID="ExitButton" runat="server" Text="" CssClass="exitButton" meta:resourcekey="ExitButton" CausesValidation="False" OnClick="ExitButton_Click" /></td>
              </tr>
            </table>
            </asp:Panel>
          <asp:Panel ID="StepPanel2" runat="server">
            <asp:Label ID="Message" meta:resourcekey="Message" runat="server" Text=""></asp:Label>
            </asp:Panel>
        </div>
      </div>
    </div>
    <div class="bl"> </div>
    <div class="br"> </div>
    <div class="bm"> </div>
  </div>
<script type="text/javascript">
var obj_value="1";
function openXieYi()
{
    var obj=document.getElementById("XieYi");
    if(obj_value=="1")
    {
      obj.style.display="";
      obj_value="0";
    }
    else
    {
      obj.style.display="none";
      obj_value="1";
    }
}
</script>
</asp:Content>