<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>
<%titlename="会员注册"%>
<!--#include file="top.asp"-->
<!--#include file="../include/Cookietest.asp" -->
<!--#include file="../include/config.asp"-->
<!--#include file="../include/tishi.asp"-->
<!--#include file="../include/ssdz.asp"-->
<!--#include file="../include/jmail.asp"-->
    <style type="text/css" media="screen">
	@import url("../home/css/sys/detail.php@t=20060522.css");
</style>
<style>
body,select
{
 font-size:9pt;
 font-family:Verdana;
}
a
{
 color:red;
 text-decoration:none;
}
a:hover{
 text-decoration:underline;
}
</style>

<script language="javascript">
	<!--//
	function Check(){var huiyuan=document.formSignUp.huiyuan.value;
window.showModalDialog("yanzheng.asp?abc=huiyuan&huiyuan="+huiyuan,"","dialogwidth=350px;dialogheight=160px;status=no;help:no;scroll:no");
}
	function checksignup() {
		if ( document.formSignUp.huiyuan.value == '' ) {
			window.alert('请输入一个会员账号!!');
			document.formSignUp.huiyuan.focus();
			return false;
		}
               if ( document.formSignUp.password.value.length<4) {
			window.alert('为保证账号安全，密码不能低于4位!!');
			document.formSignUp.password.focus();
			return false;
		}
		if ( document.formSignUp.password.value == '' ) {
			window.alert('请输入会员密码!!');
			document.formSignUp.password.focus();
			return false;
		}
		if ( document.formSignUp.password2.value == '' ) {
			window.alert('请输入确认密码!!');
			document.formSignUp.password2.focus();
			return false;
		}
		if ( document.formSignUp.password2.value != document.formSignUp.password.value) {
			window.alert('您两次输入的密码不相同，请重新输入！!');
			document.formSignUp.password2.focus();
			return false;
		}
           if (( document.formSignUp.email.value.length<5 )||(document.formSignUp.email.value.indexOf("@")==-1)||(document.formSignUp.email.value.indexOf(".")==-1 )) {
			window.alert('请输入您正确的Email地址!!');
			document.formSignUp.email.focus();
			return false;
		}


		return true;
	}
	
	//-->
	</script>



</head>
<body bgcolor="#E0E0E0" onload="setup()">
<%'记录上一网页来源
If regno=2 Then
response.Write("<Script>alert('对不起，本站暂时关闭注册');window.location='index.asp';</script>")
End if
if InStr(request.serverVariables("Http_REFERER"),"reg.asp")=0 then
Response.Cookies(rikee)("url")=request.serverVariables("Http_REFERER")
end if
if Request.Cookies(rikee)("url")="" then
Response.Cookies(rikee)("url")="http://"&my_url&"/index.asp"
end if


Select case request("abc")

case "add"
if request("huiyuan")<>"" and request("password")<>"" then
server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))
server_v2=Cstr(Request.ServerVariables("SERVER_NAME"))	
if not mid(server_v1,8,len(server_v2))=server_v2 then
Response.Write "<script language=JavaScript>{window.alert('系统错误，拒绝从非本服务器登陆!');window.history.go(-1);}</script>"
response.end
end if
sickpass=split("1111$$11111$$111111$$1234$$12345$$123456$$1234567$$aaaa$$aaaaa$$aaaaaa","$$")
for i=0 to ubound(sickpass) 
if len(shopnet("password"))<4 or shopnet("password")=sickpass(i) then
width="500"
my_bt="系统提示错误:对不起！您不能成功地注册！<br>·您设置的密码 <font color=red>"&shopnet("password")&"</font> 属于弱口令，请重新输入并更换密码。<br>·建议用4位以上英文或数字混合做密码!"
my_nr="<meta http-equiv=refresh content=4;url=javascript:history.go(-1)><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=../index.asp>返回首页</a><br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=# onclick='javascript:window.history.go(-1)'>返回上一页</a><meta http-equiv='refresh' content='8; url="&Request.Cookies(rikee)("url")&"'>"
xitongtishi()
response.end
exit for
end if
next
if shopnet("huiyuan")=my_name then
width="500"
my_bt="系统提示错误:对不起！您不能成功地注册！<br>·您申请的会员账号 <font color=red>"&shopnet("huiyuan")&"</font> 含有限制注册字符不允许注册。<br>·请重新选择一个会员账号。"
my_nr="<meta http-equiv=refresh content=4;url=javascript:history.go(-1)><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=../index.asp>返回首页</a><br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=# onclick='javascript:window.history.go(-1)'>返回上一页</a><meta http-equiv='refresh' content='8; url="&Request.Cookies(rikee)("url")&"'>"
xitongtishi()
response.end
end if
if InStr(shopnet("huiyuan"),".")<>0 or InStr(shopnet("huiyuan"),",")<>0 then
width="500"
my_bt="系统提示错误:对不起！您不能成功地注册！<br>·您申请的会员账号 <font color=red>"&shopnet("huiyuan")&"</font> 属于保留会员名称不允许注册。<br>·请重新选择一个会员账号。"
my_nr="<meta http-equiv=refresh content=4;url=javascript:history.go(-1)><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=../index.asp>返回首页</a><br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=# onclick='javascript:window.history.go(-1)'>返回上一页</a><meta http-equiv='refresh' content='8; url="&Request.Cookies(rikee)("url")&"'>"
xitongtishi()
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select * from huiyuan where huiyuan='"&lcase(shopnet("huiyuan"))&"' or mail='"&lcase(shopnet("email"))&"'"
rs.open sql,conn,3,3
if not rs.eof then
response.write "<script language=JavaScript>{window.alert('此会员帐号或邮箱已经注册，请重选一个吧!');window.history.go(-1)}</script>"
response.end
else
'判断是否使用了代理
if Request.ServerVariables("HTTP_X_FORWARDED_FOR") = ""  then
ip=Request.ServerVariables("REMOTE_ADDR")
else
ip=Request.ServerVariables("HTTP_X_FORWARDED_FOR")
end if
'添加一个用户到数据库
rs.addnew
rs("huiyuan")=shopnet("huiyuan")
rs("password")=md5(shopnet("password"))
rs("name")=shopnet("name")
rs("UserQuestion")=shopnet("UserQuestion")
rs("UserAnswer")=md5(shopnet("UserAnswer"))
rs("xb")=shopnet("xb")
rs("dz")=shopnet("dz")&shopnet("dz1")&shopnet("dz2")
rs("dizhi1")=shopnet("dz3")
rs("ip") = ip

If shopnet("userid")<>"" Then 
rs("userid") =shopnet("userid")
End If
rs("ip2") = ip
rs("idcard") = shopnet("idcard")
rs("oicq") = shopnet("oicq")

rs("yb")=shopnet("yb")
rs("tel")=shopnet("tel")
rs("mail")=lcase(shopnet("email"))
rs("je2")=my_je01
rs("shouji")=shopnet("shouji")
rs("sj")=now()
rs.update
rs.close
'写入论坛数据库
set rsbbs=server.createobject("adodb.recordset")
Rsbbs.Open "select * from [BBSXP_Users]",Connbbs,1,3
Rsbbs.addNew
Rsbbs("UserName")=shopnet("huiyuan")
Rsbbs("Userpass")=md5(shopnet("password"))
Rsbbs("UserMail")=lcase(shopnet("email"))
Rsbbs("Userhome")=Userhome
Rsbbs("PasswordQuestion")=shopnet("UserQuestion")
Rsbbs("membercode")=1
if Request("PasswordAnswer")<>empty then Rsbbs("PasswordAnswer")=md5(shopnet("UserAnswer"))
Rsbbs("birthday")=birthday
Rsbbs("Userface")="images/face/Default.gif"
Rsbbs("UserSex")=shopnet("xb")
Rsbbs("UserSign")=UserSign
Rsbbs("UserMobile")=shopnet("shouji")
Rsbbs("UserFriend")="|"
Rsbbs("UserRegTime")=""&now()&""
Rsbbs("UserLastIP")=Request.ServerVariables("REMOTE_ADDR")
Rsbbs("UserLandTime")=""&now()&""
Rsbbs("UserInfo")=""&HTMLEncode(Request("realname"))&"\中国\"&HTMLEncode(Request("province"))&"\"&HTMLEncode(Request("city"))&"\"&HTMLEncode(Request("Postcode"))&"\"&HTMLEncode(Request("blood"))&"\"&HTMLEncode(Request("belief"))&"\"&HTMLEncode(Request("occupation"))&"\"&HTMLEncode(Request("marital"))&"\"&HTMLEncode(Request("education"))&"\"&HTMLEncode(Request("college"))&"\"&HTMLEncode(Request("address"))&"\"&HTMLEncode(Request("phone"))&"\"&HTMLEncode(Request("character"))&"\"&HTMLEncode(Request("personal"))&""
Rsbbs("UserIM")=""&HTMLEncode(Request("oicq"))&"\"&HTMLEncode(Request("icq"))&"\"&HTMLEncode(Request("uc"))&"\"&HTMLEncode(Request("aim"))&"\"&HTMLEncode(Request("msn"))&"\"&HTMLEncode(Request("Yahoo"))&""
Rsbbs.update
Rsbbs.close
Connbbs.execute("update [BBSXP_Statistics_Site] set TotalUser=TotalUser+1,NewUser='"&shopnet("huiyuan")&"'")
set rsbbs=Nothing
set connbbs=nothing

If shopnet("userquestion")="" Or shopnet("useranswer")="" Then
mmbh="您没有申请密码保护!<br>"
Else
mmbh="密码提示："&shopnet("userquestion")&"<br>   问题答案："&shopnet("useranswer")&"<br>"
End If 

if huiyuan_yz<>"1" then
conn.execute("Update huiyuan set zt=1 where huiyuan='"&shopnet("huiyuan")&"'")
conn.execute("Insert into duanxin(bt,nr,name1,name2,lx)values('欢迎注册成为"&my_name&"会员','"&my_name&"全体工作人员欢迎您的到来，<br>如有任何疑问请参看网站“帮助”或及时联系"&my_name&"客服中心工作人员。<br>感谢您注册成为"&my_name&"会员，让我们一起来建设这个网上家园！ ','"&shopnet("huiyuan")&"','"&my_name&"',5)")
'conn.execute("Update bbs_info set huiyuan='"&shopnet("huiyuan")&"',s1=s1+1")

'发注册信
if shopnet("email")<>"" then
html="<html><head><title>感谢您的注册</title><meta http-equiv=Content-Type content=text/html; charset=gb2312></head><body bgcolor=#FFFFFF text=#000000>"
html=html&"亲爱的"&shopnet("huiyuan")&",您好！<br><br> 欢迎注册为会员！您的相关注册信息如下：<br>"
html=html&" 会员账号："&shopnet("huiyuan")&"<br>"
html=html&" 会员密码："&shopnet("password")&"<br>"
html=html&"   电子邮箱："&LCase(shopnet("email"))&"<br>"
html=html&"   "&mmbh&""
html=html&"	  IP 地 址："&ip&"<br>"
html=html&"   注册时间："&now()&"<br>"
html=html&"   性    别："&shopnet("xb")&"<br><br>"
html=html&"   马上<a href=""http://"&my_url&"/user/login.asp"" target=_blank>登录</a><br>"
html=html&"   如需了解共多，可查看<a href=""http://"&my_url&"/gwznindex.asp"" target=_blank>"&my_name&"购物指南</a><br>"
nr=html&"<br><br>"&email_bd&"</body></html>"
email = shopnet("email")
bt = "会员注册成功" 
if mailserver="0" then
smtp email,bt,nr
elseif mailserver="1" then
Call jmail1(email,bt,nr)
end if
end If
'发信结束
width="500"
my_bt="系统提示：会员注册成功，谢谢！"
my_nr="<img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=../index.asp> 返回首页</a>"&gocart&"<br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=index.asp> 进入我的会员中心</a><br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href="&Request.Cookies(rikee)("url")&"> "&Request.Cookies(rikee)("url")&"</a><meta http-equiv='refresh' content='8; url="&Request.Cookies(rikee)("url")&"'>"
xitongtishi()
else
set rs = conn.execute("select top 1 id,mail,sj from huiyuan where huiyuan='"&shopnet("huiyuan")&"' and mail='"&shopnet("email")&"' order by id desc")
sj=md5(second(rs(2))&minute(rs(2))&hour(rs(2)))
'发验证信
if shopnet("email")<>"" then
html="<html><head><title>感谢您的注册</title><meta http-equiv=Content-Type content=text/html; charset=gb2312></head><body bgcolor=#FFFFFF text=#000000>"
html=html&"亲爱的"&shopnet("huiyuan")&",您好！<br><br>　 欢迎注册申请"&my_name&"个人会员。<br>"
html=html&"　 会员账号："&shopnet("huiyuan")&"<br>"
html=html&"　 会员密码："&shopnet("password")&"<br><br>"
html=html&"现在还差最后一步----核对您邮箱的有效性！<br>您只需要点击以下链接，就可以成功完成在"&my_name&"上的注册啦！<br>请点击以下链接，或者将该链接复制到浏览器地址栏中访问，就可以成功完成您在"&my_name&"上的注册<br><br>"
html=html&"<a href=http://"&my_url&"/user/reg.asp?abc=yz&id="&rs(0)&"&yz="&sj&">http://"&my_url&"/user/reg.asp?abc=yz&id="&rs(0)&"&yz="&sj&"</a>"
nr=html&"<br><br><br>"&email_bd&"</body></html>"
email = shopnet("email")
bt = "完成最后一步，您在"&my_name&"的注册就成功了！" 
if mailserver="0" then
smtp email,bt,nr
elseif mailserver="1" then
Call jmail1(email,bt,nr)
end if
end If

'发信结束%>

<table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="120" valign="bottom"><img src="../image/zhuce_email.gif" width="380" height="87"></td>
  </tr>
  <tr> 
    <td height="80" valign="middle"><br>
      我们已经发送一封激活信至 <b><%=rs(1)%></b> 请收信后点击信中确认连接，即可激活您的会员帐号！<br>
      系统将自动删除超过7天未激活的注册账号，请注意及时收信并激活您的会员账号。<br>
      一些免费信箱有可能会将注册确认信错误的转到垃圾信箱或收不到确认信，请更换一个EMAIL；<br>受网络传输影响，有时确认信会稍有延迟。<br>
      <font color=red>如果您收不到系统发送的确认信，请拨打我们的热线电话&nbsp;<b><%=tel%></b>。</font> <br>    </td>
  </tr>
  <tr> 
    <td height="50" valign="middle">如果您没有收到激活信，您可以 
      <input name="Submit" type="button" class="go-wenbenkuang" value="重发激活信"  onclick="window.location='?abc=fa&id=<%=rs(0)%>'">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../index.asp">回到首页&gt;&gt;&gt;&gt;</a> </td>
  </tr>
  <tr><form name="form1" method="post" action="?abc=xiu&id=<%=rs(0)%>">
      <td height="50" valign="middle"><input name="Submit2" type="submit" class="go-wenbenkuang" value="或者更换EMAIL ">
      &nbsp;&nbsp;   <input name="email" type="text" class="wenbenkuang" id="email" value="<%=rs(1)%>" size="30" maxlength="40"></td>
    </form>
  </tr>
</table>
<%rs.close
set rs=nothing
end if
end if
end if


