📄 productclass.asp
字号:
<%@ LANGUAGE="VBSCRIPT" %>
<!--#include file="conn.asp" -->
<%
ProductClass_2=request("ProductClass_2")
set rs=server.createobject("adodb.recordset")
sqltext="select * from Product Where Class_2='"& ProductClass_2 &"' order by Product_No desc"
rs.open sqltext,conn,1,1
dim MaxPerPage
MaxPerPage=12
'取得页数,并判断用户输入的是否数字类型的数据,如不是将以第一页显示
dim text,checkpage
text="0123456789"
Rs.PageSize=MaxPerPage
for i=1 to len(request("page"))
checkpage=instr(1,text,mid(request("page"),i,1))
if checkpage=0 then
exit for
end if
next
If checkpage<>0 then
If NOT IsEmpty(request("page")) Then
CurrentPage=Cint(request("page"))
If CurrentPage < 1 Then CurrentPage = 1
If CurrentPage > Rs.PageCount Then CurrentPage = Rs.PageCount
Else
CurrentPage= 1
End If
If not Rs.eof Then Rs.AbsolutePage = CurrentPage end if
Else
CurrentPage=1
End if
%>
<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">
<STYLE>BODY {
FONT-SIZE: 9pt
}
TD {
FONT-SIZE: 9pt
}
A {
TEXT-DECORATION: none
}
A:hover {
TEXT-DECORATION: underline
}
</STYLE>
<SCRIPT language=JavaScript>
<!--
function openbag(url,name){
window.open(url,name,"height=200,width=600,left=190,top=0,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no")}
-->
</SCRIPT>
<SCRIPT language=javascript>
<!--
function isok(theform)
{
if (theform.uid.value=="")
{
alert("会员帐号不能为空!");
theform.uid.focus();
return (false);
}
if (theform.pwd.value=="")
{
alert("对不起!密码不能为空!");
theform.pwd.focus();
return (false);
}
return (true);
}
-->
</SCRIPT>
<title>产品分类</title>
</head>
<body leftmargin="0" topmargin="2">
<table width="778" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><iframe src=top.asp noresize scrolling=no frameborder=0 width=778 height=100 hspace="0" vspace="0" marginheight="0"></iframe>
</td>
</tr>
</table>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="778" height="80" background="images/back.gif">
<tr>
<td width="21%" height="62" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%" class=main1 height="611">
<tr valign="top">
<td width="158" bgcolor="#FAEFCD">
<table border="0" cellpadding="0" cellspacing="0" width="145" align="center">
<tr>
<td height="17" valign="bottom">
<p align="center"><b><font color="#CFA014">商 品 搜 索</font></b>
</td>
</tr>
<tr>
<td height="120" bgcolor="#FDFAEE">
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form action=ProductSearch.asp method=post>
<tr>
<td>
<div align="center">商品名称:
<input type='text' name='Product_Name' size='10' class='a'>
<br>
商品类别:
<select name="Product_Class" size="1" tabindex="0" class="a" FONT-SIZE: 9pt>
<option value="日常用品">日常用品</option>
<option value="食品餐饮">食品餐饮</option>
<option value="日用家电">日用家电</option>
<option value="服装服饰">服装服饰</option>
<option value="医疗保健">医疗保健</option>
<option value="文体用品 ">文体用品</option>
</select>
<br>
<br>
<input name="Submit1" src style="BACKGROUND-COLOR: #feac37; BORDER-BOTTOM: #000875 1px solid; BORDER-LEFT: #9aa3ff 1px solid; BORDER-RIGHT: #000875 1px solid; BORDER-TOP: #9aa3ff 1px solid; COLOR: #efefef; HEIGHT: 20px" type="submit" value="搜 索">
<input name="Submit12" src style="BACKGROUND-COLOR: #feac37; BORDER-BOTTOM: #000875 1px solid; BORDER-LEFT: #9aa3ff 1px solid; BORDER-RIGHT: #000875 1px solid; BORDER-TOP: #9aa3ff 1px solid; COLOR: #efefef; HEIGHT: 20px" type="reset" value="重 置">
</div>
</td>
</tr>
</form>
</table>
</div>
</td>
</tr>
</table>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="145" height="147">
<tr>
<td bgcolor="#F3D781" height="17" valign="bottom">
<p align="center"><b><font color="#FFFFFF">分 类 信 息</font></b>
</td>
</tr>
<tr>
<td height="3"> </td>
</tr>
<tr>
<td bgcolor="#F8F8E8" height="200" >
<table width="140" border="0" cellspacing="0" cellpadding="0" align="center">
<form name="form1" method="post" action="xinxi/search.asp">
<tr>
<td>
<div align="center">
<input type="text" name="search" size="11">
<input name="Submit132" src style="BACKGROUND-COLOR: #feac37; BORDER-BOTTOM: #000875 1px solid; BORDER-LEFT: #9aa3ff 1px solid; BORDER-RIGHT: #000875 1px solid; BORDER-TOP: #9aa3ff 1px solid; COLOR: #efefef; HEIGHT: 20px" type="submit" value="搜索">
</div>
</td>
</tr>
</form>
</table>
<table width="140" border="0" cellspacing="4" cellpadding="3" align="center">
<tr>
<td><a href="xinxi/wh.asp?n=1">招租</a></td>
<td><a href="xinxi/wh.asp?n=2">招聘</a></td>
<td><a href="xinxi/wh.asp?n=3">转让</a></td>
<td><a href="xinxi/wh.asp?n=4">购物</a></td>
</tr>
<tr>
<td><a href="xinxi/wh.asp?n=5">饮食</a></td>
<td><a href="xinxi/wh.asp?n=6">家居</a></td>
<td><a href="xinxi/wh.asp?n=7">服饰</a></td>
<td><a href="xinxi/wh.asp?n=8">娱乐</a></td>
</tr>
<tr>
<td><a href="xinxi/wh.asp?n=9">医药</a></td>
<td><a href="xinxi/wh.asp?n=10">美容</a></td>
<td><a href="xinxi/wh.asp?n=11">教育</a></td>
<td><a href="xinxi/wh.asp?n=12">培训</a></td>
</tr>
<tr>
<td><a href="xinxi/wh.asp?n=13">旅游</a></td>
<td><a href="xinxi/wh.asp?n=14">交通</a></td>
<td><a href="xinxi/wh.asp?n=15">礼仪</a></td>
<td><a href="xinxi/wh.asp?n=17">咨询</a></td>
</tr>
<tr>
<td><a href="xinxi/wh.asp?n=18">印刷</a></td>
<td><a href="xinxi/wh.asp?n=19">搬迁</a></td>
<td><a href="xinxi/wh.asp?n=20">维修</a></td>
<td><a href="xinxi/wh.asp?n=21">广告</a></td>
</tr>
<tr>
<td><a href="xinxi/wh.asp?n=22">通讯</a></td>
<td><a href="xinxi/wh.asp?n=23">装修</a></td>
<td><a href="xinxi/wh.asp?n=24">家政</a></td>
<td><a href="xinxi/wh.asp?n=16">其它</a></td>
</tr>
<tr>
<td colspan="4">
<div align="right">==>> <a href="xinxi/fabu.asp">免费发布信息</a></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
</center>
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="145" height="147">
<tr>
<td bgcolor="#F3D781" height="17" valign="bottom">
<p align="center"><b><font color="#FFFFFF">企 业 搜 索</font></b>
</td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -