- Timestamp:
- 2007/07/20 15:58:59 (17 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 3 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/frontparts/bloc/best5.php
r12157 r15078 7 7 class LC_Best5Page { 8 8 function LC_Best5Page() { 9 /** ɬ¤ºÊѹ¹¤¹¤ë**/10 $this->tpl_mainpage = 'frontparts/bloc/best5.tpl'; // ¥á¥¤¥ó9 /** 必ず変更する **/ 10 $this->tpl_mainpage = 'frontparts/bloc/best5.tpl'; // メイン 11 11 } 12 12 } … … 16 16 $objSiteInfo = $objView->objSiteInfo; 17 17 18 // ´ðËܾðÊó¤òÅϤ¹18 // 基本情報を渡す 19 19 $objSiteInfo = new SC_SiteInfo(); 20 20 $objSubPage->arrInfo = $objSiteInfo->data; 21 21 22 // ¤ª¤¹¤¹¤á¾¦ÉÊɽ¼¨22 //おすすめ商品表示 23 23 $objSubPage->arrBestProducts = lfGetRanking(); 24 24 … … 26 26 $objSubView->display($objSubPage->tpl_mainpage); 27 27 //----------------------------------------------------------------------------------------------------------------------------------- 28 // ¤ª¤¹¤¹¤á¾¦Éʸ¡º÷28 //おすすめ商品検索 29 29 function lfGetRanking(){ 30 30 $objQuery = new SC_Query(); -
branches/feature-module-update/html/mobile/frontparts/bloc/category.php
r12157 r15078 6 6 * http://www.lockon.co.jp/ 7 7 * 8 * ¥â¥Ð¥¤¥ë¥µ¥¤¥È/¥á¥¤¥ó¥«¥Æ¥´¥ê¡¼8 * モバイルサイト/メインカテゴリー 9 9 */ 10 10 11 11 class LC_CatPage { 12 12 function LC_CatPage() { 13 /** ɬ¤ºÊѹ¹¤¹¤ë**/14 $this->tpl_mainpage = 'frontparts/bloc/category.tpl'; // ¥á¥¤¥ó¥Æ¥ó¥×¥ì¡¼¥È13 /** 必ず変更する **/ 14 $this->tpl_mainpage = 'frontparts/bloc/category.tpl'; // メインテンプレート 15 15 } 16 16 } … … 26 26 //----------------------------------------------------------------------------------------------------------------------------------- 27 27 28 // ¥á¥¤¥ó¥«¥Æ¥´¥ê¡¼¤Î¼èÆÀ28 // メインカテゴリーの取得 29 29 function lfGetMainCat($count_check = false, $objSubPage) { 30 30 $objQuery = new SC_Query(); 31 31 $col = "*"; 32 32 $from = "dtb_category left join dtb_category_total_count using (category_id)"; 33 // ¥á¥¤¥ó¥«¥Æ¥´¥ê¡¼¤È¤½¤Îľ²¼¤Î¥«¥Æ¥´¥ê¡¼¤ò¼èÆÀ¤¹¤ë¡£33 // メインカテゴリーとその直下のカテゴリーを取得する。 34 34 $where = 'level <= 2 AND del_flg = 0'; 35 // ÅÐÏ¿¾¦ÉÊ¿ô¤Î¥Á¥§¥Ã¥¯35 // 登録商品数のチェック 36 36 if($count_check) { 37 37 $where .= " AND product_count > 0"; … … 40 40 $arrRet = $objQuery->select($col, $from, $where); 41 41 42 // ¥á¥¤¥ó¥«¥Æ¥´¥ê¡¼¤òÃê½Ð¤¹¤ë¡£42 // メインカテゴリーを抽出する。 43 43 $arrMainCat = array(); 44 44 foreach ($arrRet as $cat) { … … 47 47 } 48 48 49 // »Ò¥«¥Æ¥´¥ê¡¼¤ò»ý¤Ä¤«¤É¤¦¤«¤òÄ´¤Ù¤ë¡£49 // 子カテゴリーを持つかどうかを調べる。 50 50 $arrChildrenID = sfGetUnderChildrenArray($arrRet, 'parent_category_id', 'category_id', $cat['category_id']); 51 51 $cat['has_children'] = count($arrChildrenID) > 0; -
branches/feature-module-update/html/mobile/frontparts/bloc/news.php
r12157 r15078 7 7 class LC_NewsPage { 8 8 function LC_NewsPage() { 9 /** ɬ¤ºÊѹ¹¤¹¤ë**/10 $this->tpl_mainpage = 'frontparts/bloc/news.tpl'; // ¥á¥¤¥ó9 /** 必ず変更する **/ 10 $this->tpl_mainpage = 'frontparts/bloc/news.tpl'; // メイン 11 11 } 12 12 } … … 15 15 $objSubView = new SC_MobileView(); 16 16 17 // ¿·Ãå¾ðÊó¼èÆÀ17 //新着情報取得 18 18 $objSubPage->arrNews = lfGetNews(); 19 19
Note: See TracChangeset
for help on using the changeset viewer.