case "yz"
if request("id")<>"" and request("yz")<>"" then
set rs = conn.execute("select sj,zt,huiyuan,password,mail from huiyuan where id="&shopnet("id")&"")
if not rs.eof then
if rs(1)=0 then
if shopnet("yz")=md5(second(rs(0))&minute(rs(0))&hour(rs(0))) then
conn.execute("Update huiyuan set zt=1 where id="&shopnet("id")&"")
Response.Cookies(rikee)("huiyuan")=rs(2)
Response.Cookies(rikee)("hypwd")=rs(3)
conn.execute("Insert into duanxin(bt,nr,name1,name2,lx)values('欢迎注册成为"&my_name&"会员','"&my_name&"全体工作人员欢迎您的到来，<br>如有任何疑问请及时联系"&my_name&"客服工作人员。<br>如有任何使用上的问题请到社区提出。<br>再次感谢您注册成为"&my_name&"会员！！ ','"&rs(2)&"','"&my_name&"',255)")
conn.execute("Update bbs_info set huiyuan='"&rs(2)&"',s1=s1+1")
width="500"
my_bt="系统提示：<font color=red>会员账号注册激活成功！</font>"
my_nr="<img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=../index.asp> 返回首页</a>"&gocart&"<br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=index.asp> 进入我的会员中心</a>"
xitongtishi()
else
width="450"
my_bt="错误:<font color=red>验证码不正确!</font>"
my_nr="<img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=../index.asp>返回首页</a><br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=# onclick='javascript:window.history.go(-1)'>返回上一页</a><meta http-equiv='refresh' content='8; url="&Request.Cookies(rikee)("url")&"'>"
xitongtishi()
end if
elseif rs(1)=2 then
width="450"
my_bt="参数错误:<font color=red>该会员已经被管理员锁定!</font>"
my_nr="<meta http-equiv=refresh content=4;url=javascript:history.go(-1)><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=../index.asp>返回首页</a><br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=# onclick='javascript:window.history.go(-1)'>返回上一页</a><meta http-equiv='refresh' content='8; url="&Request.Cookies(rikee)("url")&"'>"
xitongtishi()
else
width="450"
my_bt="参数错误:<font color=red>该会员已经通过验证!</font>"
my_nr="<meta http-equiv=refresh content=4;url=javascript:history.go(-1)><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=../index.asp>返回首页</a><br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=# onclick='javascript:window.history.go(-1)'>返回上一页</a><meta http-equiv='refresh' content='8; url="&Request.Cookies(rikee)("url")&"'>"
xitongtishi()
end if
else
width="450"
my_bt="参数错误:<font color=red>该验证的会员不存在!</font>"
my_nr="<meta http-equiv=refresh content=4;url=javascript:history.go(-1)><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=../index.asp>返回首页</a><br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=# onclick='javascript:window.history.go(-1)'>返回上一页</a><meta http-equiv='refresh' content='8; url="&Request.Cookies(rikee)("url")&"'>"
xitongtishi()
end if
else
width="450"
my_bt="参数错误:<font color=red>验证的会员连接参数错误!</font>"
my_nr="<meta http-equiv=refresh content=4;url=javascript:history.go(-1)><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=../index.asp>返回首页</a><br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=# onclick='javascript:window.history.go(-1)'>返回上一页</a><meta http-equiv='refresh' content='8; url="&Request.Cookies(rikee)("url")&"'>"
xitongtishi()
end if


case "fa"
set rs = conn.execute("select top 1 id,mail,sj,huiyuan,password from huiyuan where id="&shopnet("id")&"")
sj=md5(second(rs(2))&minute(rs(2))&hour(rs(2)))
'发验证信
if rs(1)<>"" then
html="<html><head><title>感谢您的注册</title><meta http-equiv=Content-Type content=text/html; charset=gb2312></head><body bgcolor=#FFFFFF text=#000000>"
html=html&"亲爱的"&rs(3)&",您好！<br><br>　 欢迎注册为会员。<br><br>"
html=html&"现在还差最后一步----核对您邮箱的有效性！<br>您只需要点击以下链接，就可以成功完成在"&my_name&"上的注册啦！<br>请点击以下链接或者将该链接复制到浏览器地址栏中访问，就可以成功完成您在"&my_name&"上的注册<br><br>"
html=html&"<a href=http://"&my_url&"/user/reg.asp?abc=yz&id="&rs(0)&"&yz="&sj&">http://"&my_url&"/user/reg.asp?abc=yz&id="&rs(0)&"&yz="&sj&"</a>"
nr=html&"<br><br>"&email_bd&"</body></html>"
email = rs(1)

bt = "完成最后一步，您在"&my_name&"的注册就成功了！" 
if mailserver="0" then
smtp email,bt,nr
elseif mailserver="1" then
Call jmail1(email,bt,nr)
end if 
end If

'发信结束
rs.close
set rs=nothing
width="550"
my_bt="系统提示:<font color=red>会员注册确认EMAIL已经发送!</font>"
my_nr="<meta http-equiv=refresh content=4;url=javascript:history.go(-1)><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=../index.asp>返回首页</a><br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=# onclick='javascript:window.history.go(-1)'>返回上一页</a><meta http-equiv='refresh' content='8; url="&Request.Cookies(rikee)("url")&"'>"
xitongtishi()


