Changeset 19903 for branches/version-2_5-dev/data
- Timestamp:
- 2011/01/13 14:46:07 (13 years ago)
- Location:
- branches/version-2_5-dev/data
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/Smarty/templates/mobile/frontparts/bloc/best5.tpl
r19833 r19903 34 34 <!--{/foreach}--> 35 35 </center> 36 <hr> 37 <br> 36 38 <!--{/if}--> -
branches/version-2_5-dev/data/Smarty/templates/mobile/index.tpl
r19853 r19903 33 33 34 34 <br> 35 <hr> 35 36 36 37 <!-- ▼ピックアップ商品 ここから --> 37 <hr>38 38 <!--{include_php file=`$smarty.const.MOBILE_HTML_REALDIR`frontparts/bloc/best5.php}--> 39 <hr>40 39 <!-- ▲ピックアップ商品 ここまで --> 41 42 <br>43 40 44 41 <!-- ▼メニュー ここから --> -
branches/version-2_5-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Best5.php
r19805 r19903 30 30 * @package Page 31 31 * @author LOCKON CO.,LTD. 32 * @version $Id :LC_Page_FrontParts_Bloc_Best5.php 15532 2007-08-31 14:39:46Z nanasess$32 * @version $Id$ 33 33 */ 34 34 class LC_Page_FrontParts_Bloc_Best5 extends LC_Page_FrontParts_Bloc { … … 73 73 74 74 /** 75 * モバイルページを初期化する.76 *77 * @return void78 */79 function mobileInit() {80 $this->init();81 }82 83 /**84 * Page のプロセス(モバイル).85 *86 * @return void87 */88 function mobileProcess() {89 $this->process();90 }91 92 /**93 75 * デストラクタ. 94 76 * -
branches/version-2_5-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Category.php
r19807 r19903 30 30 * @package Page 31 31 * @author LOCKON CO.,LTD. 32 * @version $Id :LC_Page_FrontParts_Bloc_Category.php 15532 2007-08-31 14:39:46Z nanasess$32 * @version $Id$ 33 33 */ 34 34 class LC_Page_FrontParts_Bloc_Category extends LC_Page_FrontParts_Bloc { … … 63 63 */ 64 64 function action() { 65 $objDb = new SC_Helper_DB_Ex(); 65 if(Net_UserAgent_Mobile::isMobile() === true) { 66 $this->lfGetMainCat(true, $this); 67 } else { 68 $objDb = new SC_Helper_DB_Ex(); 66 69 67 // 選択中のカテゴリIDを判定する68 $arrCategory_id = $objDb->sfGetCategoryId($_GET['product_id'], $_GET['category_id']);70 // 選択中のカテゴリIDを判定する 71 $arrCategory_id = $objDb->sfGetCategoryId($_GET['product_id'], $_GET['category_id']); 69 72 70 // 選択中のカテゴリID 71 $this->tpl_category_id = empty($arrCategory_id) ? array(0) : $arrCategory_id;; 72 $this->lfGetCatTree($this->tpl_category_id, true, $this); 73 } 74 75 /** 76 * モバイルページを初期化する. 77 * 78 * @return void 79 */ 80 function mobileInit() { 81 $this->tpl_mainpage = MOBILE_TEMPLATE_REALDIR . "frontparts/" 82 . BLOC_DIR . 'category.tpl'; 83 } 84 85 /** 86 * Page のプロセス(モバイル). 87 * 88 * @return void 89 */ 90 function mobileProcess() { 91 $objSubView = new SC_MobileView(); 92 93 $this->lfGetMainCat(true, $this); 94 95 $objSubView->assignobj($this); 96 $objSubView->display($this->tpl_mainpage); 73 // 選択中のカテゴリID 74 $this->tpl_category_id = empty($arrCategory_id) ? array(0) : $arrCategory_id;; 75 $this->lfGetCatTree($this->tpl_category_id, true, $this); 76 } 97 77 } 98 78 -
branches/version-2_5-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_News.php
r19805 r19903 30 30 * @package Page 31 31 * @author LOCKON CO.,LTD. 32 * @version $Id :LC_Page_FrontParts_Bloc_News.php 15532 2007-08-31 14:39:46Z nanasess$32 * @version $Id$ 33 33 */ 34 34 class LC_Page_FrontParts_Bloc_News extends LC_Page_FrontParts_Bloc { … … 66 66 } 67 67 68 69 /**70 * モバイルページを初期化する.71 *72 * @return void73 */74 function mobileInit() {75 $this->init();76 }77 78 /**79 * Page のプロセス(モバイル).80 *81 * @return void82 */83 function mobileProcess() {84 $this->process();85 }86 87 68 /** 88 69 * デストラクタ.
Note: See TracChangeset
for help on using the changeset viewer.