diff --git a/mobile/shop/item.php b/mobile/shop/item.php index b7c911902..606d4030a 100644 --- a/mobile/shop/item.php +++ b/mobile/shop/item.php @@ -130,6 +130,16 @@ if ($row['it_id']) { $next_href2 = ''; } +// 관리자가 확인한 사용후기의 갯수를 얻음 +$sql = " select count(*) as cnt from `{$g4['shop_item_use_table']}` where it_id = '{$it_id}' and is_confirm = '1' "; +$row = sql_fetch($sql); +$item_use_count = $row['cnt']; + +// 상품문의의 갯수를 얻음 +$sql = " select count(*) as cnt from `{$g4['shop_item_qa_table']}` where it_id = '{$it_id}' "; +$row = sql_fetch($sql); +$item_qa_count = $row['cnt']; + // 관련상품의 갯수를 얻음 $sql = " select count(*) as cnt from {$g4['shop_item_relation_table']} a @@ -139,20 +149,6 @@ $row = sql_fetch($sql); $item_relation_count = $row['cnt']; ?> - - - - @@ -517,7 +513,7 @@ else

상품 정보

- +
@@ -565,7 +561,7 @@ else

사용후기

- +