📄 register.asp
字号:
<%@ codepage ="936" %>
<head>
<LINK href="../css/Style.css" rel=stylesheet type=text/css>
<title>会员注册</title>
<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>
//校验user的弹出窗口
function check_id_window(value){
window.open("check_id.asp?user="+value,"",'toolbar=no,directories=no,scrollbars=0,resizable=1,status=no,menubar=0,width=250,height=100');
}
</SCRIPT>
<SCRIPT language=JavaScript>
var city = 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("广州-广州","深圳-深圳","佛山-佛山","中山-中山","江门-江门","惠州-惠州","东莞-东莞","汕头-汕头","湛江-湛江","茂名-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("其他-其他")
);
</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>
<STYLE type=text/css>
TD {
COLOR: #000; FONT-FAMILY: 宋体; FONT-SIZE: 12px
}
.GR {
COLOR: #666
}
</STYLE>
</head>
<BODY text=#000000 leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<center><!--#include file="../head1.asp"--></center>
<center>
<TABLE cellSpacing=0 cellPadding=0 width=740 border=0 style="border-collapse: collapse" bordercolor="#111111">
<TBODY>
<TR>
<TD width=774>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber2" bgcolor="#FFFFFF">
<tr>
<td width="100%" style="color: #000; font-family: 宋体; font-size: 12px">
<CENTER>
<table border="0" style="border-collapse: collapse" bordercolor="#111111" width="763" id="AutoNumber3" cellspacing="0" cellpadding="0">
<tr>
<td width="772">
<center>
<FORM method="POST" action="Register_Confirm.asp" name="Form1" onsubmit="return FormCheck();" >
<div align="center">
<center>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="84" style="border-collapse: collapse" bordercolor="#111111">
<TBODY>
<TR vAlign=top>
<TD width="799" height="443">
<center>
<TABLE border=0 width="770" bordercolor="#3399FF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" style="border-collapse: collapse" cellspacing="1" cellpadding="0" bgcolor="#3399FF">
<TBODY>
<tr><TD align=left height="22" colspan="2" width="230">
<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" bgcolor="#3399FF">
<IMG src="images/bul_arrowGrnSm.gif">
<font class=f12 style="font-size: 10.5pt"><b>填写个人资料</b></font></td>
</tr>
</table>
</TD>
</CENTER>
<TD align=left height="22" width="257">
<a href=Register1.asp><B>选择高级注册模式</B></a>
</TD>
<TD align=left height="22" width="260">
<p align="center"><FONT class=text9><B>带</B></FONT>
<FONT color=red face="verdana, arial" size=1><B>*</B></FONT>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -