HOME - おしらせ - 2009年分のおしらせ

おしらせ

2009年分のおしらせ

The MTPaginate tag only works within PHP documents!
Make sure that the document extension is .php and that your server supports PHP documents.
16) $paginate_current_page = 16; $paginate_sections = array( 0 , 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 158); $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 = 158; } if(isset($_SERVER['QUERY_STRING'])) { $paginate_self = '&' . $_SERVER['QUERY_STRING'] . '&'; $paginate_self = preg_replace("/&page=[^&]*&/", "&", $paginate_self); $paginate_self = preg_replace("/&page_section=[^&]*&/", "&", $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"; ?> 1 && $paginate_current_page < 16) : ?>

全部読む | "; } for($i = 1; $i <= 16; $i++) { if($i > 1) echo ' | '; if($i == $paginate_current_page) { echo sprintf(" %d ", $i); } else { echo " %d ', $i) . ''; } } ?>