Found something awesome? This is the place to post it. If your submission makes the
front page, you'll be credited with the find and entered to win some gear. Read more.
Browse  Latest  |  Most Popular  |  Most Saved View  Full  |  List  |  Grid
0) $paginate_current_page = 0; $paginate_sections = array( 0 ); $paginate_top_section = $paginate_sections[$paginate_current_page-1]+1; $paginate_bottom_section = $paginate_sections[$paginate_current_page]; } else { $paginate_top_section = 1; $paginate_bottom_section = 0; } if(isset($_SERVER['QUERY_STRING'])) { $paginate_self = '&' . $_SERVER['QUERY_STRING'] . '&'; $paginate_self = preg_replace("/&page=[^&]*&/", "&", $paginate_self); $paginate_self = substr($paginate_self, 1, strlen($paginate_self) - 1); if($paginate_self == '&') $paginate_self = ''; else $paginate_self = htmlentities($paginate_self); } else { $paginate_self = ''; } $paginate_self = basename($_SERVER['PHP_SELF']) . "?${paginate_self}page"; ?>