case "xiu"
set rs = conn.execute("select top 1 id,sj,huiyuan,password from huiyuan where id="&shopnet("id")&"")
if not rs.eof and shopnet("email")<>"" then
conn.execute("Update huiyuan set mail='"&shopnet("email")&"' where id="&shopnet("id")&"")
end if
sj=md5(second(rs(1))&minute(rs(1))&hour(rs(1)))
'发验证信
if shopnet("email")<>"" then
html="<html><head><title>感谢您的注册</title><meta http-equiv=Content-Type content=text/html; charset=gb2312></head><body bgcolor=#FFFFFF text=#000000>"
html=html&"亲爱的"&rs(2)&",您好！<br><br>　 欢迎注册为会员。<br><br>"
html=html&"现在还差最后一步----核对您邮箱的有效性！<br>您只需要点击以下链接，就可以成功完成在"&my_name&"上的注册啦！<br>请点击以下链接或者将该链接复制到浏览器地址栏中访问，就可以成功完成您在"&my_name&"上的注册<br><br>"
html=html&"<a href=http://"&my_url&"/user/reg.asp?abc=yz&id="&rs(0)&"&yz="&sj&">http://"&my_url&"/user/reg.asp?abc=yz&id="&rs(0)&"&yz="&sj&"</a>"
nr=html&"<br><br>"&email_bd&"</body></html>"
email = shopnet("email")
bt = "完成最后一步，您在"&my_name&"的注册就成功了！" 




if mailserver="0" then
smtp email,bt,nr
elseif mailserver="1" then
Call jmail1(email,bt,nr)
end If



end if 
'发信结束
rs.close
set rs=nothing
my_bt="系统提示:<font color=red>会员注册修改后的确认EMAIL已经重新发送!</font>"
my_nr="<meta http-equiv=refresh content=4;url=javascript:history.go(-1)><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=../index.asp>返回首页</a><br><img src=../../pics/2k5/sys/component/icon_arrow_r.gif><a href=# onclick='javascript:window.history.go(-1)'>返回上一页</a><meta http-equiv='refresh' content='8; url="&Request.Cookies(rikee)("url")&"'>"
xitongtishi()
case else

%><table width="640" border="0" align="center">
          <tr>
            <td align="center" valign="middle"><img src="../image/reg1.gif" width="640" height="93"></td>
          </tr>
		    <tr>
            <td align="center" valign="middle"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="efefef">
              <tr>
                <td bgcolor="#FFFFFF"><div align="center">
                  <table width="96%" border="0" cellspacing="0" cellpadding="5">
                  <tr>
                    <td><%=my_zhuce%></td>
                  </tr>
                </table>
                </div></td>
              </tr>
            </table>
              </td>
          </tr>
        </table>
