Hi,
Here is the idea. Sometimes when we display so many records to some pages, then the pagelinks in the bottom of page can not display link to the first and the last page, whereas we need jump quickly to the last or first page without click the arrow link.
So I made a modification for adding First and Last link in PageLinks.
Open \include\class.pagenate.php, FIND:
$html .= "\n<a href=\"$file&p=$lastspan\" ><strong>«</strong></a>";
REPLACE WITH:
$html .= "\n<a href=\"$file&p=1\"><b>First</b></a> <a href=\"$file&p=$lastspan\" ><strong>«</strong></a>";
FIND:
$html .= "\n<a href=\"$file&p=$nextspan\" ><strong>»</strong></a>";
REPLACE WITH:
$html .= "\n<a href=\"$file&p=$nextspan\" ><strong>»</strong></a> <a href=\"$file&p=$total_pages\"><b>Last</b></a>";
Cheers!
Best regards,
Masino Sinaga