Index: /branches/feature-module-update/data/class/pages/products/LC_Page_Products_Detail.php
===================================================================
--- /branches/feature-module-update/data/class/pages/products/LC_Page_Products_Detail.php	(revision 15353)
+++ /branches/feature-module-update/data/class/pages/products/LC_Page_Products_Detail.php	(revision 15365)
@@ -189,5 +189,5 @@
 
         // サブタイトルを取得
-        $arrFirstCat = SC_Utils_Ex::sfGetFirstCat($arrRet[0]['category_id']);
+        $arrFirstCat = $objDb->sfGetFirstCat($arrRet[0]['category_id']);
         $this->tpl_subtitle = $arrFirstCat['name'];
 
Index: /branches/feature-module-update/data/class/pages/products/LC_Page_Products_DetailImage.php
===================================================================
--- /branches/feature-module-update/data/class/pages/products/LC_Page_Products_DetailImage.php	(revision 15154)
+++ /branches/feature-module-update/data/class/pages/products/LC_Page_Products_DetailImage.php	(revision 15365)
@@ -39,7 +39,8 @@
         $objView = new SC_SiteView();
         $objCartSess = new SC_CartSession("", false);
+        $objDb = new SC_Helper_DB_Ex();
 
         // 管理ページからの確認の場合は、非公開の商品も表示する。
-        if($_GET['admin'] == 'on') {
+        if(isset($_GET['admim']) && $_GET['admin'] == 'on') {
             $where = "del_flg = 0";
         } else {
@@ -48,5 +49,5 @@
 
         // 値の正当性チェック
-        if(!SC_Utils_Ex::sfIsInt($_GET['product_id']) || !SC_Utils_Ex::sfIsRecord("dtb_products", "product_id", $_GET['product_id'], $where)) {
+        if(!SC_Utils_Ex::sfIsInt($_GET['product_id']) || !$objDb->sfIsRecord("dtb_products", "product_id", $_GET['product_id'], $where)) {
             SC_Utils_Ex::sfDispSiteError(PRODUCT_NOT_FOUND);
         }
Index: /branches/feature-module-update/data/class/pages/products/LC_Page_Products_List.php
===================================================================
--- /branches/feature-module-update/data/class/pages/products/LC_Page_Products_List.php	(revision 15354)
+++ /branches/feature-module-update/data/class/pages/products/LC_Page_Products_List.php	(revision 15365)
@@ -73,5 +73,5 @@
 
         // GETのカテゴリIDを元に正しいカテゴリIDを取得する。
-        $category_id = SC_Utils_Ex::sfGetCategoryId("", $_GET['category_id']);
+        $category_id = $objDb->sfGetCategoryId("", $_GET['category_id']);
 
         if (!isset($_GET['mode'])) $_GET['mode'] = "";
@@ -86,5 +86,5 @@
             $tpl_subtitle = "全商品";
         } else {
-            $arrFirstCat = SC_Utils_Ex::sfGetFirstCat($category_id);
+            $arrFirstCat = $objDb->sfGetFirstCat($category_id);
             $tpl_subtitle = $arrFirstCat['name'];
         }
