website

Code for the bare sturcture of concealed.world.
git clone git://git.concealed.world/website
Log | Files | Refs | README | LICENSE

commit b4a6decf324081d2f1ee170d8ecef2c9eed57d9e
parent 0ea6036a75d8e98561ca77cbccc378edca8c10d4
Author: Nixx <nixx@firemail.cc>
Date:   Sat, 26 Sep 2020 21:33:32 +0100

Changed mind, make both options available

Diffstat:
Mincludes/listing-content.php | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/includes/listing-content.php b/includes/listing-content.php @@ -17,9 +17,9 @@ echo '<div class="section numlist">'; echo '<span class="homesubmessage"><b>'; if ($page != 1) { - #$prev = $page - 1; - #echo '<a href="'.$curfile.'?page='.$prev.'">Previous</a> < '; - echo '<a href="'.$curfile.'">First</a> < '; + $prev = $page - 1; + echo '<a href="'.$curfile.'?page='.$prev.'">Previous</a> < '; + #echo '<a href="'.$curfile.'">First</a> < '; } $firstdotflag = 0; $lastdotflag = 0; @@ -39,9 +39,9 @@ } } if ($page != $totalpages) { - #$next = $page + 1; - #echo '> <a href="'.$curfile.'?page='.$next.'">Next</a>'; - echo '> <a href="'.$curfile.'?page='.$totalpages.'">Last</a>'; + $next = $page + 1; + echo '> <a href="'.$curfile.'?page='.$next.'">Next</a>'; + #echo '> <a href="'.$curfile.'?page='.$totalpages.'">Last</a>'; } echo '</b></span>'; echo '</div>';