📄 regshjia.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="../webconfig.asp"-->
<%dim action
action=request.QueryString("action")%>
<html>
<head>
<title><%=webname%>--新商家注册</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<STYLE type=text/css>
.pad {
PADDING-LEFT: 150px
}
</style>
<link href="../images/css.css" rel="stylesheet" type="text/css">
<style>
td{font-size:9pt;line-height:120%;color:#353535}
body{font-size:9pt;line-height:120%}
a:link { color: #000000; text-decoration: none }
a:visited { color: #000000; text-decoration: none }
a:active { color: #000000; text-decoration: none }
a:hover { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
<script language=JavaScript>
function IsDigit()
{
return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
</script>
<SCRIPT LANGUAGE="JavaScript">
<!--
function checkuserinfo()
{
if(checkspace(document.shjiainfo.shjianame.value)) {
document.shjiainfo.shjianame.focus();
alert("对不起,请填写用户名!");
return false;
}
if(checkspace(document.shjiainfo.name.value)) {
document.shjiainfo.name.focus();
alert("对不起,请填写商店名称!");
return false;
}
if(checkspace(document.shjiainfo.name2.value)) {
document.shjiainfo.name2.focus();
alert("对不起,请填写商店负责人名称!");
return false;
}
if(checkspace(document.shjiainfo.shjiapassword.value) || document.shjiainfo.shjiapassword.value.length < 6 || document.shjiainfo.shjiapassword.value.length >20) {
document.shjiainfo.shjiapassword.focus();
alert("密码长度不能不能这空,在6位到20位之间,请重新输入!");
return false;
}
if(document.shjiainfo.shjiapassword.value != document.shjiainfo.shjiapassword1.value) {
document.shjiainfo.shjiapassword.focus();
document.shjiainfo.shjiapassword.value = '';
document.shjiainfo.shjiapassword1.value = '';
alert("两次输入的密码不同,请重新输入!");
return false;
}
if(document.shjiainfo.shjiaemail.value.length!=0)
{
if (document.shjiainfo.shjiaemail.value.charAt(0)=="." ||
document.shjiainfo.shjiaemail.value.charAt(0)=="@"||
document.shjiainfo.shjiaemail.value.indexOf('@', 0) == -1 ||
document.shjiainfo.shjiaemail.value.indexOf('.', 0) == -1 ||
document.shjiainfo.shjiaemail.value.lastIndexOf("@")==document.shjiainfo.shjiaemail.value.length-1 ||
document.shjiainfo.shjiaemail.value.lastIndexOf(".")==document.shjiainfo.shjiaemail.value.length-1)
{
alert("Email地址格式不正确!");
document.shjiainfo.shjiaemail.focus();
return false;
}
}
else
{
alert("Email不能为空!");
document.shjiainfo.shjiaemail.focus();
return false;
}
if(checkspace(document.shjiainfo.quesion.value)) {
document.shjiainfo.quesion.focus();
alert("对不起,请填写密码提问!");
return false;
}
if(checkspace(document.shjiainfo.answer.value)) {
document.shjiainfo.answer.focus();
alert("对不起,请填写密码提问的答案!");
return false;
}
}
function checkshouhuoxx()
{
if(checkspace(document.shouhuoxx.userzhenshiname.value)) {
document.shouhuoxx.userzhenshiname.focus();
alert("对不起,请填写真实姓名!");
return false;
}
if(checkspace(document.shouhuoxx.shouhuodizhi.value)) {
document.shouhuoxx.shouhuodizhi.focus();
alert("对不起,请填写收货人详细收货地址!");
return false;
}
if(checkspace(document.shouhuoxx.youbian.value)) {
document.shouhuoxx.youbian.focus();
alert("对不起,请填写邮编!");
return false;
}
if(document.shouhuoxx.youbian.value.length!=6) {
document.shouhuoxx.youbian.focus();
alert("对不起,请正确填写邮编!");
return false;
}
if(checkspace(document.shouhuoxx.usertel.value)) {
document.shouhuoxx.usertel.focus();
alert("对不起,请留下您的联系电话!");
return false;
}
}
function checkspace(checkstr) {
var str = '';
for(i = 0; i < checkstr.length; i++) {
str = str + ' ';
}
return (str == checkstr);
}
//-->
</script>
</head>
<%dim count
set rs=server.createobject("adodb.recordset")
rs.open "select * from shop_Nclass order by Nclassidorder ",conn,1,1%>
<script language = "JavaScript">
var onecount;
onecount=0;
subcat = new Array();
<%
count = 0
do while not rs.eof
%>
subcat[<%=count%>] = new Array("<%= trim(rs("Nclass"))%>","<%= rs("anclassid")%>","<%= rs("Nclassid")%>");
<%
count = count + 1
rs.movenext
loop
rs.close
%>
onecount=<%=count%>;
function changelocation(locationid)
{
document.shjiainfo.Nclassid.length = 0;
var locationid=locationid;
var i;
for (i=0;i < onecount; i++)
{
if (subcat[i][1] == locationid)
{ //这句不是很理解
document.shjiainfo.Nclassid.options[document.shjiainfo.Nclassid.length] = new Option(subcat[i][0], subcat[i][2]);
}
}
}
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜欢本站,别忘了把本站介绍给您的好友哦!:)';return false">
<!--#include file="webtop.asp"-->
<%select case action
case ""%>
<table width="748" border="0" cellspacing="0" cellpadding="0" align="center" background="../images/bj_x.gif">
<tr>
<td height="1"></td>
</tr>
</table>
<table width="760" border="1" cellspacing="0" cellpadding="0" align="center" bordercolor="#EDECEC">
<tr>
<td height="22" bgcolor="#FFFFFF" bordercolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
<tr>
<td class="12v" >
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
<tr>
<td>
<table border="0" align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" height="178"><br>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="33">
<div align="center">
<p> </p>
<table width="500" border="0" cellspacing="0" cellpadding="0" height="31">
<tr>
<td background="../images/bj_x1.gif" height="1"></td>
</tr>
<tr>
<td height="22"><b><%=webname%>商家注册条约</b></td>
</tr>
<tr>
<td background="../images/bj_x1.gif" height="1"></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td> <br>
<table width="490" 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="regshjia.asp?action=yes">
<td height="36">
<div align="center">
<input type="image" border="0" name="submit" src="../images/tyzc.gif" width="54" height="18" >
<a href="../index.asp"><img src="../images/btyzc.gif" width="54" height="18" border="0"></a></div>
</td>
</form>
</tr>
</table>
<br>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="../images/bj_x1.gif" height="1"></td>
</tr>
</table>
<p> </p></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="748" border="0" cellspacing="0" cellpadding="0" align="center" background="../images/bj_x.gif">
<tr>
<td height="1"></td>
</tr>
</table><%case "yes"%>
<table width="760" border="1" cellspacing="0" cellpadding="0" align="center" bordercolor="#EDECEC">
<tr>
<td height="22" bgcolor="#FFFFFF" bordercolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">
<tr>
<td>
<table width="750" border="0">
<tr>
<td class="12v">
<table border="0" width="750">
<tr>
<td>
<table border="0" align="center" width="100%">
<tr>
<td height="230"><p><font color="#cb6f00"><b><font color="#666666">请填写用户信息</font></b></font></p>
<form name=shjiainfo method=post action=regshjia.asp?action=save>
<div align="center"><font color="#FF3333"><b>为了能及时与您联系,请确定您所填写的内容真实有效。</b></font>
<br>
<br>
</div>
<table width="700" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" align="center">
<tr bgcolor="#FFFFFF">
<td height="25" colspan="2" valign="middle" bgcolor="#f1f1f1">
<font color="#FF3333">>>商家联系信息 </font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25" align="right" >请选择贵网店在商城所属类别 </td>
<td height="25" valign="middle">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -