This will add the ability to let your pagination be in the form of: Page 1 of 3.
Automatically Generated, be sure to be very precise on tabs and spaces.
Add this:
// Current/Total Pagination v1.0 - addblock
$prev_next_msg = str_replace('{total-pages}', $pages_count, $prev_next_msg);
$prev_next_msg = str_replace('{current-page}', $start_from / $number + 1, $prev_next_msg);
// Current/Total Pagination v1.0 - End addblock
Between:
$prev_next_msg = str_replace("{pages}", $pages, $prev_next_msg);
And:
}
Now you can use {current-page} and {total-pages} in your prev/next template.