From c4e8b73845162fecdef60f2f759dcb3b4a52421f Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 31 Jan 2013 15:25:12 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EC=8D=B8=EB=84=A4=EC=9D=BC=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=20=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/itemsellrank.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/adm/shop_admin/itemsellrank.php b/adm/shop_admin/itemsellrank.php index e5429b8f0..8ff2cf002 100644 --- a/adm/shop_admin/itemsellrank.php +++ b/adm/shop_admin/itemsellrank.php @@ -112,20 +112,10 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) $list = $i%2; - // 리스트 썸네일 이미지 - $filepath = G4_DATA_PATH.'/item/'.$row['it_id']; - for($k=1; $k<=10; $k++) { - $idx = 'it_img'.$k; - if(file_exists($filepath.'/'.$row[$idx]) && is_file($filepath.'/'.$row[$idx])) { - $filename = $row[$idx]; - break; - } - } - echo " $num - ".get_it_image($row['it_id'], $filename, 50, 50)." + ".get_it_image($row['it_id'], 50, 50)." ".cut_str($row[it_name],30)." $row[ct_status_1] $row[ct_status_2] From 119a3b0e61fedb5359f5abb91f4e74c867ee3828 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 31 Jan 2013 15:25:25 +0900 Subject: [PATCH 2/2] =?UTF-8?q?G4=20=EA=B2=BD=EB=A1=9C=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/cartoption.php | 10 ++++----- shop/itemrecommend.php | 46 +++++++++++++++++++------------------- shop/itemrecommendmail.php | 20 ++++++++--------- 3 files changed, 38 insertions(+), 38 deletions(-) diff --git a/shop/cartoption.php b/shop/cartoption.php index 120b14dd0..1d4beeffa 100644 --- a/shop/cartoption.php +++ b/shop/cartoption.php @@ -41,7 +41,7 @@ if(!$ct_count) { } $g4['title'] = '선택사항/수량 변경'; -include_once ($g4['path'].'/head.sub.php'); +include_once (G4_PATH.'/head.sub.php'); ?>