📄 apply.asp
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0041)http://aspage.yeah.net ASP精品屋 -->
<HTML><head>
<meta http-equiv='Content-Type' content='text/html; charset=gb2312'>
<link rel="stylesheet" type="text/css" href="../html/style.css">
<script language=JavaScript>
<!--
function isnum(str)
{
rset="";
for(i=0;i<str.length;i++)
{
if(str.charAt(i)>="0" && str.charAt(i)<="9")
{
}
else{
return 0;
}}
return 1;
}
function form_onsubmit(obj)
{
ValidationPassed = true;
if(obj.user.value=="")
{
alert("请输入你的用户名!\n");
ValidationPassed = false;
obj.user.focus();
return;
}
if(obj.password1.value=="")
{
alert("请输入你的密码!\n");
ValidationPassed = false;
obj.password1.focus();
return;
}
if(obj.password2.value=="")
{
alert("请输入你的验证密码!\n");
ValidationPassed = false;
obj.password2.focus();
return;
}
if(obj.password1.value!=obj.password2.value)
{
alert("你的两次密码输入不相同!\n");
ValidationPassed = false;
obj.password1.focus();
return;
}
if(obj.mail.value=="")
{
alert("请填入邮件地址!\n");
ValidationPassed = false;
obj.mail.focus();
return;
}
if(obj.icq.value!="")
{
if (! isnum(obj.icq.value))
{
alert("喂,你填入了ICQ框中填入了东西,但你的ICQ号码怎么不是数字!\n");
ValidationPassed = false;
obj.icq.focus();
return;
}
}
if(obj.oicq.value!="")
{
if (! isnum(obj.oicq.value))
{
alert("喂,你填入了OICQ框中填入了东西,但你的OICQ号码怎么不是数字?\n");
ValidationPassed = false;
obj.oicq.focus();
return;
}
}
if(obj.byear.value!="")
{
if (! isnum(obj.byear.value))
{
alert("喂,你填入了你的出生年,但你的年份怎么不是数字!\n");
ValidationPassed = false;
obj.byear.focus();
return;
}
}
if(obj.bmonth.value!="")
{
if (! isnum(obj.bmonth.value))
{
alert("喂,你填入了你的出生月,但你的月份怎么不是数字!\n");
ValidationPassed = false;
obj.bmonth.focus();
return;
}
}
if(obj.bday.value!="")
{
if (! isnum(obj.bday.value))
{
alert("喂,你填入了你的出生日,但你的出生日怎么不是数字!\n");
ValidationPassed = false;
obj.bday.focus();
return;
}
}
return true;
}
-->
</script>
</head>
<BODY vlink=0000ff leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="1liv.jpg" onload="form1.user.focus();">
<!-- #include file=../change.asp -->
<!-- #include file=../inc/head.inc -->
<FORM action=apply2.asp method=post name=form1 onSubmit="return ValidationPassed">
<p align=center>精品网址中心新用户注册<br>
<br>
</p>
<TABLE border=0 class=font style="MARGIN-TOP: -20px; POSITION: relative"
width="322" align="center" cellpadding="0" cellspacing="0">
<TBODY>
<TR align=middle>
<TD colspan="2">
<TABLE border=0 class=font width="100%" cellpadding="0" cellspacing="0">
<TR>
<TD height=2 colspan="2"><font color="#FF6666">说明: 用户名可以是中文或你的网名!!</font></TD>
</TR>
<TR>
<TD height=2 bgcolor="#ececff"><img src="blank.gif" width=1 height=1></TD>
<TD height=2 bgcolor="#ececff"><img src="blank.gif" width=1 height=1></TD>
</TR>
<TBODY>
<TR>
<TD height="25" align=center>
<p>*用户名称:
</TD>
<TD height="25">
<p>
<INPUT maxLength=10 name="user" size=28 class="input">
</TD>
</TR>
<TR>
<TD height="25" align=center>
<p> *你的密码:
</TD>
<TD height="25">
<INPUT maxLength=10 name="password1" size=28 class="input" type=password>
</TD>
</TR>
<TR>
<TD height="25" align=center>
<p> *验证密码:
</TD>
<TD height="25">
<input maxlength=10 name="password2" size=28 class="input" type=password>
</TD>
</TR>
<TR>
<TD height="25" align=center>
<p>*电子邮件:
</TD>
<TD height="25">
<INPUT maxLength550 name=mail size=28 class="input">
</TD>
</TR>
<TR>
<TD height="25" align=center>
<p>主页地址:
</TD>
<TD height="25">
<input maxlength=60 name=homepage size=28 class="input">
</TD>
</TR>
<TR>
<TD height="25" align=center>
<p>ICQ 号码:
</TD>
<TD height="25">
<input maxlength=10 name=icq size=28 class="input">
</TD>
</TR>
<TR>
<TD height="25" align=center>
<p>OICQ号码:
</TD>
<TD height="25">
<input maxlength=10 name=oicq size=28 class="input">
</TD>
</TR>
<TR>
<TD height="25" align=center>
<p>你的地址:
</TD>
<TD height="25">
<input maxlength=150 name=address size=28 class="input">
</TD>
</TR>
<TR>
<TD height="25" align=center>
<p>你的性别:
</TD>
<TD height="25">
<select name="sex" class="p9">
<option value="1">男</option>
<option value="2">女</option>
</select>
</TD>
</TR>
<TR>
<TD height="25" align=center>
<p>你的生日:
</TD>
<TD height="25" align="left">
<p>
<input maxlength=4 name=byear size=4 value="19" class="inputs">
年
<input maxlength=2 name=bmonth size=2 class="inputss">
月
<input maxlength=2 name=bday size=2 class="inputss">
日
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
<TR>
<TD width="5%"> </TD>
<TD width="95%" height="30" align="center">
<input name=submit type=submit value=" 申 请 " class="p9" style="background-color: rgb(145,148,195); color: rgb(255,255,255)" onclick="form_onsubmit(this.form)">
<input name=b1 type=reset value=" 重 写 " class="p9" style="background-color: rgb(145,148,195); color: rgb(255,255,255)">
</TD>
</TR>
<TR>
<TD colspan="2" height=2 bgcolor="ececff"><img src="blank.gif" width=1 height=1></TD>
</TR>
</TBODY>
</TABLE>
<hr width=700 align=center size=1 color=<%=tablebgcolorbian%>>
<!-- #include file=../inc/end.inc -->
</FORM></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -