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

This commit is contained in:
chicpro
2013-05-02 14:10:24 +09:00
10 changed files with 18 additions and 12 deletions

View File

@ -254,15 +254,15 @@ $pg_anchor ='<ul class="anchor">
<td>
<?php echo help("메인화면에 유형별로 출력할때 사용합니다.\n이곳에 체크하게되면 상품리스트에서 유형별로 정렬할때 체크된 상품이 가장 먼저 출력됩니다."); ?>
<input type="checkbox" name="it_type1" value="1" <?php echo ($it['it_type1'] ? "checked" : ""); ?> id="it_type1">
<label for="it_type1"><img src="<?php echo G4_SHOP_URL; ?>/img/icon_type1.gif" alt="HIT상품"></label>
<label for="it_type1">히트 <img src="<?php echo G4_URL; ?>/img/shop/icon_hit2.gif" alt=""></label>
<input type="checkbox" name="it_type2" value="1" <?php echo ($it['it_type2'] ? "checked" : ""); ?> id="it_type2">
<label for="it_type2"><img src="<?php echo G4_SHOP_URL; ?>/img/icon_type2.gif" alt="추천상품"></label>
<label for="it_type2">추천 <img src="<?php echo G4_URL; ?>/img/shop/icon_rec2.gif" alt=""></label>
<input type="checkbox" name="it_type3" value="1" <?php echo ($it['it_type3'] ? "checked" : ""); ?> id="it_type3">
<label for="it_type3"><img src="<?php echo G4_SHOP_URL; ?>/img/icon_type3.gif" alt="NEW상품"></label>
<label for="it_type3">신상품 <img src="<?php echo G4_URL; ?>/img/shop/icon_new2.gif" alt=""></label>
<input type="checkbox" name="it_type4" value="1" <?php echo ($it['it_type4'] ? "checked" : ""); ?> id="it_type4">
<label for="it_type4"><img src="<?php echo G4_SHOP_URL; ?>/img/icon_type4.gif" alt="인기상품"></label>
<label for="it_type4">인기 <img src="<?php echo G4_URL; ?>/img/shop/icon_best2.gif" alt=""></label>
<input type="checkbox" name="it_type5" value="1" <?php echo ($it['it_type5'] ? "checked" : ""); ?> id="it_type5">
<label for="it_type5"><img src="<?php echo G4_SHOP_URL; ?>/img/icon_type5.gif" alt="DC상품"></label>
<label for="it_type5">할인 <img src="<?php echo G4_URL; ?>/img/shop/icon_discount2.gif" alt=""></label>
</td>
</tr>
<tr>

View File

@ -330,6 +330,10 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important
.sct_10 .sct_icon img {display:block}
.sct_10 .sct_sns {position:absolute;top:190px;right:20px}
/* 상품 상세보기 */
.sit_icon {display:inline-block;margin:0 0 0 4px}
.sit_icon img {margin:0 4px 0 0}
/* 공지사항 및 커뮤니티 새글 */
#sidx_lat {padding:15px 0 0;border-top:1px solid #ddd}
#sidx_lat h2 {text-align:center}

BIN
img/shop/icon_best2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 890 B

BIN
img/shop/icon_discount2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

BIN
img/shop/icon_hit2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 873 B

BIN
img/shop/icon_new2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 888 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 B

After

Width:  |  Height:  |  Size: 134 B

BIN
img/shop/icon_rec2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 B

BIN
img/shop/icon_soldout2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 B

View File

@ -454,16 +454,18 @@ function it_name_icon($it, $it_name="", $url=1)
if ($url)
$str = '<a href="'.G4_SHOP_URL.'/item.php?it_id='.$it['it_id'].'">'.$str.'</a>';
if ($it['it_type1']) $str .= ' <img src="'.G4_SHOP_URL.'/img/icon_type1.gif" alt="">';
if ($it['it_type2']) $str .= ' <img src="'.G4_SHOP_URL.'/img/icon_type2.gif" alt="">';
if ($it['it_type3']) $str .= ' <img src="'.G4_SHOP_URL.'/img/icon_type3.gif" alt="">';
if ($it['it_type4']) $str .= ' <img src="'.G4_SHOP_URL.'/img/icon_type4.gif" alt="">';
if ($it['it_type5']) $str .= ' <img src="'.G4_SHOP_URL.'/img/icon_type5.gif" alt="">';
$str .= '<span class="sit_icon">';
// 품절
$stock = get_it_stock_qty($it['it_id']);
if ($stock <= 0)
$str .= ' <img src="'.G4_SHOP_URL.'/img/icon_pumjul.gif" alt="품절"> ';
$str .= ' <img src="'.G4_SHOP.'/img/icon_soldout2.gif" alt="품절"> ';
if ($it['it_type1']) $str .= '<img src="'.G4_URL.'/img/shop/icon_hit2.gif" alt="히트">';
if ($it['it_type2']) $str .= '<img src="'.G4_URL.'/img/shop/icon_rec2.gif" alt="추천">';
if ($it['it_type3']) $str .= '<img src="'.G4_URL.'/img/shop/icon_new2.gif" alt="신상품">';
if ($it['it_type4']) $str .= '<img src="'.G4_URL.'/img/shop/icon_best2.gif" alt="인기">';
if ($it['it_type5']) $str .= '<img src="'.G4_URL.'/img/shop/icon_discount2.gif" alt="할인">';
$str .= '</span>';
return $str;
}