dbCF.de

Pagination demo

Here you can see some possible combinations, realisable with the script for paging.

To show you how many things you can adjust, some values will be set to a random value.

Links for first page, previous page, first three pages, page before and behind current, last three pages, next and last page
Secret information on page one!! Previous12312>13<14161718Next Nothin too see here but the last page

".str_replace('<', '&lt;', $pagination=new Pagination(13, 54);
$pagination->setLinkHref('https://dbCF.de/blog/pagination-demo/?page=');
$pagination->setDelimiter1(' ');
$pagination->setDelimiter3(' - ');
$pagination->setLinkActiveBracket('>', '<');
$pagination->setLinkActiveMore(' style="font-size:23px;"');
$pagination->setLinkNextPrevText('Next', 'Previous');
$pagination->setLinkNextPrevMore(' style="color:green; font-weight:bold;"');
$pagination->setLinkFirstLastText('Secret information on page one!!', 'Nothin too see here but the last page');
echo $pagination->create();)."

Links for previous page, first three pages, page before and behind current, last three pages and next page
Previous{1}{2}{3} ___ {12}>13<{14} ___ {16}{17}{18}Next

".str_replace('<', '&lt;', $pagination=new Pagination(13, 54);
$pagination->setLinkHref('https://dbCF.de/blog/pagination-demo/?page=');
$pagination->setDelimiter3(' - ');
$pagination->setDelimiter4(' ___ ');
$pagination->setLinkActiveBracket('>', '<');
$pagination->setLinkBracket(' {', '} ');
$pagination->setLinkNextPrevMore(' style="color:green; font-weight:bold;"');
$pagination->setShowActiveLink('false');
$pagination->setShowFirstLast(false);
echo $pagination->create();)."

Links for first page, first three pages, page before and behind current, last three pages and last page
First123 ___ 12[13]14 ___ 161718Last

".str_replace('<', '&lt;', $pagination=new Pagination(13, 54);
$pagination->setLinkHref('https://dbCF.de/blog/pagination-demo/?page=');
$pagination->setDelimiter1(' -- ');
$pagination->setDelimiter2(' ');
$pagination->setDelimiter4(' ___ ');
$pagination->setLinkActiveBracket(' [', '] ');
$pagination->setLinkMore(' style="font-size:23px;"');
$pagination->setLinkNextPrevText('Next', 'Previous');
$pagination->setLinkNextPrevMore(' style="color:green; font-weight:bold;"');
$pagination->setShowNextPrev(false);
echo $pagination->create();)."

Links for first three pages, page before and behind current and last three pages
123 ___ 12[13]14 ___ 161718

".str_replace('<', '&lt;', $pagination=new Pagination(13, 54);
$pagination->setLinkHref('https://dbCF.de/blog/pagination-demo/?page=');
$pagination->setDelimiter2(' -- ');
$pagination->setDelimiter3(' - ');
$pagination->setDelimiter4(' ___ ');
$pagination->setLinkActiveMore(' style="font-size:23px;"');
$pagination->setLinkFirstLastText('First', 'Last');
$pagination->setShowActiveLink('false');
$pagination->setShowFirstLast(false);
$pagination->setShowNextPrev(false);
echo $pagination->create();)."

Links for first page, previous page, page before and behind current, next and last page
Secret information on page one!!Previous[12]{13}[14]NextNothin too see here but the last page

".str_replace('<', '&lt;', $pagination=new Pagination(13, 54);
$pagination->setLinkHref('https://dbCF.de/blog/pagination-demo/?page=');
$pagination->setDelimiter1(' -- ');
$pagination->setDelimiter2(' -- ');
$pagination->setLinkActiveBracket(' {', '} ');
$pagination->setLinkActiveMore(' style="font-size:23px;"');
$pagination->setLinkBracket(' [', '] ');
$pagination->setLinkMore(' style="font-size:23px;"');
$pagination->setLinkNextPrevText('Next', 'Previous');
$pagination->setLinkNextPrevMore(' style="color:green; font-weight:bold;"');
$pagination->setLinkFirstLastText('Secret information on page one!!', 'Nothin too see here but the last page');
$pagination->setShowOuter(false);
echo $pagination->create();)."

Links for previous page, page before and behind current and next last page
Check out the previous page here! ___ 12[13]14 ___ Wanna see the next page? Click here!

".str_replace('<', '&lt;', $pagination=new Pagination(13, 54);
$pagination->setLinkHref('https://dbCF.de/blog/pagination-demo/?page=');
$pagination->setDelimiter2(' -- ');
$pagination->setDelimiter3(' - ');
$pagination->setDelimiter4(' ___ ');
$pagination->setLinkNextPrevText('Wanna see the next page? Click here!', 'Check out the previous page here!');
$pagination->setLinkNextPrevMore(' style="color:green; font-weight:bold;"');
$pagination->setLinkFirstLastText('Secret information on page one!!', 'Nothin too see here but the last page');
$pagination->setShowOuter(false);
$pagination->setShowFirstLast(false);
echo $pagination->create();)."

