📄 index.asp
字号:
<%@ LANGUAGE="VBSCRIPT" %>
<!--#include file="conn.asp" -->
<%
set rs=server.createobject("adodb.recordset")
sqltext="select top 8 * from Product order by regtime desc"
rs.open sqltext,conn,1,1
set rs_class_1=server.createobject("adodb.recordset")
sqltext2="select * from Class_1 "
rs_class_1.open sqltext2,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<script>
function openbag(id) { window.open("eshop.asp?cpbm="+id,"","height=400,width=630,left=200,top=0,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");}
</script>
<script
language="javascript">
<!--
function winopen(url)
{
window.open(url,"search","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=yes,width=640,height=450,top=200,left=100");
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<title>电子商城</title>
<href="style.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body leftmargin="0" topmargin="0" >
<table cellSpacing="0" cellPadding="0" width="764" align="center" border="0" height="1">
<tbody>
<tr>
<td width="100%" height="1" valign="top">
<table class="main" cellSpacing="0" cellPadding="0" width="762" align="center" border="0">
<tbody>
<tr>
<td width="174" valign="top" bgcolor="#336699">
</td>
<td width="584" valign="top" bgcolor="#336699">
<p align="center"><img border="0" src="images/logo2.gif" align="left"></p>
</td>
</tr>
</tbody>
</table>
<center>
</center>
</td>
</tr>
</tbody>
</table>
<div align="center">
<table border="0" width="764" cellspacing="0" cellpadding="0" height="60">
<center>
<tr>
<td width="153" valign="top" bgcolor="#336699" height="60" rowspan="4">
<div align="center">
<table>
<tr>
<td width="160" bgColor="#006699" height="20"> </td>
</tr>
<tr>
<td width="160" bgColor="#000033" height="1"><SPACER type="block"
height="1">
</td>
</tr>
<tr>
<td width="160" bgColor="#a0a0a0" height="1"><SPACER type="block"
height="1">
</td>
</tr>
<tr>
<td width="160" bgColor="#b0b0b0" height="1"><SPACER type="block"
height="1">
</td>
</tr>
<tr>
<td width="160" bgColor="#c0c0c0" height="1"><SPACER type="block"
height="1">
</td>
</tr>
<tr>
<td width="160" bgColor="#d0d0d0" height="1"><SPACER type="block"
height="1">
</td>
</tr>
<tr>
<td width="160" bgcolor="#F0F1EF" height="80">
<DIV align=center>
<TABLE cellSpacing=0 cellPadding=0 width="86%" align=center
background="" border=0>
<TBODY>
<TR>
<TD>
<SCRIPT language=JavaScript
src="rollnews.js"
type=text/javascript></SCRIPT>
</TD></TR></TBODY></TABLE>
</DIV>
</td>
</tr>
<tr>
<td width="160" bgColor="#000000" height="1"><SPACER type="block"
height="1">
</td>
</tr>
<tr>
<td width="160" bgColor="#c0c0c0" height="1"><SPACER type="block"
height="1">
</td>
</tr>
<tr>
<td width="160" bgColor="#b0b0b0" height="1"><SPACER type="block"
height="1">
</td>
</tr>
<tr>
<td width="160" bgColor="#a0a0a0" height="1"><SPACER type="block"
height="1">
</td>
</tr>
<tr>
<td width="160" bgColor="#000000" height="1"><SPACER type="block"
height="1">
</td>
</tr>
<tr>
<td align="middle" width="160">
<p> </p>
</td>
</tr>
</table>
<table class="main" cellSpacing="0" cellPadding="2" width="153" border="0" height="67">
<tbody>
<tr>
<td vAlign="top" align="middle" width="152" height="63">
<FORM language=javascript name=FORM1 onsubmit="return FORM1_onsubmit()"
action=orderloginsb.asp method=post>
<p style="word-spacing: 0; margin-top: 0; margin-bottom: 0"><font color="#B0E8F8"><!--webbot bot="HTMLMarkup" startspan --><SCRIPT language=javascript id=clientEventHandlersJS>
//函数名:chksafe
//功能介绍:检查是否含有"'",'\\',"/"
//参数说明:要检查的字符串
//返回值:0:是 1:不是
function chksafe(a)
{
return 1;
/* fibdn = new Array ("'" ,"\\", "、", ",", ";", "/");
i=fibdn.length;
j=a.length;
for (ii=0;ii<i;ii++)
{ for (jj=0;jj<j;jj++)
{ temp1=a.charAt(jj);
temp2=fibdn[ii];
if (tem';p1==temp2)
{ return 0; }
}
}
return 1;
*/
}
//函数名:chkspc
//功能介绍:检查是否含有空格
//参数说明:要检查的字符串
//返回值:0:是 1:不是
function chkspc(a)
{
var i=a.length;
var j = 0;
var k = 0;
while (k<i)
{
if (a.charAt(k) != " ")
j = j+1;
k = k+1;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -