%
const MaxPerPage=20
dim totalPut
dim CurrentPage
dim TotalPages
dim j
dim sql
if Not isempty(request.QueryString("page")) then
currentPage=Cint(request.QueryString("page"))
else
currentPage=1
end if
Set rs=Server.CreateObject("ADODB.RecordSet")
sql="select bt,ly,sj,html from news where lbid=1 and xlbid=2 order by id desc"
rs.Open sql,conn,1,2
if rs.eof and rs.bof then
response.Write("没有记录")
else
totalPut=rs.recordcount
if currentpage<1 then
currentpage=1
end if
if (currentpage-1)*MaxPerPage>totalput then
if (totalPut mod MaxPerPage)=0 then
currentpage= totalPut \ MaxPerPage
else
currentpage= totalPut \ MaxPerPage + 1
end if
end if
if currentPage=1 then
showContent
showpage totalput,MaxPerPage,"kfanli.asp"
else
if (currentPage-1)*MaxPerPage

网 站 类 别
![]()
机械运输
![]()
![]()
![]()
![]()
电 子
![]()
![]()
医疗保健
![]()
![]()
休闲娱乐
![]()
![]()
食 品
![]()
![]()
外 包 装
![]()
![]()
园林建材
![]()
![]()
宾馆酒店
![]()
![]()
网络传媒
![]()
![]()
FLASH网站
![]()
![]()
其 它
首 页 >>> 客户案例

黄龙宾馆

西湖明珠大酒店

河南嘉和酒店商务服务有限公司

燕蓉博客饭店