" /> " />
現(xiàn)貨資源
共有<%=intCount%>記錄,分<%=intPageCount%>頁,當(dāng)前頁<%=Page%>,每頁顯示<%=intPageSize%>條記錄
<%
'計(jì)算每一段的開始頁
intStarPage=(Section-2) * intSectionSize + 1
'前一段
if Section<=1 then
response.Write(" ")
else
response.Write("dfdf" & PrevSectionText & "... ")
end if
'顯示頁碼列表
response.Write("第")
intStarPage=(Section-1) * intSectionSize + 1
for p=intStarPage to intStarPage + intSectionSize - 1
if p > intPageCount then exit for
if p=page then
response.Write("[" & p & "] ")
else
response.Write("[" & p & "] ")
end if
next
response.Write("頁")
'后一段
intStarPage=(Section) * intSectionSize + 1
if Section>=intSectionCount then
response.Write(" ")
else
response.Write(" ..." & NextSectionText & " ")
end if
%>
|