<table width="762" height="280" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td align="center" valign="middle"> 
      <form action=?abc=add method=post name=mainform id="formSignUp">
        <table width="640" border="0">
          <tr>
            <td align="center" valign="middle"><img src="../image/reg2.gif" width="640" height="93"></td>
          </tr>
        </table>
        <table width="640" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#ccccccc">
          
          <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">会员账号：</td>
            <td height="25" bgcolor="#FFFFFF"><font color="#FF6600">
              <input name="huiyuan" type="text" class="wenbenkuang" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="15" maxlength="10">
              ＊</font>(支持中文) 
            <input type="button" value="检测帐号" name="Button" onClick="javascript:Check()" class=go-wenbenkuang></td>
          </tr>
          <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">密码：</td>
            <td width="400" height="25" bgcolor="#FFFFFF"> <input name="password" type="password" class="wenbenkuang" size="15" maxlength="10" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''"> 
            <font color="#FF6600">＊</font>(4位以上，强烈建议用数字和英文混合做密码)</td>
          </tr>
          <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">确认密码：</td>
            <td width="400" height="25" bgcolor="#FFFFFF"> <input name="password2" type="password" class="wenbenkuang" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="15" maxlength="10"> 
            <font color="#FF6600">＊</font>(重新输入一次设定的密码，区分大小写)</td>
          </tr>
          <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">密码提示：</td>
            <td width="400" height="25" bgcolor="#FFFFFF"> <input name="UserQuestion" type="text" class="wenbenkuang" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="15" maxlength="10"> 
            <font color="#FF6600"></font>(忘记密码的提示问题)</td>
          </tr>
		  <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">问题答案：</td>
            <td width="400" height="25" bgcolor="#FFFFFF"> <input name="UserAnswer" type="text" class="wenbenkuang" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="15" maxlength="10"> 
            <font color="#FF6600"></font>(忘记密码的提示问题答案，用于取回密码)</td>
          </tr>
          <tr valign="middle">
            <td height="25" align="right" bgcolor="#FFFFFF">OICQ:&nbsp; </td>
            <td height="25" bgcolor="#FFFFFF"><input name="OICQ" type="text" class="wenbenkuang" id="OICQ" onmouseover = "this.style.backgroundColor = '#E5F0FF'" onmouseout = "this.style.backgroundColor = ''" size="15" maxlength="10" />
            &nbsp;<font color="#FF6600"></font>如无请留空</td>
          </tr>
          <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">姓别：</td>
            <td width="400" height="25" bgcolor="#FFFFFF"> <input name="xb" type="radio" value="男" checked onFocus="this.blur()">
              男 
              <input type="radio" name="xb" value="女" onFocus="this.blur()">
            女</td>
          </tr>
		  <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">E-mail：</td>
            <td width="400" height="25" bgcolor="#FFFFFF"> <input name="email" type="text" class="wenbenkuang" id="email" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="30" maxlength="40"> 
              <font color="#FF6600">＊ 
              <%If huiyuan_yz="1" Then Response.Write("<br>只有填写正确的E-mail地址并收到确认信激活账号后才能注册会员成功")%>
            </font></td>
          </tr>

          <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">您的真实姓名：</td>
            <td width="400" height="25" bgcolor="#FFFFFF"> <input name="name" type="text" class="wenbenkuang" id="name" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="15" maxlength="10">
              <input name="userid" type="hidden" id="userid" value="<%=shopnet("userid")%>" /></td>
          </tr>
		  <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">身份证号码：</td>
            <td width="400" height="25" bgcolor="#FFFFFF"> <input name="idcard" type="text" class="wenbenkuang" id="name" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="18" maxlength="18">              </td>
          </tr>
          <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">邮编：</td>
            <td width="400" height="25" bgcolor="#FFFFFF"> <input name="yb" type="text" class="wenbenkuang" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="15" maxlength="6">            </td>
          </tr>
          <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">联系电话：</td>
            <td width="400" height="25" bgcolor="#FFFFFF"> <input name="tel" type="text" class="wenbenkuang" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="20" maxlength="20">
              例：057156907100</td>
          </tr>
		   <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">手机：</td>
            <td width="400" height="25" bgcolor="#FFFFFF"> <input name="shouji" type="text" class="wenbenkuang" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="20" maxlength="12">
              例：013512345678</td>
          </tr>
          <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF"> 省/市：</td>
            <td height="25" bgcolor="#FFFFFF">
<select name="dz" id="s1">
  <option>省份</option></select>
<select name="dz1" id="s2">
  <option>地级市</option></select>
<select name="dz2" id="s3">
  <option>市、县级市、县</option></select> </td>
          </tr>
          <tr valign="middle"> 
            <td width="240" height="25" align="right" bgcolor="#FFFFFF">联系(通讯)地址：</td>
            <td width="400" height="25" bgcolor="#FFFFFF"> <input name="dz3" type="text" class="wenbenkuang" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" size="42" maxlength="150">            </td>
          <tr align="center" valign="middle"> 
            <td height="30" colspan="2" bgcolor="#FFFFFF"><input name="imageField" type="submit" value="  注  册  " align="middle" width="200" height="19" border="0" onClick="javascript:return checksignup()">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="cannle" type="reset" onClick="javascript:window.location" value="  重  置  " align="middle" width="200" height="19" border="0"../index"">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input name="reset" type="button" value="  取  消  " align="middle" width="200" height="19" border="0" onClick="javascript:window.location"../index"">
<a href="../index.asp"></a></td></tr> 
	    </table>
          
       
          
        
      </form></td>
  </tr>
</table>

<%End Select%>
<br><br><!--#include file="../bottom.asp"-->
