|
更多 |
<%
if classid="" then
sql=sql & " where types2='蔬菜野菜' and cityid=19" '在此处修改cityid。
else
sql=sql & " where types2=" & classid &"and cityid=19" '在此处修改cityid.
' for counts=0 to ubound(cityids)
' sql=sql & " or cityid=" & cityids(counts)
' next
end if
sql=sql & " order by dates desc"
rs.PageSize=15
rs.CursorType=adOpenStatic
rs.Open sql,conn
if cint(currentPage)<1 then currentPage=1
if cint(currentPage)>rs.pageCount then currentPage=rs.PageCount
if rs.eof then currentPage=0
if not rs.eof then
rs.AbsolutePage=cint(currentPage)
end if
%>
|
|