分类: 系统运维
2008-06-27 09:08:07
| 共有" & totalcount & "条,第:" & page & "页/共" & totalpage & "页," & mypagesize & "/每页 | " '处理首页问题 if page>1 then showPage = showPage & "" showPage = showPage & " " end if s_mid = 0 s_mid = clng(pagenumber\2) if pagenumber mod 2 <>0 then s_mid = s_mid+1 if clng(page)<=clng(totalpage) and clng(page)>=clng(s_mid) then '处理中间页码的生成问题 for i=page-s_mid+1 to page-s_mid+pagenumber if i<=totalpage then if clng(i)=clng(page) then showPage = showPage & " [" & i & "]" else showPage = showPage & " " & i & "" end if end if next end if if page>=1 and clng(page) " end if showPage = showPage & " | " if style="text" then if right(url,1)="?" or right(url,1)="&" then url = left(url,len(url)-1) showPage = showPage & "