📄 reg.asp
字号:
<!--#include file="inc/conn.asp"--><!--#include file="config.asp"--><html><head><meta http-equiv="Content-Language" content="zh-cn"><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title><%=title%>-注册会员-第一步</title><SCRIPT language=javascript>
<!--
function CheckForm()
{
if(document.thisForm.username.value.length<1)
{
alert("用户名称不能为空!");
return false;
}
var filter=/^\s*[.A-Za-z0-9_-]{5,15}\s*$/;
if (!filter.test(document.thisForm.username.value)) {
alert("用户名填写不正确,请重新填写!可使用的字符为(A-Z a-z 0-9 _ - .)长度不小于5个字符,不超过15个字符,注意不要使用空格。");
document.thisForm.username.focus();
document.thisForm.username.select();
return (false);
}
if(document.thisForm.password.value.length<6)
{
alert("用户密码不能为空或少于6位!");
document.thisForm.password.focus();
document.thisForm.password.select();
return false;
}
if(document.thisForm.password1.value.length<6)
{
alert("确认密码不能为空或少于6位!");
document.thisForm.password1.focus();
document.thisForm.password1.select();
return false;
}
if (document.thisForm.password.value!=document.thisForm.password1.value ){
alert("两次填写的密码不一致,请重新填写!");
document.thisForm.password.focus();
document.thisForm.password.select();
return (false);
}
}
//-->
</SCRIPT>
</head><body topmargin="0"><!--#include file="topcnmai2.asp" --><div align="center"><table width="760" id="table1" bgcolor="#FFFFFF" style="border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC; padding:1px; " cellspacing="0" cellpadding="0">
<tr><td height="30" class=td5_muen> </td></tr><tr><td ></td></tr><tr><td valign="top"><div align="center"><table width="510" border="0" bordercolor="#FFFFFF" cellpadding="0" style="border-collapse: collapse"><form method="POST" name="thisForm" action="regchk.asp"><tr><td height="26" class=td2_muen align="center"><font color=white>注册会员-第一步</font></td></tr><tr><td><IMG src="image/a_1.gif" width="515" height="10"></td></tr><tr><td height="26" background="image/b_1.gif"><p align="center"> </td></tr><tr><td height="26" background="image/b_1.gif"><p align="center">登陆帐号:<input type="text" maxlength="12" name="username" size="20"><font color="#FF0000"> *</font></td></tr><tr><td height="26" background="image/b_1.gif"><p align="center">登陆密码:<input type="password" maxlength="40" name="password" size="20" > <font color="#FF0000">*</font></td></tr><tr><td height="26" background="image/b_1.gif"><p align="center">确认密码:<input type="password" maxlength="40" name="password1" size="20" > <font color="#FF0000">*</font></td></tr><tr><td height="26" align="right" background="image/b_1.gif"><p align="center"> <input type="radio" value="1" checked name="per">个人会员 <input type="radio" name="per" value="2">商家会员(<font color="#FF0000">注册商家即免费开店</font>)</td></tr><tr><td height="26" background="image/b_1.gif"><p align="center"><input type="submit" onclick="javascript:return CheckForm();" value="确定,提交注册" name="B1"></td></tr>
<tr>
<td height="26" background="image/b_1.gif" align="center">
</td></tr><tr><td><IMG src="image/c_1.gif" width="515" height="9"></td></tr></form></table></div></td><td> </td></tr></table></div><!--#include file="endcnmai.asp"--></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -