?? produce.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">
<link href="images/css.css" rel="stylesheet" type="text/css">
<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("對不起,請?zhí)顚懹脩裘?quot;);
return false;
}
if(checkspace(document.shjiainfo.name.value)) {
document.shjiainfo.name.focus();
alert("對不起,請?zhí)顚懮痰昝Q!");
return false;
}
if(checkspace(document.shjiainfo.name2.value)) {
document.shjiainfo.name2.focus();
alert("對不起,請?zhí)顚懮痰曦?fù)責(zé)人名稱!");
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("對不起,請?zhí)顚懨艽a提問!");
return false;
}
if(checkspace(document.shjiainfo.answer.value)) {
document.shjiainfo.answer.focus();
alert("對不起,請?zhí)顚懨艽a提問的答案!");
return false;
}
}
function checkshouhuoxx()
{
if(checkspace(document.shouhuoxx.userzhenshiname.value)) {
document.shouhuoxx.userzhenshiname.focus();
alert("對不起,請?zhí)顚懻鎸?shí)姓名!");
return false;
}
if(checkspace(document.shouhuoxx.shouhuodizhi.value)) {
document.shouhuoxx.shouhuodizhi.focus();
alert("對不起,請?zhí)顚懯肇浫嗽敿?xì)收貨地址!");
return false;
}
if(checkspace(document.shouhuoxx.youbian.value)) {
document.shouhuoxx.youbian.focus();
alert("對不起,請?zhí)顚戉]編!");
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("對不起,請留下您的聯(lián)系電話!");
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="producetop.asp"-->
<table align=center border=1 bordercolor=#c3c3c3 cellpadding=0 cellspacing=0
class=border width=762>
<tbody>
<tr>
<td align=middle valign=top width=180>
<table border=0 cellpadding=0 cellspacing=0 width=180>
<tbody>
<tr>
<td bgcolor=#c3c3c3 height=1></td>
</tr>
<tr>
<td bgcolor=#f2f2f2 height=5></td>
</tr>
<tr>
<td bgcolor=#c3c3c3 width=1></td>
</tr>
</tbody>
</table>
<table border=0 cellpadding=0 cellspacing=0 width=160>
<tbody>
<tr>
<td height=10></td>
</tr>
<tr>
<td align=middle><a href="http://www.075518.com/shop/about.asp?action=lxwm" target="_blank"><img border=0
src="images/shop_00.gif" width="160" height="160"></a></td>
</tr>
<tr>
<td height=6></td>
</tr>
<tr>
<td align=middle><a href="reg_shang.asp"><img border=0
src="images/shop_01.gif" width="160" height="51"></a></td>
</tr>
<tr>
<td height=6></td>
</tr>
<tr>
<td align=middle><a href="reg_shangfw.asp"><img border=0
src="images/shop_02.gif"></a></td>
</tr>
<tr>
<td height=6></td>
</tr>
<tr>
<td align=middle><a href="reg_shangzd.asp"><img border=0
src="images/shop_03.gif"></a></td>
</tr>
<tr>
<td height=6></td>
</tr>
<tr>
<td align=middle><a href="reg.asp"><img border=0
src="images/shop_04.gif"></a></td>
</tr>
<tr>
<td height=6></td>
</tr>
<tr>
<td align=middle><img border=0
src="images/shop_05.gif"></td>
</tr>
<tr>
<td height=6></td>
</tr>
<tr>
<td align=middle><a href="http://www.075518.com/shop/about.asp?action=lxwm" target="_blank"><img border=0
src="images/shop_06.gif"></a></td>
</tr>
<tr>
<td height=6></td>
</tr>
<tr>
<td align=middle><img border=0
src="images/shop_07.gif"></td>
</tr>
<tr>
<td height=6></td>
</tr>
<tr>
<td height=25> </td>
</tr>
<tr>
<td bgcolor=#cccccc height=1></td>
</tr>
<tr>
<td height=25> </td>
</tr>
<tr>
<td bgcolor=#cccccc height=1></td>
</tr>
<tr>
<td height=25> </td>
</tr>
<tr>
<td bgcolor=#cccccc height=1></td>
</tr>
<tr>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -