- Timestamp:
- 2007/07/20 15:58:59 (17 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update
-
Property
svn:ignore
set to
.cache
.settings
.projectOptions
-
Property
svn:ignore
set to
-
branches/feature-module-update/html/mobile/mypage/history.php
r12157 r15078 15 15 function LC_Page() { 16 16 $this->tpl_mainpage = 'mypage/history.tpl'; 17 $this->tpl_title = 'MY ¥Ú¡¼¥¸/¹ØÆþÍúÎò°ìÍ÷';17 $this->tpl_title = 'MYページ/購入履歴一覧'; 18 18 session_cache_limiter('private-no-expire'); 19 19 } … … 28 28 $pageNo = isset($_GET['pageno']) ? $_GET['pageno'] : 0; 29 29 30 // ¥ì¥¤¥¢¥¦¥È¥Ç¥¶¥¤¥ó¤ò¼èÆÀ30 // レイアウトデザインを取得 31 31 $objPage = sfGetPageLayout($objPage, false, "mypage/index.php"); 32 32 33 // ¥í¥°¥¤¥ó¥Á¥§¥Ã¥¯33 // ログインチェック 34 34 if(!isset($_SESSION['customer'])) { 35 35 sfDispSiteError(CUSTOMER_ERROR, "", false, "", true); … … 45 45 $objPage->tpl_linemax = $linemax; 46 46 47 // ¼èÆÀÈϰϤλØÄê(³«»Ï¹ÔÈֹ桢¹Ô¿ô¤Î¥»¥Ã¥È)47 // 取得範囲の指定(開始行番号、行数のセット) 48 48 $objQuery->setlimitoffset(HISTORY_NUM, $pageNo); 49 // ɽ¼¨½ç½ø49 // 表示順序 50 50 $objQuery->setorder($order); 51 51 52 // ¹ØÆþÍúÎò¤Î¼èÆÀ52 //購入履歴の取得 53 53 $objPage->arrOrder = $objQuery->select($col, $from, $where, $arrval); 54 54 55 55 // next 56 56 if ($pageNo + HISTORY_NUM < $linemax) { 57 $next = "<a href='history.php?pageno=" . ($pageNo + HISTORY_NUM) . "'> ¼¡¤Ø¢ª</a>";57 $next = "<a href='history.php?pageno=" . ($pageNo + HISTORY_NUM) . "'>次へ→</a>"; 58 58 } else { 59 59 $next = ""; … … 62 62 // previous 63 63 if ($pageNo - HISTORY_NUM > 0) { 64 $previous = "<a href='history.php?pageno=" . ($pageNo - HISTORY_NUM) . "'> ¢«Á°¤Ø</a>";64 $previous = "<a href='history.php?pageno=" . ($pageNo - HISTORY_NUM) . "'>←前へ</a>"; 65 65 } elseif ($pageNo == 0) { 66 66 $previous = ""; 67 67 } else { 68 $previous = "<a href='history.php?pageno=0'> ¢«Á°¤Ø</a>";68 $previous = "<a href='history.php?pageno=0'>←前へ</a>"; 69 69 } 70 70 … … 77 77 78 78 $objPage->tpl_strnavi = $previous . $bar . $next; 79 $objView->assignobj($objPage); //$objpage Æâ¤ÎÁ´¤Æ¤Î¥Æ¥ó¥×¥ì¡¼¥ÈÊÑ¿ô¤òsmarty¤Ë³ÊǼ80 $objView->display(SITE_FRAME); // ¥Ñ¥¹¤È¥Æ¥ó¥×¥ì¡¼¥ÈÊÑ¿ô¤Î¸Æ¤Ó½Ð¤·¡¢¼Â¹Ô79 $objView->assignobj($objPage); //$objpage内の全てのテンプレート変数をsmartyに格納 80 $objView->display(SITE_FRAME); //パスとテンプレート変数の呼び出し、実行 81 81 ?>
Note: See TracChangeset
for help on using the changeset viewer.