2007年8月のエントリー
The MTPaginate tag only works within PHP documents!
Make sure that the document extension is .php and that your server supports PHP documents.
1)
$paginate_current_page = 1;
$paginate_sections = array( 0
, 1);
$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 = 1;
}
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";
?>
Sun
26
category:旅行
2007.08.26
トンガ滞在も1ヶ月を越えた。毎週現地で出迎えるゲストリピーターの中には、和食や和菓子などのおみやげの他に、僕が不在中に自宅に遊びに来てくれたときの家族ビデオや写真をおみやげに持ってきてくれる人もいる。