9) $paginate_current_page = 9; $paginate_sections = array( 0 , 4, 8, 12, 16, 20, 24, 28, 32, 34); $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 = 34; } $paginate_self = '&' . $_SERVER['QUERY_STRING'] . '&'; $paginate_self = preg_replace("/&page=[^&]*&/", "&", $paginate_self); $paginate_self = substr($paginate_self, 0, strlen($paginate_self) - 1); if($paginate_self == '&') $paginate_self = ''; $paginate_self = basename($_SERVER['PHP_SELF']) . "?${paginate_self}page"; ?>
All Pages |  1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9 
前のページへ次のページへ
All Pages |  1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9