このサイトについて
The MTPaginate tag only works within PHP documents!
Make sure that the document extension is .php and that your server supports PHP documents.
// Values that can be used in other PHP code on the page
$paginate_num_pages = 1;
$paginate_num_sections = 4;
$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 = 1;
elseif($paginate_current_page < 1)
$paginate_current_page = 1;
elseif($paginate_current_page > 1)
$paginate_current_page = 1;
$paginate_sections = array( 0
, 4);
$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 = 4;
}
$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";
?>
Make sure that the document extension is .php and that your server supports PHP documents.
このサイトの目的
2004年06月01日
基本的には自分の頭の中を整理し、忘れてしまいがちな情報を書き留めておくことなどがこのページの主な目的です。そのため内容も僕の頭の中同様、グチャクチャです。なので、目的といってもいろいろと曖昧な部分が多く、試行錯誤を繰り返している最中です。とはいえまったく目的が曖昧というのもこの先困りそうなので、現時点で思いつく限りのポイントをまとめてみました。
続きを読んでみる…管理人について
2004年06月01日
僕のプロフィールや好きなものなどをまとめてみました。ウェブで公開するほどの事は何も無いのですが、一応自己紹介もかねて、ここに書き記しておきます。ご質問などは気軽にメールでご連絡ください。
続きを読んでみる…リンクについて
2004年01月01日
このサイトはリンクフリーです。トップページだけでなく個別ページへ直接リンクを貼っていただいてもかまいません。なおリンクのポリシーに関しては東北大学の後藤先生のページを参考にさせていただいております。
