NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

Post a reply

Write your message and submit
Options
Humanity test

What is ten + nine?

Go back

Topic review (newest first)

Albel
05-10-2007 09:23:57

Thanks for the explanation. smile

Waccoon
05-10-2007 01:15:49

The fifth parameter is the format that will be used for each link.  {page_link} is simply replaced with the respective page number.  The trick is to make sure that the script name is correct, so you don't accidently use "delpics.php" in the stript for "memberlist.php", and so on.

Code:

quick_page_numbers (FIRST_PAGE, CURENT_PAGE, TOTAL_PAGES, DIGITS, LINK_FORMAT)

   FIRST_PAGE:  For Wacintaki, this should always be 0.
   CURRENT_PAGE:  Current page number.  If equal to FIRST_PAGE, you'll be on page 1.
   TOTAL_PAGES:  Equal to last page number.
   DIGITS:  Number of digits displayed per side of current page number.
   LINK_FORMAT:  Almost anything can be put in here, so long as there is a {page_link} somewhere.

Digits refers to the number of digits shown for the page numbers per side.

Examples:
1 ... 5-6-7-8-9-10-11 ... 46 has a digits value of 3.
1 ... 5-6-7-8-9-10-11-12-13-14-15 ... 46 has a digits value of 5.

Albel
05-09-2007 18:27:20

Code:

<?= quick_page_numbers(0, $pageno, $pages, 4, 'delpics.php?pageno={page_link}')."\n"; ?>

For each page that uses that "pagenation", it just edits the ___.php part of it, right?

(I accidentally deleted it in some pages, hence why I am asking.)

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB