\n"; if ($offset > 0) { $new_offset = $offset - $n; echo "Last $n | "; } $new_offset = $offset + $n; echo "Next $n"; page_tail(); ?>