カテゴリーリスト
MovableType
- インストール編 [13]
2006:08:23:10:43:04
- テンプレート編 [7]
2007:01:21:18:37:06
- 番外編 [2]
2006:10:21:18:46:59
-
- お知らせ [68]
2010:08:08:16:47:15
アンティーク [5]
2008:02:02:21:29:41
- 修理道具 [2]
2007:01:10:21:10:33
- 古時計 [3]
2006:10:23:20:36:16
- 椅子 [8]
2007:12:29:22:15:36
- 用語 [2]
2006:10:29:21:58:52
コーヒー辞典
あ行一覧
か行一覧 [1]
2007:03:15:20:42:38
- か行 [5]
2007:04:11:21:26:54
は行一覧
- は行 [1]
2007:04:19:23:51:22
マイガーデン
- ガーデン日記 [15]
2006:10:27:09:32:07
- セリンセ [3]
2006:10:28:21:33:12
- 日記 [78]
2010:01:04:10:01:44
エントリーリスト
最近のトラックバック
- 九州 宮崎
from 瀬戸物屋の独り言… 08/29 16:22
サイト内検索
月別エントリーの一覧
リンク
タグクラウド終了 -->
メイン
アーカイブ
// Values that can be used in other PHP code on the page
$paginate_num_pages = 3;
$paginate_num_sections = 244;
$paginate_page_selector = 'page';
$paginate_current_page = @$_GET['page'];
// Pin page selector to a valid number (or 'all')
if($paginate_current_page=='')
$paginate_current_page = '1';
if($paginate_current_page != 'all') {
if($paginate_current_page == 'first')
$paginate_current_page = 1;
elseif($paginate_current_page == 'last')
$paginate_current_page = 3;
elseif($paginate_current_page < 1)
$paginate_current_page = 1;
elseif($paginate_current_page > 3)
$paginate_current_page = 3;
$paginate_sections = array( 0
, 100, 200, 244);
$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 = 244;
}
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";
?>
Copyright ©2006-2010 2006-2010 GardenCafe イの葉