<%@LANGUAGE="VBSCRIPT"%> <% set news = Server.CreateObject("ADODB.Recordset") news.ActiveConnection = MM_newspage_STRING news.Source = "SELECT * FROM sunnews ORDER BY newstime DESC" news.CursorType = 0 news.CursorLocation = 2 news.LockType = 3 news.Open() news_numRows = 0 %> <% set agora = Server.CreateObject("ADODB.Recordset") agora.ActiveConnection = MM_newspage_STRING agora.Source = "SELECT * FROM sunagora ORDER BY agoratime DESC" agora.CursorType = 0 agora.CursorLocation = 2 agora.LockType = 3 agora.Open() agora_numRows = 0 %> <% Dim Repeat1__numRows Repeat1__numRows = 12 Dim Repeat1__index Repeat1__index = 0 news_numRows = news_numRows + Repeat1__numRows %> <% Dim Repeat2__numRows Repeat2__numRows = 11 Dim Repeat2__index Repeat2__index = 0 agora_numRows = agora_numRows + Repeat2__numRows %> <% ' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters ' create the list of parameters which should not be maintained MM_removeList = "&index=" If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "=" MM_keepURL="":MM_keepForm="":MM_keepBoth="":MM_keepNone="" ' add the URL parameters to the MM_keepURL string For Each Item In Request.QueryString NextItem = "&" & Item & "=" If (InStr(1,MM_removeList,NextItem,1) = 0) Then MM_keepURL = MM_keepURL & NextItem & Server.URLencode(Request.QueryString(Item)) End If Next ' add the Form variables to the MM_keepForm string For Each Item In Request.Form NextItem = "&" & Item & "=" If (InStr(1,MM_removeList,NextItem,1) = 0) Then MM_keepForm = MM_keepForm & NextItem & Server.URLencode(Request.Form(Item)) End If Next ' create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL & MM_keepForm if (MM_keepBoth <> "") Then MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1) if (MM_keepURL <> "") Then MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) if (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) ' a utility function used for adding additional parameters to these strings Function MM_joinChar(firstItem) If (firstItem <> "") Then MM_joinChar = "&" Else MM_joinChar = "" End If End Function %> <% set conn=server.createobject("adodb.connection") conn.open "driver={Microsoft Access Driver (*.mdb)};dbq="&server.mappath("../db/buysell.mdb") set gqbiao = Server.CreateObject("ADODB.Recordset") Source = "SELECT top 10 * FROM 供求信息 order by 发布日期 desc " gqbiao.CursorType = 0 gqbiao.CursorLocation = 2 gqbiao.LockType = 3 gqbiao.Open Source,conn,1,1 gqbiao_numRows = 0 %> 云霄县供销社信息网!
返回首页
云霄概况
名优特产
旅游天地

供销社简介

投资指南

人民广场夜景

 


关于我们
| 联系我们 | 欢迎留言 | 广告服务
Copyright © 2000-2001 All Rights Reserved
版权所有 福建省漳州市供销合作社
Tel:0596-2024979  Fax:0596-2022948
漳州立达电脑公司制作 建议使用800*600分辨率

<% news.Close() %> <% agora.Close() %>