From 260381451e68bf834e09ca8031835a7309284879 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 21 Mar 2013 14:43:01 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=BD=EB=A1=9C=EA=B4=80=EB=A0=A8=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/item.php | 8 ++++---- shop/itemuse.inc.php | 2 +- shop/largeimage.php | 3 ++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/shop/item.php b/shop/item.php index 9ed998b25..409f171b4 100644 --- a/shop/item.php +++ b/shop/item.php @@ -54,7 +54,7 @@ if (!($it['ca_use'] && $it['it_use'])) { // 분류 테이블에서 분류 상단, 하단 코드를 얻음 $sql = " select ca_include_head, ca_include_tail - from $g4['yc4_category_table'] + from {$g4['yc4_category_table']} where ca_id = '{$it['ca_id']}' "; $ca = sql_fetch($sql); @@ -132,7 +132,7 @@ $item_relation_count = $row['cnt']; - + @@ -751,7 +751,7 @@ echo stripslashes($it['it_tail_html']); $timg = G4_DATA_PATH."/item/{$it_id}_t"; if (file_exists($timg)) - echo "
"; + echo "
"; if ($ca['ca_include_tail']) @include_once($ca['ca_include_tail']); diff --git a/shop/itemuse.inc.php b/shop/itemuse.inc.php index 073491ebf..3228aca7d 100644 --- a/shop/itemuse.inc.php +++ b/shop/itemuse.inc.php @@ -42,7 +42,7 @@ include_once(G4_LIB_PATH.'/thumb.lib.php'); for ($i=0; $row=sql_fetch_array($result); $i++) { if ($i > 0) - echo ""; + echo ""; $num = $use_total_count - ($use_page - 1) * $use_page_rows - $i; diff --git a/shop/largeimage.php b/shop/largeimage.php index 8357816ba..1f794bacb 100644 --- a/shop/largeimage.php +++ b/shop/largeimage.php @@ -5,6 +5,7 @@ $sql = " select it_name from {$g4['yc4_item_table']} where it_id='$it_id' "; $row = sql_fetch_array(sql_query($sql)); $imagefile = G4_DATA_PATH."/item/$img"; +$imagefileurl = G4_DATA_URL."/item/$img"; $size = getimagesize($imagefile); $g4['title'] = "{$row['it_name']} ($it_id)"; @@ -12,7 +13,7 @@ include_once(G4_PATH.'/head.sub.php'); ?>
- <?=$row[' border=0 style='border:1 solid #E4E4E4;'> + <?=$row[' border=0 style='border:1 solid #E4E4E4;'>

                    (0)                    (0)                     (0)