<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="ETongJin.Search.UI.TuiGuang.Register" %>
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>注册 - 注册聚合搜索引擎推广帐号</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script>
function fEvent(sType,oInput){
  switch (sType){
   case "focus" :
    oInput.isfocus = true;
   case "mouseover" :
    oInput.style.borderColor = '#9ecc00';
    break;
   case "blur" :
    oInput.isfocus = false;
   case "mouseout" :
    if(!oInput.isfocus){
     oInput.style.borderColor='#84a1bd';
    }
    break;
  }
 }
</script>
</head>
<body style="background:#dfebf5 url(images/bg.gif) repeat-x left top;text-align:left">
<div id="wrap">
  <div class="head">
    <div class="logo"></div>
    <div class="logotxt">- 注册</div>
    <div class="headlink" ><a href="/">首页</a> | <a href="login.aspx">已有帐号返回登录</a> | <a href="http://www.etongjin.com/" target="_blank">E桶金官方</a></div>
    <div class="clearit"></div>
  </div>
  <div class="main">
    <form id="form1" runat="server">
      <div class="main_top_com">
        <div style="height:34px;"></div>
        <p class="title" style="margin-top:10px;">选择用户名<span class="title_sub orange">您用于登陆的账户名称，注册后不能修改</span> </p>
        <ul class="maintable">
          <li>
            <div class="mt_l"><span class="red">*</span>用户名：</div>
            <div class="mt_r" style="z-index:3;">
              <div class="inputbox">
                <input name="title" type="text" runat="server" id="title" maxlength="17" onBlur="fEvent('blur',this)" onMouseOver="fEvent('mouseover',this)" onFocus="fEvent('focus',this)" onMouseOut="fEvent('mouseout',this)" />
              </div>
              <div class="onWrap"><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="title" Display="Dynamic" ErrorMessage="不能为空！"></asp:RequiredFieldValidator></div>
              <div class="inputtxt zi_9">4-16位之间，请用英文小写、数字、下划线，不能全部是数字或下划线。</div>
            </div>
          </li>
        </ul>
      </div>
      <div class="main_cen">
        <p class="title">设置安全信息<span class="title_sub orange">以下信息对保护您的帐号安全极为重要，请慎重填写并牢记</span></p>
        <ul class="maintable">
          <li>
            <div class="mt_l"><span class="red">*</span>登录密码：</div>
            <div class="mt_r">
              <div class="inputbox">
                <input type="password" name="password" id="password" runat="server" maxlength="17" onBlur="fEvent('blur',this)" onMouseOver="fEvent('mouseover',this)" onFocus="fEvent('focus',this)" onMouseOut="fEvent('mouseout',this)" />
              </div>
              <div class="onWrap"><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="password" Display="Dynamic" ErrorMessage="不能为空！"></asp:RequiredFieldValidator></div>
              <div class="inputtxt zi_9">6-16位字符（字母、数字、符号），区分大小写</div>
            </div>
          </li>
          <li>
            <div class="mt_l"><span class="red">*</span>再次输入密码：</div>
            <div class="mt_r">
              <div class="inputbox">
                <input type="password" name="password2" runat="server" id="password2" maxlength="17" onBlur="fEvent('blur',this)" onMouseOver="fEvent('mouseover',this)" onFocus="fEvent('focus',this)" onMouseOut="fEvent('mouseout',this)" />
              </div>
              <div class="onWrap"><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="password2" Display="Dynamic" ErrorMessage="不能为空！"></asp:RequiredFieldValidator>
              <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="password" ControlToValidate="password2" Display="Dynamic" ErrorMessage="两次输入的密码不一致！"></asp:CompareValidator></div>
            </div>
          </li>
          <li>
            <div class="mt_l">电子邮件：</div>
            <div class="mt_r">
              <div class="inputbox">
                <input type="text" name="email" id="email" runat="server" onBlur="fEvent('blur',this)" onMouseOver="fEvent('mouseover',this)" onFocus="fEvent('focus',this)" onMouseOut="fEvent('mouseout',this)" />
              </div>
              <div class="onWrap"><asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="email" Display="Dynamic" ErrorMessage="邮箱格式不正确！" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></div>
              <div class="inputtxt zi_9">您常用的电子邮件地址</div>
            </div>
          </li>
        </ul>
        <p class="title">填写个人资料</p>
        <ul class="maintable">
          <li>
            <div class="mt_l"> <span class="red">*</span>手机号码：</div>
            <div class="mt_r">
              <div class="inputbox">
                <input type="text" name="tel" id="tel"  runat="server" onBlur="fEvent('blur',this)" onMouseOver="fEvent('mouseover',this)" onFocus="fEvent('focus',this)" onMouseOut="fEvent('mouseout',this)" />
              </div>
              <div class="onWrap"><asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="tel" Display="Dynamic" ErrorMessage="手机或固定电话号码不正确！" ValidationExpression="(^(\d{2,4}[-_－—]?)?\d{3,8}([-_－—]?\d{3,8})?([-_－—]?\d{1,7})?$)|(^0?1[35]\d{9}$)"></asp:RegularExpressionValidator>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="tel"  Display="Dynamic" ErrorMessage="不能为空！"></asp:RequiredFieldValidator></div>
              <div class="inputtxt zi_9">4-20位数字，您的电话或者手机号码</div>
            </div>
          </li>
          <li>
            <div class="mt_l"> <span class="red">*</span>QQ号码：</div>
            <div class="mt_r">
              <div class="inputbox">
                <input type="text" name="qq" id="qq" runat="server" maxlength="20" onBlur="fEvent('blur',this)" onMouseOver="fEvent('mouseover',this)" onFocus="fEvent('focus',this)" onMouseOut="fEvent('mouseout',this)" /> 
              </div>
              <div class="onWrap"><asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="qq" Display="Dynamic" ErrorMessage="QQ号码不正确！" ValidationExpression="^\d*$"></asp:RegularExpressionValidator>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="qq" Display="Dynamic" ErrorMessage="不能为空！"></asp:RequiredFieldValidator></div>
              <div class="inputtxt zi_9">5-20位数字，您的QQ号码</div>
            </div>
          </li>
          <li>
            <div class="mt_l"></div>
            <div class="mt_r">
              <asp:Button ID="Button1" runat="server" Text="确定注册" OnClick="Button1_Click" CssClass="sign" /> <input type="reset" value="重新填写" name="B12" Class="sign" />
            </div>
          </li>
        </ul>
      </div>
      <div class="main_bottom"></div>
    </form>
  </div>
  <div id="foot" class="Area">Copyright &copy; 2009-
  <script type="text/javascript">document.write(new Date().getFullYear()+1);</script>
  <a title="E桶金提供技术支持" target="_blank" href="http://www.etongjin.com">Etongjin.com</a> Inc. All Rights Reserved.</div>
</div>
</body>
</html>
<%=ETongJin.Search.Config.SiteConfig.Instance.Statistics%>