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)