»" * */ function pageList($curpage, $pages, $albid) { //Pagination $site_url = get_bloginfo('url'); $page_list = ""; if ($search != '') { $self = '?page_id=' . get_query_var('page_id'); } else { $self = '?page_id=' . get_query_var('page_id'); } if (($curpage - 1) > 0) { $page_list .= " "; } /* Print the Next and Last page links if necessary */ if (($curpage + 1) <= $pages) { $page_list .= " "; } $page_list .= "\n"; return $page_list; } /* * string nextPrev (int curpage, int pages) * Returns "Previous | Next" string for individual pagination (it's a word!) */ function nextPrev($curpage, $pages) { //Pagination $next_prev = ""; if (($curpage - 1) <= 0) { $next_prev .= "Previous"; } else { $next_prev .= "Previous"; } $next_prev .= " | "; if (($curpage + 1) > $pages) { $next_prev .= "Next"; } else { $next_prev .= "Next"; } return $next_prev; } //End of Pagination ; ?>