- Timestamp:
- 2007/08/27 16:32:00 (17 years ago)
- Location:
- branches/feature-module-update/data/class/pages/products
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/products/LC_Page_Products_Detail.php
r15353 r15365 189 189 190 190 // サブタイトルを取得 191 $arrFirstCat = SC_Utils_Ex::sfGetFirstCat($arrRet[0]['category_id']);191 $arrFirstCat = $objDb->sfGetFirstCat($arrRet[0]['category_id']); 192 192 $this->tpl_subtitle = $arrFirstCat['name']; 193 193 -
branches/feature-module-update/data/class/pages/products/LC_Page_Products_DetailImage.php
r15154 r15365 39 39 $objView = new SC_SiteView(); 40 40 $objCartSess = new SC_CartSession("", false); 41 $objDb = new SC_Helper_DB_Ex(); 41 42 42 43 // 管理ページからの確認の場合は、非公開の商品も表示する。 43 if( $_GET['admin'] == 'on') {44 if(isset($_GET['admim']) && $_GET['admin'] == 'on') { 44 45 $where = "del_flg = 0"; 45 46 } else { … … 48 49 49 50 // 値の正当性チェック 50 if(!SC_Utils_Ex::sfIsInt($_GET['product_id']) || ! SC_Utils_Ex::sfIsRecord("dtb_products", "product_id", $_GET['product_id'], $where)) {51 if(!SC_Utils_Ex::sfIsInt($_GET['product_id']) || !$objDb->sfIsRecord("dtb_products", "product_id", $_GET['product_id'], $where)) { 51 52 SC_Utils_Ex::sfDispSiteError(PRODUCT_NOT_FOUND); 52 53 } -
branches/feature-module-update/data/class/pages/products/LC_Page_Products_List.php
r15354 r15365 73 73 74 74 // GETのカテゴリIDを元に正しいカテゴリIDを取得する。 75 $category_id = SC_Utils_Ex::sfGetCategoryId("", $_GET['category_id']);75 $category_id = $objDb->sfGetCategoryId("", $_GET['category_id']); 76 76 77 77 if (!isset($_GET['mode'])) $_GET['mode'] = ""; … … 86 86 $tpl_subtitle = "全商品"; 87 87 } else { 88 $arrFirstCat = SC_Utils_Ex::sfGetFirstCat($category_id);88 $arrFirstCat = $objDb->sfGetFirstCat($category_id); 89 89 $tpl_subtitle = $arrFirstCat['name']; 90 90 }
Note: See TracChangeset
for help on using the changeset viewer.