Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Subpaging in the Guestbook MOD
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

scorpswolle
Starting Member

39 Posts

Posted - 27 May 2003 :  12:12:16  Show Profile
Is there a way to modify the code for the subpaging. I have almost 2000 signatures in my guestbook and so it shows a lot of pages. I would prefer to show it like this: previous page|next page|pages 10-20|... or something like that. The code is:

Sub subgpaging()
p_rec = 1
response.write("<tr><td width=""100%"" align=""center"" bgcolor=""" & strCategoryCellColor & """><b>" & strTempFont & "Pages: " & vbcrlf)
Do until p_rec = strGTotalPages + 1
response.write("<a href=""guestbook.asp?page=" & p_rec & """ title=""Page " & p_rec & "&sortby=" & request.querystring("sortby") & """>" & p_rec & "</a> | ")
p_rec = p_rec + 1
Loop


My Guestbook can be viewed at http://www.the-scorpions.com/forum/guestbook.asp
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07