<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="signup.aspx.cs" Inherits="Maticsoft.Web.account.signup" %>
<%@ Register Src="../UserControls/CHeaderControl.ascx" TagName="CHeaderControl" TagPrefix="uc1" %>
<%@ Register Src="../UserControls/CFooterControl.ascx" TagName="CFooterControl" 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">

</head>
<body class="newbie">
    <form id="form1" runat="server" class="">
        <div id="pagemasker">
        </div>
  
        <div id="dialog">
        </div>
        <div id="doc">
     <uc1:CHeaderControl ID="CHeaderControl1" runat="server" />
            <div id="bdw" class="bdw">
                <div id="bd" class="cf">
                    <div id="signup">
                        <div id="content" class="signup-box">
                            <div class="box">
                            
                                <div class="box-content">
                                    <div class="head">
                                        <h2>
                                            注册</h2>
                                        <span>&nbsp;或者 <a href="login.aspx">登录</a></span></div>
                                    <div class="sect">
                                        
                                            <div class="field email">
                                                <label for="signup-email-address">
                                                    Email</label>
                                                <input  type="text" size="30" name="email" group="a" require="true" datatype="email|ajax" url="/ajax/user.aspx" vname="signupemail" msg="邮箱不能为空|email已经被注册" msgid="emailerr"  class="f-input" /><span  class="hint">用于登录及找回密码，不会公开，请放心填写</span><br /><span id="emailerr"></span>
                                            </div>
                                            <div class="field username">
                                                <label for="signup-username">
                                                    用户名</label>

                                                <input   type="text" size="30" name="username" group="a" require="true" id="username" datatype="ajax" url="/ajax/user.aspx" vname="signupusername" msg="用户名不能为空|用户名已经被注册" msgid="usernameerr"  class="f-input" /><span  class="hint">填写4-16个字符，一个汉字为两个字符</span><span id="usernameerr"></span>

                                            </div>
                                            <div class="field password">
                                                <label for="signup-password">
                                                    密码</label>

                                                <input   type="password" size="30" name="password" group="a" require="true" datatype="require" id="password" class="f-input"/><span class="hint">为了您的帐号安全，建议密码最少设置为6个字符以上</span>

                                            </div>
                                            <div class="field password">
                                                <label for="signup-password-confirm">
                                                    确认密码</label>

                                                <input  type="password" size="30" name="passwordconfirm" group="a"  require="true" datatype="repeat" to="password" id="passwordconfirm" class="f-input" />

                                            </div>
                                            <div class="field">
                                                <label for="signup-password-confirm">
                                                    手机号码</label>
                                              
                                                <%if (ASSystem.Needmobile == 0)
                                                      { %>
                                                    <input  type="text" size="30" name="mobile" group="a" id="mobile" class="number"  />
                                                <% }
                                                      else
                                                      {%>
                                                        <input  type="text" size="30" name="mobile" group="a" require="true" datatype="mobile" id="mobile" class="number" />

                                                <% }%>
                                                </div>
                                            <div class="field city">
                                                <label id="enter-address-city-label" for="signup-city">
                                                    所在城市</label>
                                                <select name="city" class="f-city" runat="server" id="city">
                                                  
                                                </select>
                                            </div>
                                            <div class="field subscribe">
                                                <input tabindex="3" type="checkbox" value="1" name="subscribe" id="subscribe" class="f-check"
                                                    checked="checked" />
                                                <label for="subscribe">
                                                    订阅每日最新团购信息</label>
                                            </div>
                                            <div class="act">
                                              <input type="submit" value="注册" name="commit" group="a"    id="loginsubmit" class="formbutton validator" runat="server" onserverclick="btnRist_Click"/>
                                                
                                          
                                            </div>
                                        
                                    </div>
                                </div>
                             
                            </div>
                        </div>
                        <div id="sidebar">
                            <div class="sbox">
                                <div class="sbox-top">
                                </div>
                                <div class="sbox-content">
                                    <div class="side-tip">
                                        <h2>
                                            已有<%=ASSystemArr["abbreviation"]%>账户？</h2>
                                        <p>
                                            请直接<a href="login.aspx">登录</a>。</p>
                                    </div>
                                </div>
                                <div class="sbox-bottom">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- bd end -->
            </div>            <!-- bdw end -->
 
           <uc2:CFooterControl ID="CFooterControl1" runat="server"/>
        </div>
         
    </form>
</body>
</html>