Version of script: 1.41
Hi there,
If you wish to have a page jump function with your gbook, try this.
find inside gbook.php (unmodified version 1.41, line 182) this code:
and replace it with this code:echo '</p>
a working example can be viewed at the url situated at the top of this thread.$next = $page+1;
if($next >= $pages) $next = $pages;
$previous = $page-1;
if($previous <= 1) $previous = 1;
echo '</p>
<p>
<a href=gbook.php?page=1 title=" First "><< First</a> |
<a href=gbook.php?page='.$previous.' title=" Page '.$previous.' ">< Prev</a> |
<a href=gbook.php?page='.$next.' title=" Page '.$next.' ">Next ></a> |
<a href=gbook.php?page='.$pages.' title=" Last ">Last >></a>
</p>