📄 reg.asp
字号:
<!--
┌─ o91.com───────────────┐
│ 动感购物商务平台WWW.SNSN.NET版权所有 │
│ 设计:模糊视线13855119911 QQ:9912515 │
└───────────9911.com.cn──┘
-->
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<!--#include file="fuction.asp"-->
<%On Error Resume Next
dim action
action=request.QueryString("action")%>
<!--#include file="webtop.asp"-->
<html>
<head>
<title><%=webname%>--新用户注册</title>
<link rel="SHORTCUT ICON" href="/shortcut.ico">
<meta name="generator" content="snsn-shop">
<meta name=keywords content="<%=webgjz%>">
<meta name="description" content="<%=webmx%>">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta http-equiv="MSThemeCompatible" content="Yes">
<link href="/css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜欢本站,别忘了把本站介绍给您的好友哦!:)';return true">
<table width="940" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="6" colspan="3"></td>
</tr>
<tr>
<td width="17"><img src="/img/index_1.gif" width="15" height="16"></td>
<td valign="bottom">您现在的位置是:<a href="<%=weburl%>"><%=webname%></a> -> <span class="table-shangxia">用户注册</span></td>
<td valign="bottom"></td>
</tr>
<tr>
<td height="6" colspan="3"></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<%select case action
case ""%>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="100"><img src="images/block.gif" width="1" height="1"> <br>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="33">
<div align="center">
<table width="500" border="0" cellspacing="0" cellpadding="0" height="31" class="table-shangxia">
<tr>
<td height="22"><div align="center"><span style="font-size: 16"><b><%=webname%>注册条约</b></span></div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td> <br>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<%call tiaoyue()%>
</td>
</tr>
</table>
<br>
</td>
</tr>
</table>
<div align="center">
<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<form name="form1" method="post" action="reg.asp?action=yes">
<td height="36">
<div align="center">
<input name="Submit4" type="submit" class="go-wenbenkuang" value="我接受条约同意注册">
<input name="Submit32" type="button" class="go-wenbenkuang" value="我不同意注册" onClick="javascript:window.history.go(-1)">
</div></td>
</form>
</tr>
</table>
</div></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" background="images/bj_x.gif">
</table>
<%case "yes"%><script LANGUAGE="javascript">
<!--
function checkspace(checkstr) {
var str = '';
for(i = 0; i < checkstr.length; i++) {
str = str + ' ';
}
return (str == checkstr);
}
function check()
{
if(checkspace(document.userinfo.username.value)) {
document.userinfo.username.focus();
alert("对不起,请填写用户名!");
return false;
}
if(checkspace(document.userinfo.userpassword.value) || document.userinfo.userpassword.value.length < 6 || document.userinfo.userpassword.value.length >20) {
document.userinfo.userpassword.focus();
alert("密码长度不能不能这空,在6位到20位之间,请重新输入!");
return false;
}
if(document.userinfo.userpassword.value != document.userinfo.userpassword1.value) {
document.userinfo.userpassword.focus();
document.userinfo.userpassword.value = '';
document.userinfo.userpassword1.value = '';
alert("两次输入的密码不同,请重新输入!");
return false;
}
if(document.userinfo.useremail.value.length!=0)
{
if (document.userinfo.useremail.value.charAt(0)=="." ||
document.userinfo.useremail.value.charAt(0)=="@"||
document.userinfo.useremail.value.indexOf('@', 0) == -1 ||
document.userinfo.useremail.value.indexOf('.', 0) == -1 ||
document.userinfo.useremail.value.lastIndexOf("@")==document.userinfo.useremail.value.length-1 ||
document.userinfo.useremail.value.lastIndexOf(".")==document.userinfo.useremail.value.length-1)
{
alert("Email地址格式不正确!");
document.userinfo.useremail.focus();
return false;
}
}
else
{
alert("Email不能为空!");
document.userinfo.useremail.focus();
return false;
}
if(checkspace(document.userinfo.quesion.value)) {
document.userinfo.quesion.focus();
alert("对不起,请填写密码提问!");
return false;
}
if(checkspace(document.userinfo.answer.value)) {
document.userinfo.answer.focus();
alert("对不起,请填写密码提问的答案!");
return false;
}
//document.userinfo.submit();
}
//-->
</script>
<form name=userinfo method="post" action="reg.asp?action=save" ><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="100"><img src="images/block.gif" width="1" height="1">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td> </td>
</tr>
<tr bgcolor="#ffffff">
<td>
<table border="0" cellspacing="1" cellpadding="0" width="100%" bgcolor="#ffffff">
<tr bgcolor="#FFFFFF">
<td height="35" colspan="2">◆用户注册信息(必填内容)
</td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -