MENU
カメちゃんのお出かけ帳

チームマイナス6パーセント

かめちゃんのBlog

« June 2005 | メイン | August 2005 »

4) $paginate_current_page = 4; $paginate_sections = array( 0 , 5, 10, 15, 16); $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 = 16; } $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); $paginate_self = basename($_SERVER['PHP_SELF']) . "?${paginate_self}page"; ?>