Links for first page, page before and behind current and last page
Secret information on page one!! — … [12]>13<[14] … — Nothin too see here but the last page

".str_replace('<', '&lt;', $pagination=new Pagination(13, 54);
$pagination->setLinkHref('https://dbCF.de/blog/pagination-demo/?page=');
$pagination->setDelimiter1(' -- ');
$pagination->setLinkActiveBracket('>', '<');
$pagination->setLinkActiveMore(' style="font-size:23px;"');
$pagination->setLinkBracket(' [', '] ');
$pagination->setLinkNextPrevMore(' style="color:green; font-weight:bold;"');
$pagination->setLinkFirstLastText('Secret information on page one!!', 'Nothin too see here but the last page');
$pagination->setShowActiveLink('false');
$pagination->setShowOuter(false);
$pagination->setShowNextPrev(false);
echo $pagination->create();)."

Links for page before and behind current
>12<[13]>14<

".str_replace('<', '&lt;', $pagination=new Pagination(13, 54);
$pagination->setLinkHref('https://dbCF.de/blog/pagination-demo/?page=');
$pagination->setDelimiter2(' -- ');
$pagination->setLinkBracket('>', '<');
$pagination->setLinkMore(' style="font-size:23px;"');
$pagination->setLinkNextPrevMore(' style="color:green; font-weight:bold;"');
$pagination->setLinkFirstLastText('First', 'Last');
$pagination->setShowActiveLink('false');
$pagination->setShowOuter(false);
$pagination->setShowFirstLast(false);
$pagination->setShowNextPrev(false);
echo $pagination->create();)."

Links for first page, previous page, jede Seite einzeln, next and last page
FirstPrevious 123456789101112>13<1415161718 NextLast

".str_replace('<', '&lt;', $pagination=new Pagination(13, 54);
$pagination->setLinkHref('https://dbCF.de/blog/pagination-demo/?page=');
$pagination->setDelimiter2(' ');
$pagination->setDelimiter3(' - ');
$pagination->setLinkActiveBracket('>', '<');
$pagination->setLinkActiveMore(' style="font-size:23px;"');
$pagination->setLinkMore(' style="font-size:23px;"');
$pagination->setLinkNextPrevText('Next', 'Previous');
$pagination->setShowActiveLink('false');
$pagination->setShowContinuous(true);
echo $pagination->create();)."

Links for previous page, every single page and next page
Previous>1<>2<>3<>4<>5<>6<>7<>8<>9<>10<>11<>12<{13}>14<>15<>16<>17<>18<Next

".str_replace('<', '&lt;', $pagination=new Pagination(13, 54);
$pagination->setLinkHref('https://dbCF.de/blog/pagination-demo/?page=');
$pagination->setDelimiter1(' ');
$pagination->setDelimiter4(' ___ ');
$pagination->setLinkActiveBracket(' {', '} ');
$pagination->setLinkBracket('>', '<');
$pagination->setLinkNextPrevText('Next', 'Previous');
$pagination->setShowActiveLink('false');
$pagination->setShowContinuous(true);
$pagination->setShowFirstLast(false);
echo $pagination->create();)."

Links for erste Seite, every single page and last page
Secret information on page one!!>1<>2<>3<>4<>5<>6<>7<>8<>9<>10<>11<>12<[13]>14<>15<>16<>17<>18<Nothin too see here but the last page

".str_replace('<', '&lt;', $pagination=new Pagination(13, 54);
$pagination->setLinkHref('https://dbCF.de/blog/pagination-demo/?page=');
$pagination->setDelimiter1(' -- ');
$pagination->setDelimiter2(' -- ');
$pagination->setDelimiter4(' ... ');
$pagination->setLinkBracket('>', '<');
$pagination->setLinkNextPrevText('Wanna see the next page? Click here!', 'Check out the previous page here!');
$pagination->setLinkNextPrevMore(' style="color:green; font-weight:bold;"');
$pagination->setLinkFirstLastText('Secret information on page one!!', 'Nothin too see here but the last page');
$pagination->setShowActiveLink('false');
$pagination->setShowContinuous(true);
$pagination->setShowNextPrev(false);
echo $pagination->create();)."

Links for every single page
123456789101112[13]1415161718

".str_replace('<', '&lt;', $pagination=new Pagination(13, 54);
$pagination->setLinkHref('https://dbCF.de/blog/pagination-demo/?page=');
$pagination->setDelimiter1(' ');
$pagination->setDelimiter3(' - ');
$pagination->setDelimiter4(' ... ');
$pagination->setLinkActiveMore(' style="font-size:23px;"');
$pagination->setLinkMore(' style="font-size:23px;"');
$pagination->setLinkNextPrevText('Wanna see the next page? Click here!', 'Check out the previous page here!');
$pagination->setLinkNextPrevMore(' style="color:green; font-weight:bold;"');
$pagination->setShowContinuous(true);
$pagination->setShowFirstLast(false);
$pagination->setShowNextPrev(false);
echo $pagination->create();)."
Posted in Dev

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Scroll To Top