Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
chicpro
2013-05-02 13:37:57 +09:00
2 changed files with 16 additions and 16 deletions

View File

@ -713,22 +713,22 @@ function display_item_icon($it)
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 .= '<img src="'.G4_URL.'/img/shop/icon_soldout.gif" alt="" class="sct_icon_so">';
$icon .= '<img src="'.G4_URL.'/img/shop/icon_soldout.gif" alt="품절" class="sct_icon_so">';
if($it['it_type3'])
$icon .= '<img src="'.G4_URL.'/img/shop/icon_new.gif" alt="" class="sct_icon_hit">';
$icon .= '<img src="'.G4_URL.'/img/shop/icon_new.gif" alt="신상품" class="sct_icon_new">';
if($it['it_type1'])
$icon .= '<img src="'.G4_URL.'/img/shop/icon_hit.gif" alt="" class="sct_icon_hit">';
$icon .= '<img src="'.G4_URL.'/img/shop/icon_hit.gif" alt="히트" class="sct_icon_hit">';
if($it['it_type2'])
$icon .= '<img src="'.G4_URL.'/img/shop/icon_rec.gif" alt="" class="sct_icon_rec">';
$icon .= '<img src="'.G4_URL.'/img/shop/icon_rec.gif" alt="추천" class="sct_icon_rec">';
if($it['it_type4'])
$icon .= '<img src="'.G4_URL.'/img/shop/icon_best.gif" alt="" class="sct_icon_best">';
$icon .= '<img src="'.G4_URL.'/img/shop/icon_best.gif" alt="인기" class="sct_icon_best">';
if($it['it_type5'])
$icon .= '<img src="'.G4_URL.'/img/shop/icon_discount.gif" alt="" class="sct_icon_discount">';
$icon .= '<img src="'.G4_URL.'/img/shop/icon_discount.gif" alt="할인" class="sct_icon_discount">';
}
return $icon;

View File

@ -14,10 +14,10 @@ include_once(G4_SHOP_PATH.'/shop.head.php');
<img src="<?php echo G4_DATA_URL; ?>/common/main_img" alt="">
</div>
<section class="sidx_it_wrap">
<section class="sct_wrap">
<header>
<h2><a href="<?php echo G4_SHOP_URL; ?>/listtype.php?type=3">최신상품</a></h2>
<p class="sidx_it_wrap_hdesc"><?php echo $config['cf_title']; ?> 최신상품 모음</p>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 최신상품 모음</p>
</header>
<?php
// 최신상품
@ -29,10 +29,10 @@ include_once(G4_SHOP_PATH.'/shop.head.php');
?>
</section>
<section class="sidx_it_wrap">
<section class="sct_wrap">
<header>
<h2><a href="<?php echo G4_SHOP_URL; ?>/listtype.php?type=1">히트상품</a></h2>
<p class="sidx_it_wrap_hdesc"><?php echo $config['cf_title']; ?> 히트상품 모음</p>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 히트상품 모음</p>
</header>
<?php
// 히트상품
@ -44,10 +44,10 @@ include_once(G4_SHOP_PATH.'/shop.head.php');
?>
</section>
<section class="sidx_it_wrap">
<section class="sct_wrap">
<header>
<h2><a href="<?php echo G4_SHOP_URL; ?>/listtype.php?type=2">추천상품</a></h2>
<p class="sidx_it_wrap_hdesc"><?php echo $config['cf_title']; ?> 추천상품 모음</p>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 추천상품 모음</p>
</header>
<?php
// 추천상품
@ -59,10 +59,10 @@ include_once(G4_SHOP_PATH.'/shop.head.php');
?>
</section>
<section class="sidx_it_wrap">
<section class="sct_wrap">
<header>
<h2><a href="<?php echo G4_SHOP_URL; ?>/listtype.php?type=4">인기상품</a></h2>
<p class="sidx_it_wrap_hdesc"><?php echo $config['cf_title']; ?> 인기상품 모음</p>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 인기상품 모음</p>
</header>
<?php
// 인기상품
@ -74,10 +74,10 @@ include_once(G4_SHOP_PATH.'/shop.head.php');
?>
</section>
<section class="sidx_it_wrap">
<section class="sct_wrap">
<header>
<h2><a href="<?php echo G4_SHOP_URL; ?>/listtype.php?type=5">할인상품</a></h2>
<p class="sidx_it_wrap_hdesc"><?php echo $config['cf_title']; ?> 할인상품 모음</p>
<p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 할인상품 모음</p>
</header>
<?php
// 할인상품