<%@ page language="C#" autoeventwireup="true" inherits="Online_Per_Register, ZhaoPinXiTong" enableEventValidation="false" %>

<%@ Register Tagprefix="UserControls" TagName="Footer" Src="Con_Footer.ascx" %>
<%@ Register Tagprefix="UserControls" TagName="Header" Src="Con_Header.ascx" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" Runat=server>
    <title><%= "会员注册 "+ pub_WebName %></title>
    <meta name="author" content="www.zhaopinxitong.com,无忧招聘系统开发制作" />
    <LINK rel="stylesheet" type="text/css" href=<%= "../Css/Wapcss/Wap"+ pub_Wapstyle +".css" %>>
    <script src="../cscript/jquery.min.js" type="text/javascript"></script>
    <script language="javascript" src="../cscript/mailAutoComplete.js" type="text/javascript"></script>
    <style type="text/css">
<!--
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
.out_box{border:1px solid #ccc; background:#fff; font:12px/20px Tahoma;}
.list_box{border-bottom:1px solid #eee; padding:0 5px; cursor:pointer;}
.focus_box{background:#f0f3f9;}
.mark_box{color:#c00;}
-->
</style>
</head>
<body>
    <form id="form1" Runat=server>
    <UserControls:Header id="Header1" Runat=server></UserControls:Header>
    <!--注册表单-->
    <div class="Nav">个人会员注册</div>
    <asp:Label Runat=server ID="lbl_Error" ForeColor="#FF0000" />
    
    用户名：<br><asp:TextBox Runat=server ID="txt_Username" Width="120"></asp:TextBox>
    <asp:regularexpressionvalidator Runat=server ID="rev_Username" ControlToValidate="txt_Username" ValidationExpression="[a-zA-z0-9]{4,20}" Display="Dynamic" ErrorMessage="<br> 用户名格式不正确！"></asp:regularexpressionvalidator>
    <br>
    密码(至少6位)：<br><asp:TextBox Runat=server ID="txt_Password" Width="120" TextMode="Password"></asp:TextBox>
    <asp:RegularExpressionValidator Runat=server ID="rev_Password" ControlToValidate="txt_Password" ValidationExpression="[a-zA-z0-9]{6,20}"
													Display="Dynamic" ErrorMessage="<br> 密码格式不正确！"></asp:RegularExpressionValidator>
	<br>											
    邮件地址：<br><asp:TextBox Runat=server ID="txt_Email" Width="120"></asp:TextBox>
    <asp:RegularExpressionValidator Runat=server ID="rev_Email" ControlToValidate="txt_Email" ValidationExpression="[\w\.-]+(\+[\w-]*)?@([\w-]+\.)+[\w-]+"
													Display="Dynamic" ErrorMessage="<br> 邮件地址不正确！"></asp:RegularExpressionValidator>
	<br>
												
    <asp:Button Runat=server ID="btn_Submit" Text="确认注册" Width="80" OnClick="btn_Submit_Click" /><br />
    <a href="Per_Login.aspx">已经是会员，开始登录>></a>
    <UserControls:Footer id="Footer1" Runat=server></UserControls:Footer>
    <script type="text/javascript">
        $("#txt_Email").mailAutoComplete({
            boxClass: "out_box", //外部box样式
            listClass: "list_box", //默认的列表样式
            focusClass: "focus_box", //列表选样式中
            markCalss: "mark_box", //高亮样式
            autoClass: false,
            textHint: true, //提示文字自动隐藏
            hintText: "请输入邮箱地址"
        });
</script>
    </form>
</body>
</html>
