모바일쇼핑몰: 상품상세 이미지 없을 때 이미지 영역 노출 안되도록 수정2
This commit is contained in:
@ -24,23 +24,23 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
echo '<button type="button" id="sit_pvi_prev" class="sit_pvi_btn">이전</button>';
|
echo '<button type="button" id="sit_pvi_prev" class="sit_pvi_btn">이전</button>';
|
||||||
echo '<button type="button" id="sit_pvi_next" class="sit_pvi_btn">다음</button>';
|
echo '<button type="button" id="sit_pvi_next" class="sit_pvi_btn">다음</button>';
|
||||||
}
|
}
|
||||||
if(!$it['it_img'.$i])
|
if(!$it['it_img'.$i])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if($thumb_count == 0) echo '<ul id="sit_pvi_slide">';
|
if($thumb_count == 0) echo '<ul id="sit_pvi_slide">';
|
||||||
$thumb = get_it_thumbnail($it['it_img'.$i], 280, 280);
|
$thumb = get_it_thumbnail($it['it_img'.$i], 280, 280);
|
||||||
|
|
||||||
if(!$thumb)
|
if(!$thumb)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
echo '<li>';
|
echo '<li>';
|
||||||
echo '<a href="'.G5_SHOP_URL.'/largeimage.php?it_id='.$it['it_id'].'&no='.$i.'" class="popup_item_image slide_img" target="_blank">'.$thumb.'</a>';
|
echo '<a href="'.G5_SHOP_URL.'/largeimage.php?it_id='.$it['it_id'].'&no='.$i.'" class="popup_item_image slide_img" target="_blank">'.$thumb.'</a>';
|
||||||
echo '</li>';
|
echo '</li>';
|
||||||
|
|
||||||
$thumb_count++;
|
$thumb_count++;
|
||||||
}
|
}
|
||||||
if ($thumb_count > 0) echo '</ul></div>';
|
if ($thumb_count > 0) echo '</ul></div>';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<section id="sit_ov">
|
<section id="sit_ov">
|
||||||
<h2>상품간략정보 및 구매기능</h2>
|
<h2>상품간략정보 및 구매기능</h2>
|
||||||
|
|||||||
Reference in New Issue
Block a user