diff --git a/lib/shop.lib.php b/lib/shop.lib.php
index 2d64305ab..5f9d12fff 100644
--- a/lib/shop.lib.php
+++ b/lib/shop.lib.php
@@ -705,6 +705,34 @@ function display_relation_item($it_id, $width, $height, $rows=3)
return $str;
}
+
+// 상품이미지에 유형 아이콘 출력
+function display_item_icon($it)
+{
+ $icon = '';
+
+ if($it['it_gallery'] || $it['it_type1'] || $it['it_type2'] || $it['it_type3'] || $it['it_type4'] || $it['it_type5']) {
+ if($it['it_gallery']) // sold out
+ $icon .= '
';
+
+ if($it['it_type1'])
+ $icon .= '
';
+
+ if($it['it_type2'])
+ $icon .= '
';
+
+ if($it['it_type3'])
+ $icon .= '
';
+
+ if($it['it_type4'])
+ $icon .= '
';
+
+ if($it['it_type5'])
+ $icon .= '
';
+ }
+
+ return $icon;
+}
//==============================================================================
// 쇼핑몰 함수 모음 끝
//==============================================================================
diff --git a/shop/maintype10.inc.php b/shop/maintype10.inc.php
index 2f2ef97cf..d4311bf62 100644
--- a/shop/maintype10.inc.php
+++ b/shop/maintype10.inc.php
@@ -21,6 +21,9 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
+
0) echo '';