Episode 35
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 = 1;
$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
, 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 = 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";
?>
実践エピソード35
〜自分の『基盤』を強固なものとする〜
コーチング★商店主専門コーチング
経営者がぶれない自分の軸を作ることは
とても大切なことなのです。
ぶれることのない軸を作るために必要なこと。
それは、自分の『基盤』を強固なものとすることです。
自分の『基盤』
聞きなれない言葉だと思いますが
それを分解してご紹介していきましょう。
まず、仕事のことを考える前に
ご自身の生活を見直していただきたい。
毎朝、いつ起きているのか?
その目覚めは快適か?
1日を快活にスタートさせるために
毎朝、朝食を取っているか?…
1日の自分の行動を詳しく見つめなおしてみて下さい。
とても、基本的なことですが、
普段の生活のパターンを見つめなおすことは
自分の『基盤』を強固なものとする上で
とても大切なことなのです。
コーチングを商売に活かしてモチベーションアップを実現し、
業績アップさせたい方はこちらもお読みください。
コーチング★商店主専門コーチング