가격비교 사이트 이미지 url 함수 수정

This commit is contained in:
chicpro
2013-06-21 15:31:12 +09:00
parent e7acf7a6ed
commit 6de29a3a14
14 changed files with 34 additions and 95 deletions

View File

@ -38,12 +38,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) {
}
// 상품이미지
$img_url = '';
for($k=1; $k<=10; $k++) {
$img_url = get_it_imageurl($row['it_img'.$k], $default['de_mimg_width'], $default['de_mimg_height']);
if($img_url)
break;
}
$img_url = get_it_imageurl($row['it_id']);
$str .= $nl;
$str .= $row['it_id']; // 상품ID