<!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=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="generator" content="anxinMall v{anxinMall:global.cfg_version}" />
<meta name="author" content="www.xuzhou.it" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<title>会员注册 - {anxinMall:global.cfg_sitename} - Powered by anxinMall</title>
<link rel="stylesheet" href="/skin/default/style/common.css" type="text/css" />
<link rel="stylesheet" href="/skin/default/style/member.css" type="text/css" />
<script type="text/javascript" src="/file/js/config.js"></script>
<script type="text/javascript" src="/file/js/jquery.js"></script>
<script type="text/javascript" src="/file/js/jquery.thickbox.js"></script>
<script type="text/javascript" src="/file/js/jquery.validate.js"></script>
<script type="text/javascript" src="/skin/default/js/common.js"></script>
<script type="text/javascript"> 
$(document).ready(function() {
 
		var v = jQuery("#form").validate({
			submitHandler: function(form) {
				form.submit()			
			},
		rules: {
			username: {
				required: true,
				rangelength:[{anxinMall:global.cfg_member_username_min},{anxinMall:global.cfg_member_username_max}],
				remote:"register.asp?action=checkusername"

			},
			password: {
				required: true,
				rangelength:[{anxinMall:global.cfg_member_password_min},{anxinMall:global.cfg_member_password_max}]
			},
			password2: {
				required: true,
				rangelength:[{anxinMall:global.cfg_member_password_min},{anxinMall:global.cfg_member_password_max}],
				equalTo: "#password"
			},
			email: {
				required: true,
				email: true
			},
			checkcode: {
				required: true,
				remote:"../include/anxinMall.checkcode.asp?action=ajaxcheck"
			},
			agree: "required"
		},
		messages: {
			username: {
				required: "请输入帐号",
				rangelength: "帐号输入错误",
				remote: "帐号已经被占用"
			},
			password: {
				required: "请输入密码",
				rangelength: "密码输入错误"
			},
			password2: {
				required: "请再次输入密码",
				minlength: "密码重复输入错误",
				equalTo: "2次输入不一致"
			},
			email: "请输入有效的email地址",
			checkcode: {
				required: "请输入验证码",
				remote: "验证码输入错误"
			},
			agree: "必须同意服务条款"
 
 
		},
		errorPlacement:function(error,element) {error.appendTo(element.parent("td").next("td"));
 
		}
			
		});
 
	});
</script>
<style type="text/css"> 
html{ overflow:hidden; }
body { overflow:hidden; }
.regmain {padding:20px 10px}
.regmain .regbox td{padding:4px}
</style>
</head>
<body>
<div id="anxinMall_layout">
	<div id="anxinMall_body">
	<div class="regmain">
	<form action="register.asp?action=save&model=mini" name="form" id="form" method="post">
		<div class="regbox">
			<table border="0" cellspacing="0" cellpadding="0">
			  <tr>
			    <th width="80">用户名：</th>
			    <td width="220"><input type="text" name="username" maxlength="12" class="input" style="width:180px" /><br /><em>用户名由{anxinMall:global.cfg_member_username_min}-{anxinMall:global.cfg_member_username_max}位英文、数字、及汉字组成</em></td>
			    <td></td>
			  </tr>
			  <tr>
			    <th>密码：</th>
			    <td><input type="password" name="password" id="password" maxlength="25" class="input" style="width:180px" /><br /><em>密码由{anxinMall:global.cfg_member_password_min}-{anxinMall:global.cfg_member_password_max}位任意字符组成</em></td>
			    <td></td>
			  </tr>
			  <tr>
			    <th>重复密码：</th>
			    <td><input type="password" name="password2" id="password2" maxlength="25" class="input" style="width:180px" /><br /><em>请重复输入确认密码</em></td>
			    <td></td>
			  </tr>
			  <tr>
			    <th>安全邮箱：</th>
			    <td><input type="text" name="email" maxlength="30" class="input" style="width:180px" /><br /><em>邮箱是密码找回的重要途径</em></td>
			    <td></td>
			  </tr>
			  <tr>
			    <th>验证码：</th>
			    <td><input name="checkcode" id="checkcode" type="text" size="10" class="input" style="width:50px" /> <img src="../include/anxinMall.checkcode.asp" onclick="this.src='../include/anxinMall.checkcode.asp?rnd='+Math.random();" alt="点击刷新验证码" class="checkcode" /></td>
			    <td></td>
			  </tr>
			  <tr>
			    <td></td>
			    <td colspan="2"><input type="submit" value="立即注册" class="submit" /></td>
			  </tr>
			</table>
		</div>
	</form>
	</div>
	</div>
</div>
</body>
</html>
