<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Registration.aspx.cs" Inherits="Registration" %>
<%@ Register Src="WebControl/Top.ascx" TagName="Top" TagPrefix="uc1" %>
<%@ Register Src="WebControl/Foot.ascx" TagName="Foot" TagPrefix="uc2" %>
<%@ Register Src="WebControl/Left.ascx" TagName="Left" TagPrefix="uc3" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>注册-B2C电子商务网站</title>
<meta name="keywords" content="网上鞋店，手机数码，护肤品，..." />
<meta name="description" content="BtoC购物网站为您提供最实惠的商品..." />

<link href="css/templatemo_style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />

</head>

<body>

<form runat="server" id="form2">
<center>

<div id="templatemo_body_wrapper">
<div id="templatemo_wrapper">
    <uc1:Top runat="server" ID="uctop" />
    
    <div id="templatemo_main">
    	<uc3:Left runat="server" ID="ucLeft" />
    	
        <div id="content" class="float_r">
        	<h2 style="text-align:left">注册</h2>
            <div class="content_half float_l checkout">
				会员名:  
				  <asp:TextBox ID="txtMemberName" runat="server" Text="" style="width:300px;"></asp:TextBox><font color="red">*</font>
                  <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="txtMemberName" ErrorMessage="请填写会员名！" ToolTip="请填写会员名！" Display="Dynamic"></asp:RequiredFieldValidator> 
                <br />
                <br />
                密码:
				<asp:TextBox ID="txtPassword" runat="server" Text="" TextMode="Password" style="width:300px;"></asp:TextBox><font color="red">*</font>
				<asp:RegularExpressionValidator ID="rev" runat="server" 
                        ControlToValidate="txtPassword" ErrorMessage="密码长度不少于6位，密码由数字和英文字母组成！" 
                        ValidationExpression="^[0-9A-Za-z]{6,}$"></asp:RegularExpressionValidator>
                <br />
                <br />
                确认密码:
				<asp:TextBox ID="txtRePassword" runat="server" Text="" TextMode="Password" style="width:300px;"></asp:TextBox><font color="red">* </font>
                    <asp:RequiredFieldValidator ID="rfvPass" runat="server" ControlToValidate="txtRePassword"
                        ErrorMessage="确认密码必须填写！" ValidationGroup="1" Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="comPassword" runat="server" ControlToCompare="txtPassword"
                        ControlToValidate="txtRePassword" ErrorMessage="两次输入的密码不一致！" ValidationGroup="1"
                        Display="Dynamic"></asp:CompareValidator>
                <br />
                <br />
                E-mail:  
				  <asp:TextBox ID="txtEmail" runat="server" Text="" style="width:300px;"></asp:TextBox><font color="red">*</font>
                  <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                            ErrorMessage="E-mail格式不正确，请核对后再输！" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                <br />
                <br />
                联系方式:  
				  <asp:TextBox ID="txtPhone" runat="server" Text="" style="width:300px;"></asp:TextBox><font color="red">*</font>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPhone"
                        ErrorMessage="联系方式必须填写！" ValidationGroup="1" Display="Dynamic"></asp:RequiredFieldValidator>          
                <br />
                <br />
                QQ号:  
				  <asp:TextBox ID="txtQQ" runat="server" Text="" style="width:300px;"></asp:TextBox><font color="red">*</font>
                  <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtQQ"
                            ErrorMessage="QQ格式不正确，请核对后再输！" ValidationExpression="[0-9]{5,10}"></asp:RegularExpressionValidator>
                <br />
                <br />
                地址:  
				  <asp:TextBox ID="txtAddress" runat="server" Text="" style="width:300px;"></asp:TextBox><font color="red">*</font>
                  <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtAddress" ErrorMessage="请填写通讯地址！" ToolTip="请填写通讯地址！" Display="Dynamic"></asp:RequiredFieldValidator>                       
                <br />
                <br />
                
                <asp:ImageButton ID="btnRegistration" runat="server" ImageUrl="images/btn_Registration.jpg" Height="25px" Width="75px" OnClick="btnRegistration_Click" style="vertical-align:middle"/>
                <a href="javascript:location.href='Login.aspx'"><img src="images/btn_Cancel.jpg" alt="" height="25px" width="75px" style="vertical-align:middle"/></a>
            </div>

        </div>

        <div class="cleaner"></div>
    </div> <!-- END of templatemo_main -->
    
    <uc2:Foot runat="server" ID="ucFoot" />
</div> <!-- END of templatemo_wrapper -->
</div> <!-- END of templatemo_body_wrapper -->


</center>

</form>
</body>
</html>
