From f913edb9e34ef45ed09ac0c03ebacb268c7fbf2d Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 2 May 2013 22:09:22 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#122=20#123=20#1?= =?UTF-8?q?24=20#125=20#126=20#127=20#128=20=EC=83=81=ED=92=88=EC=83=81?= =?UTF-8?q?=EC=84=B8=EB=B3=B4=EA=B8=B0=20=ED=95=B4=EC=B2=B4=20=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/item.php | 184 +++++++++++++++++--------------------------------- 1 file changed, 63 insertions(+), 121 deletions(-) diff --git a/shop/item.php b/shop/item.php index 5a3ae0a59..523fcdce3 100644 --- a/shop/item.php +++ b/shop/item.php @@ -77,15 +77,12 @@ include G4_SHOP_PATH.'/navigation1.inc.php'; // 이 분류에 속한 하위분류 출력 include G4_SHOP_PATH.'/listcategory.inc.php'; -$himg = G4_DATA_PATH."/item/{$it_id}_h"; +$himg = G4_DATA_PATH.'/item/'.$it_id.'_h'; if (file_exists($himg)) - echo "
"; + echo '
'; // 상단 HTML -echo stripslashes($it['it_head_html']); - -if ($is_admin) - echo "

"; +echo '
'.stripslashes($it['it_head_html']).'
'; // 이전 상품보기 $sql = " select it_id, it_name from {$g4['shop_item_table']} @@ -96,11 +93,11 @@ $sql = " select it_id, it_name from {$g4['shop_item_table']} limit 1 "; $row = sql_fetch($sql); if ($row['it_id']) { - $prev_title = "[이전상품보기] {$row['it_name']}"; - $prev_href = ""; + $prev_title = '이전상품보기 '.$row['it_name']; + $prev_href = ''; } else { - $prev_title = "[이전상품없음]"; - $prev_href = ""; + $prev_title = '이전상품없음'; + $prev_href = ''; } // 다음 상품보기 @@ -112,11 +109,11 @@ $sql = " select it_id, it_name from {$g4['shop_item_table']} limit 1 "; $row = sql_fetch($sql); if ($row['it_id']) { - $next_title = "[다음상품보기] {$row['it_name']}"; - $next_href = ""; + $next_title = '다음상품보기 '.$row['it_name']; + $next_href = ''; } else { - $next_title = "[다음상품없음]"; - $next_href = ""; + $next_title = '다음상품없음'; + $next_href = ''; } // 관련상품의 갯수를 얻음 @@ -131,9 +128,6 @@ $item_relation_count = $row['cnt']; -
- - - - +
- - - -'> -'> - - - + + + + + - + + +상품 관리'; +?> + + +
-
- - -
- - - - - - - - - - - -
-
- "; - echo "  "; - } - } - ?> -
-
-
+ + "; + echo "  "; + } + } + ?> + + + + + +
- - - - - - @@ -313,12 +294,9 @@ else -
    · 고객선호도

+
- - - -
- + @@ -353,28 +331,21 @@ else } } + -
- - - + +
- - -
                    (0)                     (0)                     (0)
-
                    (0) + -
-