📄 register.asp
字号:
<!--#include file="dbconn1.asp"-->
<!--#include file="config.asp"-->
<HTML><HEAD><TITLE>中国库存商贸网---库存商机</TITLE>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<META content="text/html; charset=gb2312" http-equiv=Content-Type><LINK
href="css.css" rel=stylesheet type=text/css>
<SCRIPT language=javascript>
function show_sader(mylink)
{
window.open(mylink,'','top=50,left=150,width=520,height=480,scrollbars=yes')
}
</SCRIPT>
<SCRIPT language=JavaScript>
function changecity(){
index = Form1.sf.options.selectedIndex-1;
Form1.city.length = city[index].length;
for(var i = 0;i<city[index].length;i++)
{
var text = city[index][i].split("-");
Form1.city.options[i].text = text[0];
Form1.city.options[i].value =text[1];
}
}
</SCRIPT>
<SCRIPT language=JavaScript>
var city = new Array(
new Array("合肥-合肥","芜湖-芜湖","蚌埠-蚌埠","巢湖-巢湖","滁州-滁州","淮南-淮南","安庆-安庆","池州-池州","宣城-宣城","马鞍山-马鞍山","黄山-黄山","铜陵-铜陵","宿州-宿州","淮北-淮北","阜阳-阜阳","其它-其它"),
new Array("北京-北京","其它-其它"),
new Array("重庆-重庆","其它-其它"),
new Array("福州-福州","泉州-泉州","三明-三明","漳州-漳州","南平-南平","宁德-宁德","龙岩-龙岩","莆田-莆田","厦门-厦门","其它-其它"),
new Array("兰州-兰州","其它-其它"),
new Array("广州-广州","深圳-深圳","佛山-佛山","中山-中山","江门-江门","惠州-惠州","东莞-东莞","汕头-汕头","湛江-湛江","茂名-10","肇庆-11","韶关-12","阳江-13","珠海-14","其它-其它"),
new Array("南宁-南宁","桂林-桂林","柳州-柳州","其它-其它"),
new Array("贵阳-贵阳","其它-其它"),
new Array("海口-海口","三亚-三亚","其它-其它"),
new Array("石家庄-石家庄","邯郸-邯郸","秦皇岛-秦皇岛","唐山-唐山","沧州-沧州","廊坊-廊坊","保定-保定","张家口-张家口","邢台-邢台","其它-其它"),
new Array("哈尔滨-哈尔滨","大庆-鸡西","鸡西-鸡西","齐齐哈尔-齐齐哈尔","佳木斯-佳木斯","牡丹江-牡丹江","其它-其它"),
new Array("杭州-杭州","嘉兴-嘉兴","温州-温州","义乌-义乌","宁波-宁波","湖州-湖州","绍兴-绍兴","台州-台州","丽水-丽水","金华-金华","衢州-衢州","舟山-舟山","其它-其它"),
new Array("武汉-武汉","襄樊-襄樊","宜昌-宜昌","荆州-荆州","黄石-黄石","荆门-荆门","十堰-十堰","潜江-潜江","仙桃-仙桃","其它-其它"),
new Array("长沙-长沙","株州-株州","岳阳-岳阳","常德-常德","湘潭-湘潭","娄底-娄底","怀化-怀化","永州-永州","衡阳-衡阳","邵阳-邵阳","郴州-郴州","益阳-益阳","张家界-张家界","吉首-吉首","其它-其它"),
new Array("呼和浩特-呼和浩特","其它-其它"),
new Array("南京-南京","无锡-无锡","镇江-镇江","南通-南通","扬州-扬州","盐城-盐城","徐州-徐州","淮阴-淮阴","连云港-连云港","常州-常州","泰州-泰州","苏州-苏州","其它-其它"),
new Array("南昌-南昌","九江-九江","其它-其它"),
new Array("长春-长春","吉林-吉林","四平-四平","延吉-延吉","松原-松原","白山-白山","通化-通化","其它-其它"),
new Array("沈阳-沈阳","大连-大连","金州-金州","瓦房店-瓦房店","庄河-庄河","阜新-阜新","辽阳-辽阳","丹东-丹东","营口-营口","盘锦-盘锦","抚顺-抚顺","本溪-本溪","鞍山-鞍山","锦州-锦州","葫芦岛-葫芦岛","铁岭-铁岭","朝阳-朝阳","其它-其它"),
new Array("银川-银川","其它-其它"),
new Array("西宁-西宁","其它-其它"),
new Array("太原-太原","大同-大同","其它-其它"),
new Array("西安-西安","咸阳-咸阳","宝鸡-宝鸡","汉中-汉中","其它-其它"),
new Array("西安-西安","咸阳-咸阳","宝鸡-宝鸡","汉中-汉中","其它-其它"),
new Array("济南-济南","青岛-青岛","日照-日照","东营-东营","潍坊-潍坊","泰安-泰安","淄博-淄博","烟台-烟台","威海-威海","济宁-济宁","滨州-滨州","临沂-临沂","其它-其它"),
new Array("上海-上海","其它-其它"),
new Array("成都-成都","泸州-泸州","德阳-德阳","乐山-乐山","绵阳-绵阳","宜宾-宜宾","自贡-自贡","攀枝花-攀枝花","内江-内江","南充-南充","其它-其它"),
new Array("天津-天津","其它-其它"),
new Array("拉萨-拉萨","其它-其它"),
new Array("乌鲁木齐-乌鲁木齐","昌吉-昌吉","伊宁-伊宁","其它-其它"),
new Array("昆明-昆明","大理-大理","其它-其它"),
new Array("香港-香港"),
new Array("澳门-澳门"),
new Array("台湾-台湾"),
new Array("其他-其他")
);
</SCRIPT>
<SCRIPT language=JavaScript>
function changecity(){
index = Form1.sf.options.selectedIndex-1;
Form1.city.length = city[index].length;
for(var i = 0;i<city[index].length;i++)
{
var text = city[index][i].split("-");
Form1.city.options[i].text = text[0];
Form1.city.options[i].value =text[1];
}
}
</SCRIPT>
<script Language="JavaScript">
function FormCheck()
{
if (document.Form1.user.value =="")
{
alert("请填写您的用户名!");
document.Form1.user.focus();
return false;
}
var filter=/^\s*[.A-Za-z0-9_-]{5,15}\s*$/;
if (!filter.test(document.Form1.user.value)) {
alert("用户名填写不正确,请重新填写!可使用的字符为(A-Z a-z 0-9 _ - .)长度不小于5个字符,不超过15个字符,注意不要使用空格。");
document.Form1.user.focus();
document.Form1.user.select();
return false;
}
if (document.Form1.pass.value =="")
{
alert("请填写您的密码!");
document.Form1.pass.focus();
return false;
}
if(document.Form1.confirmPassword.value==""){
alert("请输入您的确认密码!");
document.Form1.confirmPassword.focus();
return false;
}
var filter=/^\s*[.A-Za-z0-9_-]{5,15}\s*$/;
if (!filter.test(document.Form1.pass.value)) {
alert("密码填写不正确,请重新填写!可使用的字符为(A-Z a-z 0-9 _ - .)长度不小于5个字符,不超过15个字符,注意不要使用空格。");
document.Form1.pass.focus();
document.Form1.pass.select();
return false;
}
if (document.Form1.pass.value!=document.Form1.confirmPassword.value ){
alert("两次填写的密码不一致,请重新填写!");
document.Form1.pass.focus();
document.Form1.pass.select();
return false;
}
if (document.Form1.question.value =="")
{
alert("请输入密码提示问题!");
document.Form1.question.focus();
return (false);
}
if (document.Form1.answer.value =="")
{
alert("请输入密码提示答案!");
document.Form1.answer.focus();
return (false);
}
if (document.Form1.name.value =="")
{
alert("请输入您的姓名!");
document.Form1.name.focus();
return (false);
}
if (document.Form1.sf.value =="")
{
alert("请选择区域!");
document.Form1.sf.focus();
return (false);
}
if (document.Form1.city.value =="")
{
alert("请选择城镇名!");
document.Form1.city.focus();
return (false);
}
if (document.Form1.address.value =="")
{
alert("请输入您的联系地址!");
document.Form1.address.focus();
return (false);
}
if (document.Form1.post.value =="")
{
alert("请输入邮政编码!");
document.Form1.post.focus();
return (false);
}
if (document.Form1.phone.value =="")
{
alert("请输入您的联系电话!");
document.Form1.phone.focus();
return (false);
}
if (document.Form1.email.value =="")
{
alert("请输入您的电子邮件地址!");
document.Form1.email.focus();
document.Form1.email.select();
return false;
}
var filter=/^\s*([A-Za-z0-9_-]+(\.\w+)*@(\w+\.)+\w{2,3})\s*$/;
if (!filter.test(document.Form1.email.value)) {
alert("邮件地址不正确,请重新填写!");
document.Form1.email.focus();
document.Form1.email.select();
return false;
}
document.Form1.submit()
}
</script>
<SCRIPT language=javascript src="images/location.js"></SCRIPT>
<META content="MSHTML 5.00.3502.5390" name=GENERATOR></HEAD>
<BODY background=images/bg_body.gif leftMargin=0 topMargin=0>
<!--#include file=top.htm-->
<TABLE align=center bgColor=#ffffff border=0 cellPadding=0 cellSpacing=0
style="BORDER-LEFT: #000000 1px solid; BORDER-RIGHT: #000000 1px solid"
width=778>
<TBODY>
<TR>
<TD align=middle valign="top">
<TABLE border=0 cellPadding=0 cellSpacing=0 width=778>
<TBODY>
<TR>
<TD height="400" vAlign=top bgColor=#ffffff> <BR>
<FORM method="POST" action="Register_Confirm.asp" name="Form1" onsubmit="return FormCheck();" >
<div align="center">
<center>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="64" style="border-collapse: collapse" bordercolor="#111111">
<TBODY>
<TR vAlign=top>
<TD width="779" height="443"> <center>
<TABLE border=0 width="750" bordercolor="#3399FF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" style="border-collapse: collapse" cellspacing="1" cellpadding="0">
<TBODY>
<tr>
<TD align=left height="22" colspan="2" width="382">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="72%" id="AutoNumber4" background="../IMAGES/newmiddle-bg7.gif" height="24">
<tr>
<td width="100%" height="24" background="images/newmiddle-bg6.gif">
<FONT color=#000000> <IMG
src="images/bul_arrowGrnSm.gif"></FONT><font class=f12 style="font-size: 10.5pt"><b>
填写个人资料</b></font></td>
</tr>
</table></TD>
<TD align=left height="22" colspan="2" width="347">
<p align="center"><FONT class=text9><B>带</B></FONT>
<FONT color=red face="verdana, arial" size=1><B>*</B></FONT>
<FONT
class=text9><B>的项目是必须填写的</B></FONT></TD>
</tr>
<CENTER>
<TR valign="middle">
<TD align=right width="745" height="3" bgcolor="#D2EAFF" colspan="4">
<p align="right"><font color="#FF0000">
</font></TD>
</TR>
<tr>
<TD align=right width="115" height="27" bgcolor="#D2EAFF"><font color="#FF0000">注:</font></TD>
<TD height="27" width="630" colspan="3" bgcolor="#EEF7FF"><font color="#FF0000">会员不能重复注册帐号,否则管理员有权删除您的资料</font>
<input type="hidden" name="vip" value="0" checked>
</TD>
</tr>
<tr>
<TD align=right width="115" height="27" bgcolor="#D2EAFF">会员登录名:</TD>
<TD height="27" width="630" colspan="3" bgcolor="#EEF7FF">
<INPUT class=f11 maxLength=20 name="user" size="20">
<FONT color=#990000
size=2>*</FONT><font color="#666666"> 5-20个字符(<font face="Arial">A-Z</font>,
<font face="Arial"> a-z</font>, <font face="Arial">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -