⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shop_class3.asp

📁 一个非常好的旅游网站程序.
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<%@ LANGUAGE="VBSCRIPT" %>
<!--#include file="conn.asp" -->
<%
set rs=server.createobject("adodb.recordset")
sqltext="select  * from shop where classid=4 and passed=1 ORDER BY id DESC"
rs.open sqltext,conn,1,1


dim MaxPerPage
MaxPerPage=20

'取得页数,并判断用户输入的是否数字类型的数据,如不是将以第一页显示
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;
	background-image: url(IMAGES/bg2.gif);
	margin-left: 15px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
TD {
	FONT-SIZE: 9pt
}
a            { text-decoration: none; color: #000000 }
a:hover      { text-decoration: underline; color: #333333}
.box1 {
	border-top: 1px solid #FFCC99;
	border-right: 1px solid #FF9900;
	border-bottom: 1px solid #FF9900;
	border-left: 1px solid #FFCC99;
}
.button {
	BACKGROUND-COLOR: #cccccc; BORDER-BOTTOM: #333333 1px solid; BORDER-LEFT: #333333 1px solid; BORDER-RIGHT: #333333 1px solid; BORDER-TOP: #333333 1px solid; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 9pt; FONT-WEIGHT: lighter; HEIGHT: 18px; LINE-HEIGHT: 120%; TEXT-ALIGN: center; TEXT-DECORATION: none; WIDTH: 40px
}
.box2 {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
}
</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>
<title>鹰潭便民网-休闲旅游商品展示</title>
</head>
<link href="IMAGES/css.css" rel="stylesheet" type="text/css">
<body leftmargin="0" topmargin="2">
<table width="760" height="29" border="0" align="center" cellpadding="0" cellspacing="0" background="IMAGES/top_bak_top.jpg">
  <tr> 
    <td>&nbsp;</td>
  </tr>
</table>
<table width="760" height="73" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td width="7">&nbsp;</td>
    <td width="160" valign="top"><a href="index.asp"><img src="IMAGES/logo.png" width="156" height="71" border="0"></a></td>
    <td valign="middle" background="images/menubg.jpg"> <div align="center"> 
        <table width="98%" height="50" border="0" align="right" cellpadding="0" cellspacing="0">
          <tr> 
            <td><div align="center"><a href="../news.asp"><font color="#FFFFFF">新闻中心</font></a> 
                <font color="#FFFFFF">|</font> <a href="http://www.0701.com.cn/job/default.asp"><font color="#FFFFFF">人才就业</font></a> 
                <font color="#FFFFFF">|</font> <a href="http://www.0701.com.cn/laweronline/laweronline.asp"><font color="#FFFFFF">法律服务</font></a> 
                <font color="#FFFFFF">|</font> <a href="http://www.0701.com.cn/swzx01/DEFAULT.ASP"><font color="#FFFFFF">商务在线</font></a> 
                <font color="#FFFFFF">|</font> <a href="../jypx/"><font color="#FFFFFF">教育培训</font></a> 
                <font color="#FFFFFF">|</font> <a href="http://www.0701.com.cn/Second/INDEX.ASP"><font color="#FFFFFF">二手市场</font></a> 
                <font color="#FFFFFF">|</font> <a href="../it/"><font color="#FFFFFF">I 
                T商情</font></a> <font color="#FFFFFF">|</font> <a href="../fcxx/"><font color="#FFFFFF">房产信息</font></a> 
                <font color="#FFFFFF">|</font> <a href="index.asp"><font color="#FFFFFF">休闲旅游</font></a> 
              </div></td>
          </tr>
          <tr> 
            <td background="img/hline.gif" height="1"></td>
          </tr>
          <tr> 
            <td><div align="center"><a href="../315.asp"><font color="#FFFFFF">315 
                之声</font></a><font color="#FFFFFF"> | <a href="http://www.0701.com.cn/ytwj/index.asp"><font color="#ffffff">鹰潭我家</font></a> 
                | <a href="http://www.0701.com.cn/love/index.asp"><font color="#ffffff">网络情缘</font></a> 
                | <a href="../ntletter.asp"><font color="#ffffff">网络文学</font></a> 
                | <a href="../photo/"><font color="#ffffff">摄影天地</font></a> | 
                <a href="../bchat/docs/index_chat.asp"><font color="#ffffff">语音聊天</font></a> 
                | <a href="http://www.0701.com.cn/student/"><font color="#ffffff">同 
                学 录</font></a> | <a href="http://www.0701.com.cn/gxsw/index.asp"><font color="#ffffff">便民论坛</font></a>| 
                <a href="http://www.0701.com.cn/ly/index.asp"><font color="#ffffff">留 
                言 板</font></a></font></div></td>
          </tr>
        </table>
      </div></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td bgcolor="#FFFFFF"><IFRAME name=head marginWidth=0 
            frameSpacing=0 marginHeight=0 
            src="images/banner.htm" frameBorder=0 
            width=760 scrolling=no height=90></IFRAME></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <th height="3"></th>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><img src="IMAGES/menu.gif" width="760" height="50" border="0" usemap="#Map"></td>
  </tr>
</table>
<map name="Map">
  <area shape="rect" coords="681,20,747,42" href="other/shopadd.htm">
  <area shape="rect" coords="612,20,677,43" href="ProductClass2.asp?ProductClass_1=&#23486;&#39302;&#37202;&#24215;">
  <area shape="rect" coords="113,13,166,46" href="index.asp">
  <area shape="rect" coords="421,21,481,43" href="shop_class1.asp">
  <area shape="rect" coords="295,21,355,44" href="travelline.asp">
  <area shape="rect" coords="358,21,419,43" href="shop_class3.asp">
  <area shape="rect" coords="484,21,545,43" href="shop_class2.asp">
  <area shape="rect" coords="546,21,610,44" href="shop_class4.asp">
  <area shape="rect" coords="167,20,230,43" href="longhusan/longhusan.htm">
  <area shape="rect" coords="233,21,293,44" href="../travel.asp?classid=24">
</map>
<table width="760" height="2" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td height="3"></td>
  </tr>
</table>

<DIV align=center> 
    <TABLE border=0 cellPadding=0 cellSpacing=0 width=760>
      <TBODY>
        <TR> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -