diff --git a/shop/list.skin.10.php b/shop/list.skin.10.php index c71cff164..7f6f2dbb3 100644 --- a/shop/list.skin.10.php +++ b/shop/list.skin.10.php @@ -14,11 +14,22 @@ for ($i=0; $row=sql_fetch_array($result); $i++) echo "\n"; } + // 리스트 썸네일 이미지 + $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; + } + } + $it_img = it_img_thumb($filename, G4_DATA_PATH.'/item/'.$row['it_id'], $img_width, $img_height); + echo "
- + "; if ($row[it_cust_amount] && !$row[it_gallery])
".get_it_image($row[it_id]."_s", $img_width , $img_height, $row[it_id])."
".get_it_image($row['it_id'].'/'.$it_img, $img_width , $img_height, $row[it_id])."
".it_name_icon($row)."