5.3 버전 내용 적용
@ -3,13 +3,14 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">', 0);
|
||||
add_javascript('<script src="'.G5_JS_URL.'/jquery.bxslider.js"></script>', 10);
|
||||
?>
|
||||
|
||||
<?php
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
|
||||
if ($i==0) echo '<aside id="sbn_side" class="sbn"><h2>쇼핑몰 배너</h2><ul>'.PHP_EOL;
|
||||
if ($i==0) echo '<aside id="sbn_side" class="sbn"><h2>쇼핑몰 배너</h2><ul class="sb_bn">'.PHP_EOL;
|
||||
//print_r2($row);
|
||||
// 테두리 있는지
|
||||
$bn_border = ($row['bn_border']) ? ' class="sbn_border"' : '';;
|
||||
@ -34,4 +35,15 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
}
|
||||
}
|
||||
if ($i>0) echo '</ul></aside>'.PHP_EOL;
|
||||
?>
|
||||
?>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('.sb_bn').show().bxSlider({
|
||||
speed:800,
|
||||
pager:false,
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
@ -6,29 +6,40 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
?>
|
||||
|
||||
<!-- 장바구니 간략 보기 시작 { -->
|
||||
<aside id="sbsk">
|
||||
<aside id="sbsk" class="op_area">
|
||||
<h2>장바구니</h2>
|
||||
|
||||
<form name="skin_frmcartlist" id="skin_sod_bsk_list" method="post" action="<?php echo G5_SHOP_URL.'/cartupdate.php'; ?>">
|
||||
<ul>
|
||||
<?php
|
||||
$hsql = " select it_id, it_name from {$g5['g5_shop_cart_table']} ";
|
||||
$hsql .= " where od_id = '".get_session('ss_cart_id')."' group by it_id ";
|
||||
$hresult = sql_query($hsql);
|
||||
for ($i=0; $row=sql_fetch_array($hresult); $i++)
|
||||
$cart_datas = get_boxcart_datas(true);
|
||||
$i = 0;
|
||||
foreach($cart_datas as $row)
|
||||
{
|
||||
if( !$row['it_id'] ) continue;
|
||||
|
||||
echo '<li>';
|
||||
$it_name = get_text($row['it_name']);
|
||||
// 이미지로 할 경우
|
||||
//$it_name = get_it_image($row['it_id'], 50, 50, true);
|
||||
$it_img = get_it_image($row['it_id'], 60, 60, true);
|
||||
echo '<a href="'.G5_SHOP_URL.'/cart.php">'.$it_name.'</a>';
|
||||
echo '<div class="prd_img">'.$it_img.'</div>';
|
||||
echo '</li>';
|
||||
}
|
||||
|
||||
echo '<input type="hidden" name="act" value="buy" >';
|
||||
echo '<input type="hidden" name="ct_chk['.$i.']" value="1" >';
|
||||
echo '<input type="hidden" name="it_id['.$i.']" value="'.$row['it_id'].'">';
|
||||
echo '<input type="hidden" name="it_name['.$i.']" value="'.$it_name.'">';
|
||||
|
||||
$i++;
|
||||
} //end foreach
|
||||
|
||||
if ($i==0)
|
||||
echo '<li id="sbsk_empty">장바구니 상품 없음</li>'.PHP_EOL;
|
||||
?>
|
||||
echo '<li class="li_empty">장바구니 상품 없음</li>'.PHP_EOL;
|
||||
?>
|
||||
</ul>
|
||||
|
||||
<?php if($i){ ?><button type="submit" class="btn02 btn_buy"><i class="fa fa-credit-card" aria-hidden="true"></i> 바로구매</button><?php } ?>
|
||||
<a href="<?php echo G5_SHOP_URL; ?>/cart.php" class="btn01 go_cart">장바구니 바로가기</a>
|
||||
</form>
|
||||
</aside>
|
||||
<!-- } 장바구니 간략 보기 끝 -->
|
||||
|
||||
|
||||
@ -8,6 +8,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
<!-- 쇼핑몰 카테고리 시작 { -->
|
||||
<nav id="gnb">
|
||||
<h2>쇼핑몰 카테고리</h2>
|
||||
<button type="button" id="menu_open"><i class="fa fa-bars" aria-hidden="true"></i> 카테고리</button>
|
||||
<ul id="gnb_1dul">
|
||||
<?php
|
||||
// 1단계 분류 판매 가능한 것만
|
||||
|
||||
@ -7,7 +7,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
|
||||
<!-- 쇼핑몰 커뮤니티 시작 { -->
|
||||
<aside id="scomm">
|
||||
<h2>쇼핑몰 커뮤니티</h2>
|
||||
<h2>커뮤니티</h2>
|
||||
|
||||
<ul>
|
||||
|
||||
@ -16,7 +16,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
$hresult = sql_query($hsql);
|
||||
for ($i=0; $row=sql_fetch_array($hresult); $i++)
|
||||
{
|
||||
echo '<li><a href="'.G5_BBS_URL.'/board.php?bo_table='.$row['bo_table'].'">'.$row['bo_subject'].'</a></li>'.PHP_EOL;
|
||||
echo '<li><i class="fa fa-angle-right" aria-hidden="true"></i> <a href="'.G5_BBS_URL.'/board.php?bo_table='.$row['bo_table'].'">'.$row['bo_subject'].'</a></li>'.PHP_EOL;
|
||||
}
|
||||
|
||||
if ($i==0)
|
||||
|
||||
@ -1,28 +1,28 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">', 0);
|
||||
// 이벤트 정보
|
||||
$hsql = " select ev_id, ev_subject, ev_subject_strong from {$g5['g5_shop_event_table']} where ev_use = '1' order by ev_id desc limit 3";
|
||||
$hresult = sql_query($hsql);
|
||||
|
||||
if(sql_num_rows($hresult)) {
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">', 0);
|
||||
|
||||
?>
|
||||
|
||||
<!-- 쇼핑몰 이벤트 시작 { -->
|
||||
<aside id="sev">
|
||||
<h2>쇼핑몰 이벤트</h2>
|
||||
|
||||
<div id="sev">
|
||||
<h2>이벤트</h2>
|
||||
<ul>
|
||||
<?php
|
||||
$hsql = " select ev_id, ev_subject, ev_subject_strong from {$g5['g5_shop_event_table']} where ev_use = '1' order by ev_id desc ";
|
||||
$hresult = sql_query($hsql);
|
||||
for ($i=0; $row=sql_fetch_array($hresult); $i++)
|
||||
{
|
||||
|
||||
echo '<li>';
|
||||
echo '<li class="ev_li"><div class="ev_li_wr">';
|
||||
$href = G5_SHOP_URL.'/event.php?ev_id='.$row['ev_id'];
|
||||
|
||||
$event_img = G5_DATA_PATH.'/event/'.$row['ev_id'].'_m'; // 이벤트 이미지
|
||||
|
||||
if (file_exists($event_img)) { // 이벤트 이미지가 있다면 이미지 출력
|
||||
echo '<a href="'.$href.'" class="sev_img"><img src="'.G5_DATA_URL.'/event/'.$row['ev_id'].'_m" alt="'.$row['ev_subject'].'"></a>'.PHP_EOL;
|
||||
echo '<a href="'.$href.'" class="sev_img "><img src="'.G5_DATA_URL.'/event/'.$row['ev_id'].'_m" alt="'.$row['ev_subject'].'"></a>'.PHP_EOL;
|
||||
} else { // 없다면 텍스트 출력
|
||||
echo '<a href="'.$href.'" class="sev_text">';
|
||||
if ($row['ev_subject_strong']) echo '<strong>';
|
||||
@ -30,14 +30,46 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
if ($row['ev_subject_strong']) echo '</strong>';
|
||||
echo '</a>'.PHP_EOL;
|
||||
}
|
||||
echo '</li>'.PHP_EOL;
|
||||
|
||||
// 이벤트 상품
|
||||
$sql2 = " select b.*
|
||||
from `{$g5['g5_shop_event_item_table']}` a left join `{$g5['g5_shop_item_table']}` b on (a.it_id = b.it_id)
|
||||
where a.ev_id = '{$row['ev_id']}'
|
||||
order by it_id desc
|
||||
limit 0, 2 ";
|
||||
$result2 = sql_query($sql2);
|
||||
for($k=1; $row2=sql_fetch_array($result2); $k++) {
|
||||
if($k == 1) {
|
||||
echo '<ul class="ev_prd">'.PHP_EOL;
|
||||
}
|
||||
|
||||
$item_href = G5_SHOP_URL.'/item.php?it_id='.$row2['it_id'];
|
||||
|
||||
echo '<li class="ev_prd_'.$k.'">'.PHP_EOL;
|
||||
echo '<span class="ev_prd_img">'.get_it_image($row2['it_id'], 110, 110, get_text($row2['it_name'])).'</span>'.PHP_EOL;
|
||||
echo '<div class="ev_txt_wr"><a href="'.$item_href.'" class="ev_prd_tit">'.get_text(cut_str($row2['it_name'], 30)).'</a>'.PHP_EOL;
|
||||
echo '<span class="ev_prd_price">'.display_price(get_price($row2), $row2['it_tel_inq']).'</span></div>'.PHP_EOL;
|
||||
echo '</li>'.PHP_EOL;
|
||||
}
|
||||
|
||||
if($k > 1) {
|
||||
echo '</ul>'.PHP_EOL;
|
||||
}
|
||||
|
||||
if($k == 1) {
|
||||
echo '<ul class="ev_prd">'.PHP_EOL;
|
||||
echo '<li class="no_prd">등록된 상품이 없습니다.</li>'.PHP_EOL;
|
||||
echo '</ul>'.PHP_EOL;
|
||||
}
|
||||
echo '</div></li>'.PHP_EOL;
|
||||
|
||||
}
|
||||
|
||||
if ($i==0)
|
||||
echo '<li id="sev_empty">이벤트 준비 중</li>'.PHP_EOL;
|
||||
echo '<li id="sev_empty">이벤트 없음</li>'.PHP_EOL;
|
||||
?>
|
||||
</ul>
|
||||
|
||||
</aside>
|
||||
<!-- } 쇼핑몰 이벤트 끝 -->
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
@ -1,9 +1,11 @@
|
||||
<?php
|
||||
$tv_idx = get_session("ss_tv_idx");
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
$tv_datas = get_view_today_items(true);
|
||||
|
||||
$tv_div['top'] = 0;
|
||||
$tv_div['img_width'] = 70;
|
||||
$tv_div['img_height'] = 70;
|
||||
$tv_div['img_width'] = 60;
|
||||
$tv_div['img_height'] = 60;
|
||||
$tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
@ -11,45 +13,48 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
?>
|
||||
|
||||
<!-- 오늘 본 상품 시작 { -->
|
||||
<aside id="stv">
|
||||
<div id="stv_list">
|
||||
<h2>
|
||||
오늘 본 상품
|
||||
<span id="stv_pg"></span>
|
||||
</h2>
|
||||
<div id="stv" class="op_area">
|
||||
<h2>
|
||||
오늘 본 상품
|
||||
</h2>
|
||||
|
||||
<?php if ($tv_idx) { // 오늘 본 상품이 1개라도 있을 때 ?>
|
||||
<?php if ($tv_datas) { // 오늘 본 상품이 1개라도 있을 때 ?>
|
||||
<?php
|
||||
$tv_tot_count = 0;
|
||||
$k = 0;
|
||||
$i = 1;
|
||||
foreach($tv_datas as $rowx)
|
||||
{
|
||||
if(!$rowx['it_id'])
|
||||
continue;
|
||||
|
||||
$tv_it_id = $rowx['it_id'];
|
||||
|
||||
if ($tv_tot_count % $tv_div['img_length'] == 0) $k++;
|
||||
|
||||
$it_name = get_text($rowx['it_name']);
|
||||
$img = get_it_image($tv_it_id, $tv_div['img_width'], $tv_div['img_height'], $tv_it_id, '', $it_name);
|
||||
|
||||
if ($tv_tot_count == 0) echo '<ul id="stv_ul">'.PHP_EOL;
|
||||
echo '<li class="stv_item c'.$k.'">'.PHP_EOL;
|
||||
echo '<div class="prd_img">';
|
||||
echo $img;
|
||||
echo '</div>'.PHP_EOL;
|
||||
echo '<div class="prd_name">';
|
||||
echo cut_str($it_name, 10, '').PHP_EOL;
|
||||
echo '</div>';
|
||||
echo '<div class="prd_cost">';
|
||||
echo number_format(get_price($rowx)).PHP_EOL;
|
||||
echo '</div>'.PHP_EOL;
|
||||
echo '</li>'.PHP_EOL;
|
||||
|
||||
$tv_tot_count++;
|
||||
$i++;
|
||||
}
|
||||
if ($tv_tot_count > 0) echo '</ul>'.PHP_EOL;
|
||||
?>
|
||||
<div id="stv_btn"></div>
|
||||
|
||||
<?php
|
||||
$tv_tot_count = 0;
|
||||
$k = 0;
|
||||
for ($i=1;$i<=$tv_idx;$i++)
|
||||
{
|
||||
$tv_it_idx = $tv_idx - ($i - 1);
|
||||
$tv_it_id = get_session("ss_tv[$tv_it_idx]");
|
||||
|
||||
$rowx = sql_fetch(" select it_id, it_name from {$g5['g5_shop_item_table']} where it_id = '$tv_it_id' ");
|
||||
if(!$rowx['it_id'])
|
||||
continue;
|
||||
|
||||
if ($tv_tot_count % $tv_div['img_length'] == 0) $k++;
|
||||
|
||||
$it_name = get_text($rowx['it_name']);
|
||||
$img = get_it_image($tv_it_id, $tv_div['img_width'], $tv_div['img_height'], $tv_it_id, '', $it_name);
|
||||
|
||||
if ($tv_tot_count == 0) echo '<ul id="stv_ul">'.PHP_EOL;
|
||||
echo '<li class="stv_item c'.$k.'">'.PHP_EOL;
|
||||
echo $img;
|
||||
echo '<br>';
|
||||
echo cut_str($it_name, 10, '').PHP_EOL;
|
||||
echo '</li>'.PHP_EOL;
|
||||
|
||||
$tv_tot_count++;
|
||||
}
|
||||
if ($tv_tot_count > 0) echo '</ul>'.PHP_EOL;
|
||||
?>
|
||||
<span id="stv_pg"></span>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
@ -57,7 +62,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
var itemShow = <?php echo $tv_div['img_length']; ?>; // 한번에 보여줄 아이템 수량
|
||||
if (itemQty > itemShow)
|
||||
{
|
||||
$('#stv_btn').append('<button type="button" id="up">이전</button><button type="button" id="down">다음</button>');
|
||||
$('#stv_btn').append('<button type="button" id="up"><i class="fa fa-angle-left" aria-hidden="true"></i> 이전</button><button type="button" id="down">다음 <i class="fa fa-angle-right" aria-hidden="true"></i></button>');
|
||||
}
|
||||
var Flag = 1; // 페이지
|
||||
var EOFlag = parseInt(<?php echo $i-1; ?>/itemShow); // 전체 리스트를 3(한 번에 보여줄 값)으로 나눠 페이지 최댓값을 구하고
|
||||
@ -95,17 +100,11 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
|
||||
<?php } else { // 오늘 본 상품이 없을 때 ?>
|
||||
|
||||
<p>없음</p>
|
||||
<p class="li_empty">없음</p>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<ul id="stv_nb">
|
||||
<li><a href="<?php echo G5_SHOP_URL; ?>/cart.php"><img src="<?php echo G5_SHOP_URL; ?>/img/hd_nb_cart.gif" alt="장바구니"></a></li>
|
||||
<li><a href="<?php echo G5_SHOP_URL; ?>/wishlist.php"><img src="<?php echo G5_SHOP_URL; ?>/img/hd_nb_wish.gif" alt="위시리스트"></a></li>
|
||||
<li><a href="<?php echo G5_SHOP_URL; ?>/orderinquiry.php"><img src="<?php echo G5_SHOP_URL; ?>/img/hd_nb_deli.gif" alt="주문/배송조회"></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<script src="<?php echo G5_JS_URL ?>/scroll_oldie.js"></script>
|
||||
<!-- } 오늘 본 상품 끝 -->
|
||||
@ -6,26 +6,30 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
?>
|
||||
|
||||
<!-- 위시리스트 간략 보기 시작 { -->
|
||||
<aside id="swish">
|
||||
<aside id="swish" class="op_area">
|
||||
<h2>위시리스트</h2>
|
||||
|
||||
<ul>
|
||||
<?php
|
||||
$hsql = " select a.it_id, b.it_name from {$g5['g5_shop_wish_table']} a, {$g5['g5_shop_item_table']} b ";
|
||||
$hsql .= " where a.mb_id = '{$member['mb_id']}' and a.it_id = b.it_id order by a.wi_id desc ";
|
||||
$hresult = sql_query($hsql);
|
||||
for ($i=0; $row=sql_fetch_array($hresult); $i++)
|
||||
$wishlist_datas = get_wishlist_datas($member['mb_id'], true);
|
||||
$i = 0;
|
||||
foreach( (array) $wishlist_datas as $row )
|
||||
{
|
||||
if( !$row['it_id'] ) continue;
|
||||
|
||||
echo '<li>';
|
||||
$it_name = get_text($row['it_name']);
|
||||
// 이미지로 할 경우
|
||||
//$it_name = get_it_image($row[it_id], 50, 50, true);
|
||||
echo '<a href="'.G5_SHOP_URL.'/wishlist.php">'.$it_name.'</a>';
|
||||
$it_img = get_it_image($row[it_id], 60, 60, true);
|
||||
echo '<div class="prd_img">'.$it_img.'</div>';
|
||||
echo '<a href="'.G5_SHOP_URL.'/item.php?it_id='.$row['it_id'].'">'.$it_name.'</a>';
|
||||
//echo '<a href="'.G5_SHOP_URL.'/wishlist.php">'.$it_name.'</a>';
|
||||
echo '</li>';
|
||||
}
|
||||
$i++;
|
||||
} //end foreach
|
||||
|
||||
if ($i==0)
|
||||
echo '<li id="swish_empty">위시리스트 없음</li>'.PHP_EOL;
|
||||
echo '<li class="li_empty">위시리스트 없음</li>'.PHP_EOL;
|
||||
?>
|
||||
</ul>
|
||||
|
||||
|
||||
BIN
theme/basic/skin/shop/basic/img/btn_next.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
theme/basic/skin/shop/basic/img/btn_prev.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
theme/basic/skin/shop/basic/img/btn_sb_next.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
theme/basic/skin/shop/basic/img/btn_sb_prev.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
theme/basic/skin/shop/basic/img/facebook.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
theme/basic/skin/shop/basic/img/gnb_bg.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 65 B |
|
Before Width: | Height: | Size: 65 B |
BIN
theme/basic/skin/shop/basic/img/gplus.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 53 B After Width: | Height: | Size: 1.2 KiB |
BIN
theme/basic/skin/shop/basic/img/twitter.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
@ -56,11 +56,52 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
echo '</ul>';
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- 다른 상품 보기 시작 { -->
|
||||
<div id="sit_siblings">
|
||||
<?php
|
||||
if ($prev_href || $next_href) {
|
||||
$prev_title = '<i class="fa fa-caret-left" aria-hidden="true"></i> '.$prev_title;
|
||||
$next_title = $next_title.' <i class="fa fa-caret-right" aria-hidden="true"></i>';
|
||||
|
||||
echo $prev_href.$prev_title.$prev_href2;
|
||||
echo $next_href.$next_title.$next_href2;
|
||||
} else {
|
||||
echo '<span class="sound_only">이 분류에 등록된 다른 상품이 없습니다.</span>';
|
||||
}
|
||||
?>
|
||||
<a href="<?php echo G5_SHOP_URL; ?>/largeimage.php?it_id=<?php echo $it['it_id']; ?>&no=1" target="_blank" class="popup_item_image "><i class="fa fa-search-plus" aria-hidden="true"></i><span class="sound_only">확대보기</span></a>
|
||||
</div>
|
||||
<!-- } 다른 상품 보기 끝 -->
|
||||
|
||||
<div id="sit_star_sns">
|
||||
<?php if ($star_score) { ?>
|
||||
<span class="sound_only">고객평점</span>
|
||||
<img src="<?php echo G5_SHOP_URL; ?>/img/s_star<?php echo $star_score?>.png" alt="" class="sit_star" width="100">
|
||||
별<?php echo $star_score?>개
|
||||
<?php } ?>
|
||||
<span class="st_bg"></span> <i class="fa fa-commenting-o" aria-hidden="true"></i><span class="sound_only">리뷰</span> <?php echo $it['it_use_cnt']; ?>
|
||||
<span class="st_bg"></span> <i class="fa fa-heart-o" aria-hidden="true"></i><span class="sound_only">위시</span> <?php echo get_wishlist_count_by_item($it['it_id']); ?>
|
||||
<button type="button" class="btn_sns_share"><i class="fa fa-share-alt" aria-hidden="true"></i><span class="sound_only">sns 공유</span></button>
|
||||
<div class="sns_area"><?php echo $sns_share_links; ?> <a href="javascript:popup_item_recommend('<?php echo $it['it_id']; ?>');" id="sit_btn_rec"><i class="fa fa-envelope-o" aria-hidden="true"></i><span class="sound_only">추천하기</span></a></div>
|
||||
</div>
|
||||
<script>
|
||||
$(".btn_sns_share").click(function(){
|
||||
$(".sns_area").show();
|
||||
});
|
||||
$(document).mouseup(function (e){
|
||||
var container = $(".sns_area");
|
||||
if( container.has(e.target).length === 0)
|
||||
container.hide();
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
</div>
|
||||
<!-- } 상품이미지 미리보기 끝 -->
|
||||
|
||||
<!-- 상품 요약정보 및 구매 시작 { -->
|
||||
<section id="sit_ov">
|
||||
<section id="sit_ov" class="2017_renewal_itemform">
|
||||
<h2 id="sit_title"><?php echo stripslashes($it['it_name']); ?> <span class="sound_only">요약정보 및 구매</span></h2>
|
||||
<p id="sit_desc"><?php echo $it['it_basic']; ?></p>
|
||||
<?php if($is_orderable) { ?>
|
||||
@ -68,153 +109,140 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
상품 선택옵션 <?php echo $option_count; ?> 개, 추가옵션 <?php echo $supply_count; ?> 개
|
||||
</p>
|
||||
<?php } ?>
|
||||
<div id="sit_star_sns">
|
||||
<?php if ($star_score) { ?>
|
||||
고객평점 <span>별<?php echo $star_score?>개</span>
|
||||
<img src="<?php echo G5_SHOP_URL; ?>/img/s_star<?php echo $star_score?>.png" alt="" class="sit_star">
|
||||
<?php } ?>
|
||||
<?php echo $sns_share_links; ?>
|
||||
</div>
|
||||
<table class="sit_ov_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<?php if ($it['it_maker']) { ?>
|
||||
<tr>
|
||||
<th scope="row">제조사</th>
|
||||
<td><?php echo $it['it_maker']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($it['it_origin']) { ?>
|
||||
<tr>
|
||||
<th scope="row">원산지</th>
|
||||
<td><?php echo $it['it_origin']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($it['it_brand']) { ?>
|
||||
<tr>
|
||||
<th scope="row">브랜드</th>
|
||||
<td><?php echo $it['it_brand']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($it['it_model']) { ?>
|
||||
<tr>
|
||||
<th scope="row">모델</th>
|
||||
<td><?php echo $it['it_model']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (!$it['it_use']) { // 판매가능이 아닐 경우 ?>
|
||||
<tr>
|
||||
<th scope="row">판매가격</th>
|
||||
<td>판매중지</td>
|
||||
</tr>
|
||||
<?php } else if ($it['it_tel_inq']) { // 전화문의일 경우 ?>
|
||||
<tr>
|
||||
<th scope="row">판매가격</th>
|
||||
<td>전화문의</td>
|
||||
</tr>
|
||||
<?php } else { // 전화문의가 아닐 경우?>
|
||||
<?php if ($it['it_cust_price']) { ?>
|
||||
<tr>
|
||||
<th scope="row">시중가격</th>
|
||||
<td><?php echo display_price($it['it_cust_price']); ?></td>
|
||||
</tr>
|
||||
<?php } // 시중가격 끝 ?>
|
||||
|
||||
<tr>
|
||||
<th scope="row">판매가격</th>
|
||||
<td>
|
||||
<?php echo display_price(get_price($it)); ?>
|
||||
<input type="hidden" id="it_price" value="<?php echo get_price($it); ?>">
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
/* 재고 표시하는 경우 주석 해제
|
||||
<tr>
|
||||
<th scope="row">재고수량</th>
|
||||
<td><?php echo number_format(get_it_stock_qty($it_id)); ?> 개</td>
|
||||
</tr>
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php if ($config['cf_use_point']) { // 포인트 사용한다면 ?>
|
||||
<tr>
|
||||
<th scope="row">포인트</th>
|
||||
<td>
|
||||
<?php
|
||||
if($it['it_point_type'] == 2) {
|
||||
echo '구매금액(추가옵션 제외)의 '.$it['it_point'].'%';
|
||||
} else {
|
||||
$it_point = get_item_point($it);
|
||||
echo number_format($it_point).'점';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php
|
||||
$ct_send_cost_label = '배송비결제';
|
||||
|
||||
if($it['it_sc_type'] == 1)
|
||||
$sc_method = '무료배송';
|
||||
else {
|
||||
if($it['it_sc_method'] == 1)
|
||||
$sc_method = '수령후 지불';
|
||||
else if($it['it_sc_method'] == 2) {
|
||||
$ct_send_cost_label = '<label for="ct_send_cost">배송비결제</label>';
|
||||
$sc_method = '<select name="ct_send_cost" id="ct_send_cost">
|
||||
<option value="0">주문시 결제</option>
|
||||
<option value="1">수령후 지불</option>
|
||||
</select>';
|
||||
}
|
||||
else
|
||||
$sc_method = '주문시 결제';
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<th><?php echo $ct_send_cost_label; ?></th>
|
||||
<td><?php echo $sc_method; ?></td>
|
||||
</tr>
|
||||
<?php if($it['it_buy_min_qty']) { ?>
|
||||
<tr>
|
||||
<th>최소구매수량</th>
|
||||
<td><?php echo number_format($it['it_buy_min_qty']); ?> 개</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if($it['it_buy_max_qty']) { ?>
|
||||
<tr>
|
||||
<th>최대구매수량</th>
|
||||
<td><?php echo number_format($it['it_buy_max_qty']); ?> 개</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
if($option_item) {
|
||||
?>
|
||||
<!-- 선택옵션 시작 { -->
|
||||
<section>
|
||||
<h3>선택옵션</h3>
|
||||
<div class="sit_info">
|
||||
<table class="sit_ov_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<?php if ($it['it_maker']) { ?>
|
||||
<tr>
|
||||
<th scope="row">제조사</th>
|
||||
<td><?php echo $it['it_maker']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($it['it_origin']) { ?>
|
||||
<tr>
|
||||
<th scope="row">원산지</th>
|
||||
<td><?php echo $it['it_origin']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($it['it_brand']) { ?>
|
||||
<tr>
|
||||
<th scope="row">브랜드</th>
|
||||
<td><?php echo $it['it_brand']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($it['it_model']) { ?>
|
||||
<tr>
|
||||
<th scope="row">모델</th>
|
||||
<td><?php echo $it['it_model']; ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (!$it['it_use']) { // 판매가능이 아닐 경우 ?>
|
||||
<tr>
|
||||
<th scope="row">판매가격</th>
|
||||
<td>판매중지</td>
|
||||
</tr>
|
||||
<?php } else if ($it['it_tel_inq']) { // 전화문의일 경우 ?>
|
||||
<tr>
|
||||
<th scope="row">판매가격</th>
|
||||
<td>전화문의</td>
|
||||
</tr>
|
||||
<?php } else { // 전화문의가 아닐 경우?>
|
||||
<?php if ($it['it_cust_price']) { ?>
|
||||
<tr>
|
||||
<th scope="row">시중가격</th>
|
||||
<td><?php echo display_price($it['it_cust_price']); ?></td>
|
||||
</tr>
|
||||
<?php } // 시중가격 끝 ?>
|
||||
|
||||
<tr>
|
||||
<th scope="row">판매가격</th>
|
||||
<td>
|
||||
<strong><?php echo display_price(get_price($it)); ?></strong>
|
||||
<input type="hidden" id="it_price" value="<?php echo get_price($it); ?>">
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
/* 재고 표시하는 경우 주석 해제
|
||||
<tr>
|
||||
<th scope="row">재고수량</th>
|
||||
<td><?php echo number_format(get_it_stock_qty($it_id)); ?> 개</td>
|
||||
</tr>
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php if ($config['cf_use_point']) { // 포인트 사용한다면 ?>
|
||||
<tr>
|
||||
<th scope="row">포인트</th>
|
||||
<td>
|
||||
<?php
|
||||
if($it['it_point_type'] == 2) {
|
||||
echo '구매금액(추가옵션 제외)의 '.$it['it_point'].'%';
|
||||
} else {
|
||||
$it_point = get_item_point($it);
|
||||
echo number_format($it_point).'점';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php
|
||||
$ct_send_cost_label = '배송비결제';
|
||||
|
||||
if($it['it_sc_type'] == 1)
|
||||
$sc_method = '무료배송';
|
||||
else {
|
||||
if($it['it_sc_method'] == 1)
|
||||
$sc_method = '수령후 지불';
|
||||
else if($it['it_sc_method'] == 2) {
|
||||
$ct_send_cost_label = '<label for="ct_send_cost">배송비결제</label>';
|
||||
$sc_method = '<select name="ct_send_cost" id="ct_send_cost">
|
||||
<option value="0">주문시 결제</option>
|
||||
<option value="1">수령후 지불</option>
|
||||
</select>';
|
||||
}
|
||||
else
|
||||
$sc_method = '주문시 결제';
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<th><?php echo $ct_send_cost_label; ?></th>
|
||||
<td><?php echo $sc_method; ?></td>
|
||||
</tr>
|
||||
<?php if($it['it_buy_min_qty']) { ?>
|
||||
<tr>
|
||||
<th>최소구매수량</th>
|
||||
<td><?php echo number_format($it['it_buy_min_qty']); ?> 개</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if($it['it_buy_max_qty']) { ?>
|
||||
<tr>
|
||||
<th>최대구매수량</th>
|
||||
<td><?php echo number_format($it['it_buy_max_qty']); ?> 개</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<?php
|
||||
if($option_item) {
|
||||
?>
|
||||
<!-- 선택옵션 시작 { -->
|
||||
<section class="sit_option">
|
||||
<h3>선택옵션</h3>
|
||||
|
||||
<?php // 선택옵션
|
||||
echo $option_item;
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
<!-- } 선택옵션 끝 -->
|
||||
<?php
|
||||
@ -225,19 +253,11 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
if($supply_item) {
|
||||
?>
|
||||
<!-- 추가옵션 시작 { -->
|
||||
<section>
|
||||
<section class="sit_option">
|
||||
<h3>추가옵션</h3>
|
||||
<table class="sit_ov_tbl">
|
||||
<colgroup>
|
||||
<col class="grid_3">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<?php // 추가옵션
|
||||
echo $supply_item;
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
<!-- } 추가옵션 끝 -->
|
||||
<?php
|
||||
@ -255,18 +275,21 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
?>
|
||||
<ul id="sit_opt_added">
|
||||
<li class="sit_opt_list">
|
||||
|
||||
<input type="hidden" name="io_type[<?php echo $it_id; ?>][]" value="0">
|
||||
<input type="hidden" name="io_id[<?php echo $it_id; ?>][]" value="">
|
||||
<input type="hidden" name="io_value[<?php echo $it_id; ?>][]" value="<?php echo $it['it_name']; ?>">
|
||||
<input type="hidden" class="io_price" value="0">
|
||||
<input type="hidden" class="io_stock" value="<?php echo $it['it_stock_qty']; ?>">
|
||||
<span class="sit_opt_subj"><?php echo $it['it_name']; ?></span>
|
||||
<span class="sit_opt_prc">(+0원)</span>
|
||||
<div>
|
||||
<div class="opt_name">
|
||||
<span class="sit_opt_subj"><?php echo $it['it_name']; ?></span>
|
||||
</div>
|
||||
<div class="opt_count">
|
||||
<label for="ct_qty_<?php echo $i; ?>" class="sound_only">수량</label>
|
||||
<input type="text" name="ct_qty[<?php echo $it_id; ?>][]" value="<?php echo $it['it_buy_min_qty']; ?>" id="ct_qty_<?php echo $i; ?>" class="frm_input" size="5">
|
||||
<button type="button" class="sit_qty_plus btn_frmline">증가</button>
|
||||
<button type="button" class="sit_qty_minus btn_frmline">감소</button>
|
||||
<button type="button" class="sit_qty_minus"><i class="fa fa-minus" aria-hidden="true"></i><span class="sound_only">감소</span></button>
|
||||
<input type="text" name="ct_qty[<?php echo $it_id; ?>][]" value="<?php echo $it['it_buy_min_qty']; ?>" id="ct_qty_<?php echo $i; ?>" class="num_input" size="5">
|
||||
<button type="button" class="sit_qty_plus"><i class="fa fa-plus" aria-hidden="true"></i><span class="sound_only">증가</span></button>
|
||||
<span class="sit_opt_prc">+0원</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
@ -289,14 +312,13 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
|
||||
<div id="sit_ov_btn">
|
||||
<?php if ($is_orderable) { ?>
|
||||
<input type="submit" onclick="document.pressed=this.value;" value="바로구매" id="sit_btn_buy">
|
||||
<input type="submit" onclick="document.pressed=this.value;" value="장바구니" id="sit_btn_cart">
|
||||
<button type="submit" onclick="document.pressed=this.value;" value="바로구매" id="sit_btn_buy"><i class="fa fa-credit-card" aria-hidden="true"></i> 바로구매</button>
|
||||
<button type="submit" onclick="document.pressed=this.value;" value="장바구니" id="sit_btn_cart"><i class="fa fa-shopping-cart" aria-hidden="true"></i> 장바구니</button>
|
||||
<?php } ?>
|
||||
<?php if(!$is_orderable && $it['it_soldout'] && $it['it_stock_sms']) { ?>
|
||||
<a href="javascript:popup_stocksms('<?php echo $it['it_id']; ?>');" id="sit_btn_buy">재입고알림</a>
|
||||
<a href="javascript:popup_stocksms('<?php echo $it['it_id']; ?>');" id="sit_btn_alm"><i class="fa fa-bell-o" aria-hidden="true"></i> 재입고알림</a>
|
||||
<?php } ?>
|
||||
<a href="javascript:item_wish(document.fitem, '<?php echo $it['it_id']; ?>');" id="sit_btn_wish">위시리스트</a>
|
||||
<a href="javascript:popup_item_recommend('<?php echo $it['it_id']; ?>');" id="sit_btn_rec">추천하기</a>
|
||||
<a href="javascript:item_wish(document.fitem, '<?php echo $it['it_id']; ?>');" id="sit_btn_wish"><i class="fa fa-heart-o" aria-hidden="true"></i><span class="sound_only">위시리스트</span></a>
|
||||
<?php if ($naverpay_button_js) { ?>
|
||||
<div class="itemform-naverpay"><?php echo $naverpay_request_js.$naverpay_button_js; ?></div>
|
||||
<?php } ?>
|
||||
@ -338,18 +360,6 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
</section>
|
||||
<!-- } 상품 요약정보 및 구매 끝 -->
|
||||
|
||||
<!-- 다른 상품 보기 시작 { -->
|
||||
<div id="sit_siblings">
|
||||
<?php
|
||||
if ($prev_href || $next_href) {
|
||||
echo $prev_href.$prev_title.$prev_href2;
|
||||
echo $next_href.$next_title.$next_href2;
|
||||
} else {
|
||||
echo '<span class="sound_only">이 분류에 등록된 다른 상품이 없습니다.</span>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<!-- } 다른 상품 보기 끝 -->
|
||||
</div>
|
||||
|
||||
</form>
|
||||
@ -512,4 +522,6 @@ function fitem_submit(f)
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
<?php /* 2017 리뉴얼한 테마 적용 스크립트입니다. 기존 스크립트를 오버라이드 합니다. */ ?>
|
||||
<script src="<?php echo G5_JS_URL; ?>/shop.override.js"></script>
|
||||
@ -7,6 +7,24 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
|
||||
<script src="<?php echo G5_JS_URL; ?>/viewimageresize.js"></script>
|
||||
|
||||
<?php if ($default['de_rel_list_use']) { ?>
|
||||
<!-- 관련상품 시작 { -->
|
||||
<section id="sit_rel">
|
||||
<h2>관련상품</h2>
|
||||
<?php
|
||||
$rel_skin_file = $skin_dir.'/'.$default['de_rel_list_skin'];
|
||||
if(!is_file($rel_skin_file))
|
||||
$rel_skin_file = G5_SHOP_SKIN_PATH.'/'.$default['de_rel_list_skin'];
|
||||
|
||||
$sql = " select b.* from {$g5['g5_shop_item_relation_table']} a left join {$g5['g5_shop_item_table']} b on (a.it_id2=b.it_id) where a.it_id = '{$it['it_id']}' and b.it_use='1' ";
|
||||
$list = new item_list($rel_skin_file, $default['de_rel_list_mod'], 0, $default['de_rel_img_width'], $default['de_rel_img_height']);
|
||||
$list->set_query($sql);
|
||||
echo $list->run();
|
||||
?>
|
||||
</section>
|
||||
<!-- } 관련상품 끝 -->
|
||||
<?php } ?>
|
||||
|
||||
<!-- 상품 정보 시작 { -->
|
||||
<section id="sit_inf">
|
||||
<h2>상품 정보</h2>
|
||||
@ -107,27 +125,6 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
<!-- } 교환/반품 끝 -->
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($default['de_rel_list_use']) { ?>
|
||||
<!-- 관련상품 시작 { -->
|
||||
<section id="sit_rel">
|
||||
<h2>관련상품</h2>
|
||||
<?php echo pg_anchor('rel'); ?>
|
||||
|
||||
<div class="sct_wrap">
|
||||
<?php
|
||||
$rel_skin_file = $skin_dir.'/'.$default['de_rel_list_skin'];
|
||||
if(!is_file($rel_skin_file))
|
||||
$rel_skin_file = G5_SHOP_SKIN_PATH.'/'.$default['de_rel_list_skin'];
|
||||
|
||||
$sql = " select b.* from {$g5['g5_shop_item_relation_table']} a left join {$g5['g5_shop_item_table']} b on (a.it_id2=b.it_id) where a.it_id = '{$it['it_id']}' and b.it_use='1' ";
|
||||
$list = new item_list($rel_skin_file, $default['de_rel_list_mod'], 0, $default['de_rel_img_width'], $default['de_rel_img_height']);
|
||||
$list->set_query($sql);
|
||||
echo $list->run();
|
||||
?>
|
||||
</div>
|
||||
</section>
|
||||
<!-- } 관련상품 끝 -->
|
||||
<?php } ?>
|
||||
|
||||
<script>
|
||||
$(window).on("load", function() {
|
||||
|
||||
@ -11,6 +11,11 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
<section id="sit_qa_list">
|
||||
<h3>등록된 상품문의</h3>
|
||||
|
||||
<div id="sit_qa_wbtn">
|
||||
<a href="<?php echo $itemqa_form; ?>" class="btn02 itemqa_form">상품문의 쓰기<span class="sound_only"> 새 창</span></a>
|
||||
<a href="<?php echo $itemqa_list; ?>" id="itemqa_list" class="btn01">더보기</a>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$thumbnail_width = 500;
|
||||
$iq_num = $total_count - ($page - 1) * $rows;
|
||||
@ -48,7 +53,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
$iq_style = 'sit_qaa_done';
|
||||
$is_answer = true;
|
||||
} else {
|
||||
$iq_stats = '답변전';
|
||||
$iq_stats = '답변대기';
|
||||
$iq_style = 'sit_qaa_yet';
|
||||
$iq_answer = '답변이 등록되지 않았습니다.';
|
||||
$is_answer = false;
|
||||
@ -58,25 +63,25 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
?>
|
||||
|
||||
<li class="sit_qa_li">
|
||||
<button type="button" class="sit_qa_li_title"><b><?php echo $iq_num; ?>.</b> <?php echo $iq_subject; ?></button>
|
||||
<button type="button" class="sit_qa_li_title"><span class="<?php echo $iq_style; ?>"><?php echo $iq_stats; ?></span><?php echo $iq_subject; ?></button>
|
||||
<dl class="sit_qa_dl">
|
||||
<dt>작성자</dt>
|
||||
<dd><?php echo $iq_name; ?></dd>
|
||||
<dt>작성일</dt>
|
||||
<dd><?php echo $iq_time; ?></dd>
|
||||
<dt>상태</dt>
|
||||
<dd class="<?php echo $iq_style; ?>"><?php echo $iq_stats; ?></dd>
|
||||
<dd><i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $iq_time; ?></dd>
|
||||
</dl>
|
||||
|
||||
<div id="sit_qa_con_<?php echo $i; ?>" class="sit_qa_con">
|
||||
<div class="sit_qa_p">
|
||||
<div class="sit_qa_qaq">
|
||||
<strong>문의내용</strong><br>
|
||||
<strong class="sound_only">문의내용</strong>
|
||||
<span class="qa_alp">Q</span>
|
||||
<?php echo $iq_question; // 상품 문의 내용 ?>
|
||||
</div>
|
||||
<?php if(!$is_secret) { ?>
|
||||
<div class="sit_qa_qaa">
|
||||
<strong>답변</strong><br>
|
||||
<strong class="sound_only">답변</strong>
|
||||
<span class="qa_alp">A</span>
|
||||
<?php echo $iq_answer; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
@ -107,11 +112,6 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
echo itemqa_page($config['cf_write_pages'], $page, $total_page, "./itemqa.php?it_id=$it_id&page=", "");
|
||||
?>
|
||||
|
||||
<div id="sit_qa_wbtn">
|
||||
<!-- <a href="javascript:itemqawin('it_id=<?php echo $it_id; ?>');">상품문의 쓰기<span class="sound_only"> 새 창</span></a> -->
|
||||
<a href="<?php echo $itemqa_form; ?>" class="btn02 itemqa_form">상품문의 쓰기<span class="sound_only"> 새 창</span></a>
|
||||
<a href="<?php echo $itemqa_list; ?>" id="itemqa_list" class="btn01">더보기</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
|
||||
@ -14,44 +14,43 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
<input type="hidden" name="it_id" value="<?php echo $it_id; ?>">
|
||||
<input type="hidden" name="iq_id" value="<?php echo $iq_id; ?>">
|
||||
|
||||
<div class="tbl_frm01 tbl_wrap">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col class="grid_2">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">옵션</th>
|
||||
<td>
|
||||
<div class="form_01 new_win_con">
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<strong class="sound_only">옵션</strong>
|
||||
<input type="checkbox" name="iq_secret" id="iq_secret" value="1" <?php echo $chk_secret; ?>>
|
||||
<label for="iq_secret">비밀글</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="iq_email">이메일</label></th>
|
||||
<td><input type="text" name="iq_email" id="iq_email" value="<?php echo get_text($qa['iq_email']); ?>" class="frm_input" size="30"> 이메일을 입력하시면 답변 등록 시 답변이 이메일로 전송됩니다.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="iq_hp">휴대폰</label></th>
|
||||
<td><input type="text" name="iq_hp" id="iq_hp" value="<?php echo get_text($qa['iq_hp']); ?>" class="frm_input" size="20"> 휴대폰번호를 입력하시면 답변 등록 시 답변등록 알림이 SMS로 전송됩니다.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="iq_subject">제목<strong class="sound_only"> 필수</strong></label></th>
|
||||
<td><input type="text" name="iq_subject" value="<?php echo get_text($qa['iq_subject']); ?>" id="iq_subject" required class="required frm_input" minlength="2" maxlength="250"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="iq_question">질문</label></th>
|
||||
<td><?php echo $editor_html; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<div class="form_left">
|
||||
<label for="iq_email" class="sound_only">이메일</label>
|
||||
<input type="text" name="iq_email" id="iq_email" value="<?php echo get_text($qa['iq_email']); ?>" class="frm_input full_input" size="30" placeholder="이메일"><br>
|
||||
<span class="frm_info">이메일을 입력하시면 답변 등록 시 답변이 이메일로 전송됩니다.</span>
|
||||
</div>
|
||||
<div class="form_right">
|
||||
<label for="iq_hp" class="sound_only">휴대폰</label>
|
||||
<input type="text" name="iq_hp" id="iq_hp" value="<?php echo get_text($qa['iq_hp']); ?>" class="frm_input full_input" size="20" placeholder="휴대폰"><br>
|
||||
<span class="frm_info">휴대폰번호를 입력하시면 답변 등록 시 답변등록 알림이 SMS로 전송됩니다. </span>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="iq_subject" class="sound_only">제목<strong> 필수</strong></label>
|
||||
<input type="text" name="iq_subject" value="<?php echo get_text($qa['iq_subject']); ?>" id="iq_subject" required class="required frm_input" maxlength="250" placeholder="제목">
|
||||
</li>
|
||||
<li>
|
||||
<label for="iq_question" class="sound_only">질문</label>
|
||||
<?php echo $editor_html; ?>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="win_btn">
|
||||
<input type="submit" value="작성완료" class="btn_submit">
|
||||
<button type="button" onclick="self.close();" class="btn_close">닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="win_btn">
|
||||
<input type="submit" value="작성완료" class="btn_submit">
|
||||
<button type="button" onclick="self.close();">닫기</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
@ -12,8 +12,9 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
<form method="get" action="<?php echo $_SERVER['SCRIPT_NAME']; ?>">
|
||||
<div id="sqa_sch">
|
||||
<a href="<?php echo $_SERVER['SCRIPT_NAME']; ?>">전체보기</a>
|
||||
<div class="sch_wr">
|
||||
<label for="sfl" class="sound_only">검색항목<strong class="sound_only"> 필수</strong></label>
|
||||
<select name="sfl" id="sfl" required class="required">
|
||||
<select name="sfl" id="sfl" required>
|
||||
<option value="">선택</option>
|
||||
<option value="b.it_name" <?php echo get_selected($sfl, "b.it_name", true); ?>>상품명</option>
|
||||
<option value="a.it_id" <?php echo get_selected($sfl, "a.it_id"); ?>>상품코드</option>
|
||||
@ -24,8 +25,9 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
</select>
|
||||
|
||||
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" value="<?php echo $stx; ?>" id="stx" required class="required frm_input">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
<input type="text" name="stx" value="<?php echo $stx; ?>" id="stx" required class=" sch_input">
|
||||
<button type="submit" value="검색" class="sch_btn"><i class="fa fa-search" aria-hidden="true"></i><span class="sound_only">검색</span></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -43,7 +45,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
|
||||
$is_secret = false;
|
||||
if($row['iq_secret']) {
|
||||
$iq_subject .= ' <img src="'.G5_SHOP_SKIN_URL.'/img/icon_secret.gif" alt="비밀글">';
|
||||
$iq_subject .= ' <i class="fa fa-lock" aria-hidden="true"></i>';
|
||||
|
||||
if($is_admin || $member['mb_id' ] == $row['mb_id']) {
|
||||
$iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
|
||||
@ -64,7 +66,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
$iq_style = 'sit_qaa_done';
|
||||
$is_answer = true;
|
||||
} else {
|
||||
$iq_stats = '답변전';
|
||||
$iq_stats = '답변대기';
|
||||
$iq_style = 'sit_qaa_yet';
|
||||
$iq_answer = '답변이 등록되지 않았습니다.';
|
||||
$is_answer = false;
|
||||
@ -76,37 +78,38 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
|
||||
<div class="sqa_img">
|
||||
<a href="<?php echo $it_href; ?>">
|
||||
<?php echo get_it_image($row['it_id'], 70, 70); ?>
|
||||
<?php echo get_it_image($row['it_id'], 100, 100); ?>
|
||||
<span><?php echo $row['it_name']; ?></span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<section class="sqa_section">
|
||||
<h2><?php echo $iq_subject; ?></h2>
|
||||
<h2><span class="<?php echo $iq_style; ?>"><?php echo $iq_stats; ?></span><?php echo $iq_subject; ?></h2>
|
||||
|
||||
<dl class="sqa_dl">
|
||||
<dt>작성자</dt>
|
||||
<dd><?php echo $row['iq_name']; ?></dd>
|
||||
<dt>작성일</dt>
|
||||
<dd><?php echo substr($row['iq_time'],0,10); ?></dd>
|
||||
<dt>상태</dt>
|
||||
<dd class="<?php echo $iq_style; ?>"><?php echo $iq_stats; ?></dd>
|
||||
<dt class="sound_only">작성자</dt>
|
||||
<dd><i class="fa fa-user" aria-hidden="true"></i> <?php echo $row['iq_name']; ?></dd>
|
||||
<dt class="sound_only">작성일</dt>
|
||||
<dd><i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo substr($row['iq_time'],0,10); ?></dd>
|
||||
|
||||
</dl>
|
||||
|
||||
<div id="sqa_con_<?php echo $i; ?>" class="sqa_con" style="display:none;">
|
||||
<div class="sit_qa_qaq">
|
||||
<strong>문의내용</strong><br>
|
||||
<strong class="sound_only">문의내용</strong>
|
||||
<span class="qa_alp">Q</span>
|
||||
<?php echo $iq_question; // 상품 문의 내용 ?>
|
||||
</div>
|
||||
<?php if(!$is_secret) { ?>
|
||||
<div class="sit_qa_qaa">
|
||||
<strong>답변</strong><br>
|
||||
<strong class="sound_only">답변</strong>
|
||||
<span class="qa_alp">A</span>
|
||||
<?php echo $iq_answer; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="sqa_con_btn"><button class="sqa_con_<?php echo $i; ?>">보기</button></div>
|
||||
<div class="sqa_con_btn"><button class="sqa_con_<?php echo $i; ?>">내용보기 <i class="fa fa-caret-down" aria-hidden="true"></i></button></div>
|
||||
</section>
|
||||
|
||||
</li>
|
||||
@ -128,17 +131,17 @@ $(function(){
|
||||
var $con = $(this).parent().prev();
|
||||
if($con.is(":visible")) {
|
||||
$con.slideUp();
|
||||
$(this).text("보기");
|
||||
$(this).html("내용보기 <i class=\"fa fa-caret-down\" aria-hidden=\"true\"></i>");
|
||||
} else {
|
||||
$(".sqa_con_btn button").text("보기");
|
||||
$("div[id^=sqa_con]:visible").hide();
|
||||
$(".sps_con_btn button").html("내용보기 <i class=\"fa fa-caret-down\" aria-hidden=\"true\"></i>");
|
||||
$("div[id^=sps_con]:visible").hide();
|
||||
$con.slideDown(
|
||||
function() {
|
||||
// 이미지 리사이즈
|
||||
$con.viewimageresize2();
|
||||
}
|
||||
);
|
||||
$(this).text("닫기");
|
||||
$(this).html("내용닫기 <i class=\"fa fa-caret-up\" aria-hidden=\"true\"></i>");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@ -11,6 +11,18 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
<section id="sit_use_list">
|
||||
<h3>등록된 사용후기</h3>
|
||||
|
||||
<div class="sit_use_top">
|
||||
<?php if ($star_score) { ?>
|
||||
<h4>고객 평점</h4>
|
||||
<img src="<?php echo G5_SHOP_URL; ?>/img/s_star<?php echo $star_score?>.png" alt="" class="sit_star">
|
||||
<span class="st_bg "></span>
|
||||
총 <strong><?php echo $total_count; ?></strong> 건 사용후기
|
||||
<?php } ?>
|
||||
<div id="sit_use_wbtn">
|
||||
<a href="<?php echo $itemuse_form; ?>" class="btn02 itemuse_form">사용후기 쓰기<span class="sound_only"> 새 창</span></a>
|
||||
<a href="<?php echo $itemuse_list; ?>" class="btn01 itemuse_list">더보기</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
$thumbnail_width = 500;
|
||||
|
||||
@ -33,15 +45,16 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
?>
|
||||
|
||||
<li class="sit_use_li">
|
||||
<button type="button" class="sit_use_li_title"><b><?php echo $is_num; ?>.</b> <?php echo $is_subject; ?></button>
|
||||
<dl class="sit_use_dl">
|
||||
<dt>작성자</dt>
|
||||
<dd><?php echo $is_name; ?></dd>
|
||||
<dt>작성일</dt>
|
||||
<dd><?php echo $is_time; ?></dd>
|
||||
<dt>평점<dt>
|
||||
<dd class="sit_use_star"><img src="<?php echo G5_SHOP_URL; ?>/img/s_star<?php echo $is_star; ?>.png" alt="별<?php echo $is_star; ?>개"></dd>
|
||||
</dl>
|
||||
<div class="sit_use_tit"><?php echo $is_subject; ?></div>
|
||||
<button type="button" class="sit_use_li_title">내용보기 <i class="fa fa-caret-down" aria-hidden="true"></i></button>
|
||||
<dl class="sit_use_dl">
|
||||
<dt>평점<dt>
|
||||
<dd class="sit_use_star"><img src="<?php echo G5_SHOP_URL; ?>/img/s_star<?php echo $is_star; ?>.png" alt="별<?php echo $is_star; ?>개" width="85"></dd>
|
||||
<dt>작성자</dt>
|
||||
<dd><?php echo $is_name; ?></dd>
|
||||
<dt>작성일</dt>
|
||||
<dd><i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $is_time; ?></dd>
|
||||
</dl>
|
||||
|
||||
<div id="sit_use_con_<?php echo $i; ?>" class="sit_use_con">
|
||||
<div class="sit_use_p">
|
||||
@ -85,11 +98,6 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
echo itemuse_page($config['cf_write_pages'], $page, $total_page, "./itemuse.php?it_id=$it_id&page=", "");
|
||||
?>
|
||||
|
||||
<div id="sit_use_wbtn">
|
||||
<a href="<?php echo $itemuse_form; ?>" class="btn02 itemuse_form">사용후기 쓰기<span class="sound_only"> 새 창</span></a>
|
||||
<a href="<?php echo $itemuse_list; ?>" class="btn01 itemuse_list">더보기</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
$(".itemuse_form").click(function(){
|
||||
|
||||
@ -14,60 +14,53 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
<input type="hidden" name="it_id" value="<?php echo $it_id; ?>">
|
||||
<input type="hidden" name="is_id" value="<?php echo $is_id; ?>">
|
||||
|
||||
<div class="tbl_frm01 tbl_wrap">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col class="grid_2">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="is_subject">제목<strong class="sound_only"> 필수</strong></label></th>
|
||||
<td><input type="text" name="is_subject" value="<?php echo get_text($use['is_subject']); ?>" id="is_subject" required class="required frm_input" minlength="2" maxlength="250"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="" style="width:200px;">내용</label></th>
|
||||
<td><?php echo $editor_html; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">평점</th>
|
||||
<td>
|
||||
<div class="new_win_con form_01">
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<label for="is_subject" class="sound_only">제목<strong> 필수</strong></label>
|
||||
<input type="text" name="is_subject" value="<?php echo get_text($use['is_subject']); ?>" id="is_subject" required class="required frm_input full_input" maxlength="250" placeholder="제목">
|
||||
</li>
|
||||
<li>
|
||||
<strong class="sound_only">내용</strong>
|
||||
<?php echo $editor_html; ?>
|
||||
</li>
|
||||
<li>
|
||||
<span class="sound_only">평점</span>
|
||||
<ul id="sit_use_write_star">
|
||||
<li>
|
||||
<input type="radio" name="is_score" value="5" id="is_score5" <?php echo ($is_score==5)?'checked="checked"':''; ?>>
|
||||
<label for="is_score5">매우만족</label>
|
||||
<img src="<?php echo G5_URL; ?>/shop/img/s_star5.png">
|
||||
<img src="<?php echo G5_URL; ?>/shop/img/s_star5.png" alt="매우만족">
|
||||
</li>
|
||||
<li>
|
||||
<input type="radio" name="is_score" value="4" id="is_score4" <?php echo ($is_score==4)?'checked="checked"':''; ?>>
|
||||
<label for="is_score4">만족</label>
|
||||
<img src="<?php echo G5_URL; ?>/shop/img/s_star4.png">
|
||||
<img src="<?php echo G5_URL; ?>/shop/img/s_star4.png" alt="만족">
|
||||
</li>
|
||||
<li>
|
||||
<input type="radio" name="is_score" value="3" id="is_score3" <?php echo ($is_score==3)?'checked="checked"':''; ?>>
|
||||
<label for="is_score3">보통</label>
|
||||
<img src="<?php echo G5_URL; ?>/shop/img/s_star3.png">
|
||||
<img src="<?php echo G5_URL; ?>/shop/img/s_star3.png" alt="보통">
|
||||
</li>
|
||||
<li>
|
||||
<input type="radio" name="is_score" value="2" id="is_score2" <?php echo ($is_score==2)?'checked="checked"':''; ?>>
|
||||
<label for="is_score2">불만</label>
|
||||
<img src="<?php echo G5_URL; ?>/shop/img/s_star2.png">
|
||||
<img src="<?php echo G5_URL; ?>/shop/img/s_star2.png" alt="불만">
|
||||
</li>
|
||||
<li>
|
||||
<input type="radio" name="is_score" value="1" id="is_score1" <?php echo ($is_score==1)?'checked="checked"':''; ?>>
|
||||
<label for="is_score1">매우불만</label>
|
||||
<img src="<?php echo G5_URL; ?>/shop/img/s_star1.png">
|
||||
<img src="<?php echo G5_URL; ?>/shop/img/s_star1.png" alt="매우불만">
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="win_btn">
|
||||
<input type="submit" value="작성완료" class="btn_submit">
|
||||
<button type="button" onclick="self.close();">닫기</button>
|
||||
<div class="win_btn">
|
||||
<input type="submit" value="작성완료" class="btn_submit">
|
||||
<button type="button" onclick="self.close();" class="btn_close">닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
@ -11,6 +11,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
<form method="get" action="<?php echo $_SERVER['SCRIPT_NAME']; ?>">
|
||||
<div id="sps_sch">
|
||||
<a href="<?php echo $_SERVER['SCRIPT_NAME']; ?>">전체보기</a>
|
||||
<div class="sch_wr">
|
||||
<label for="sfl" class="sound_only">검색항목<strong class="sound_only"> 필수</strong></label>
|
||||
<select name="sfl" id="sfl" required>
|
||||
<option value="">선택</option>
|
||||
@ -22,8 +23,9 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
<option value="a.mb_id" <?php echo get_selected($sfl, "a.mb_id"); ?>>작성자아이디</option>
|
||||
</select>
|
||||
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="stx" value="<?php echo $stx; ?>" id="stx" required class="required frm_input">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
<input type="text" name="stx" value="<?php echo $stx; ?>" id="stx" required class="sch_input">
|
||||
<button type="submit" value="검색" class="sch_btn"><i class="fa fa-search" aria-hidden="true"></i><span class="sound_only">검색</span></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@ -50,7 +52,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
|
||||
<div class="sps_img">
|
||||
<a href="<?php echo $it_href; ?>">
|
||||
<?php echo get_itemuselist_thumbnail($row['it_id'], $row['is_content'], 70, 70); ?>
|
||||
<?php echo get_itemuselist_thumbnail($row['it_id'], $row['is_content'], 100, 100); ?>
|
||||
<span><?php echo $row2['it_name']; ?></span>
|
||||
</a>
|
||||
</div>
|
||||
@ -59,52 +61,52 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
<h2><?php echo get_text($row['is_subject']); ?></h2>
|
||||
|
||||
<dl class="sps_dl">
|
||||
<dt>작성자</dt>
|
||||
<dd><?php echo $row['is_name']; ?></dd>
|
||||
<dt>작성일</dt>
|
||||
<dd><?php echo substr($row['is_time'],0,10); ?></dd>
|
||||
<dt>평가점수</dt>
|
||||
<dd><img src="<?php echo G5_URL; ?>/shop/img/s_star<?php echo $star; ?>.png" alt="별<?php echo $star; ?>개"></dd>
|
||||
<dt class="sound_only">평가점수</dt>
|
||||
<dd><img src="<?php echo G5_URL; ?>/shop/img/s_star<?php echo $star; ?>.png" alt="별<?php echo $star; ?>개" width="80"></dd>
|
||||
<dt class="sound_only">작성자</dt>
|
||||
<dd><i class="fa fa-user" aria-hidden="true"></i> <?php echo $row['is_name']; ?></dd>
|
||||
<dt class="sound_only">작성일</dt>
|
||||
<dd><i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo substr($row['is_time'],0,10); ?></dd>
|
||||
|
||||
</dl>
|
||||
|
||||
<div id="sps_con_<?php echo $i; ?>" style="display:none;">
|
||||
<?php echo $is_content; // 사용후기 내용 ?>
|
||||
<?php
|
||||
if( !empty($row['is_reply_subject']) ){ //사용후기 답변이 있다면
|
||||
$is_reply_content = get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width);
|
||||
?>
|
||||
<div class="sps_reply">
|
||||
<div class="sps_img">
|
||||
<a href="<?php echo $it_href; ?>">
|
||||
<?php echo get_itemuselist_thumbnail($row['it_id'], $row['is_reply_content'], 50, 50); ?>
|
||||
<span><?php echo $row2['it_name']; ?></span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
|
||||
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
||||
|
||||
<div class="sps_dl">
|
||||
<i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $row['is_reply_name']; ?>
|
||||
</div>
|
||||
|
||||
<div id="sps_con_<?php echo $i; ?>_reply" style="display:none;">
|
||||
<?php echo $is_reply_content; // 사용후기 답변 내용 ?>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
<?php } //end if ?>
|
||||
</div>
|
||||
|
||||
<div class="sps_con_btn"><button class="sps_con_<?php echo $i; ?>">보기</button></div>
|
||||
<div class="sps_con_btn"><button class="sps_con_<?php echo $i; ?>">내용보기 <i class="fa fa-caret-down" aria-hidden="true"></i></button></div>
|
||||
</section>
|
||||
|
||||
</li>
|
||||
|
||||
<?php
|
||||
if( !empty($row['is_reply_subject']) ){ //사용후기 답변이 있다면
|
||||
$is_reply_content = get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width);
|
||||
?>
|
||||
<li class="sps_reply">
|
||||
<div class="sps_img">
|
||||
<a href="<?php echo $it_href; ?>">
|
||||
<?php echo get_itemuselist_thumbnail($row['it_id'], $row['is_reply_content'], 50, 50); ?>
|
||||
<span><?php echo $row2['it_name']; ?></span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<section class="sps_section">
|
||||
|
||||
<h2 class="is_use_reply"><?php echo get_text($row['is_reply_subject']); ?></h2>
|
||||
|
||||
<dl class="sps_dl">
|
||||
<dt>작성자</dt>
|
||||
<dd><?php echo $row['is_reply_name']; ?></dd>
|
||||
</dl>
|
||||
|
||||
<div id="sps_con_<?php echo $i; ?>_reply" style="display:none;">
|
||||
<?php echo $is_reply_content; // 사용후기 답변 내용 ?>
|
||||
</div>
|
||||
|
||||
<div class="sps_con_btn"><button class="sps_con_<?php echo $i; ?>_reply">보기</button></div>
|
||||
</section>
|
||||
</li>
|
||||
<?php } //end if ?>
|
||||
|
||||
<?php }
|
||||
if ($i > 0) echo '</ol>';
|
||||
@ -121,9 +123,9 @@ $(function(){
|
||||
var $con = $(this).parent().prev();
|
||||
if($con.is(":visible")) {
|
||||
$con.slideUp();
|
||||
$(this).text("보기");
|
||||
$(this).html("내용보기 <i class=\"fa fa-caret-down\" aria-hidden=\"true\"></i>");
|
||||
} else {
|
||||
$(".sps_con_btn button").text("보기");
|
||||
$(".sps_con_btn button").html("내용보기 <i class=\"fa fa-caret-down\" aria-hidden=\"true\"></i>");
|
||||
$("div[id^=sps_con]:visible").hide();
|
||||
$con.slideDown(
|
||||
function() {
|
||||
@ -131,7 +133,7 @@ $(function(){
|
||||
$con.viewimageresize2();
|
||||
}
|
||||
);
|
||||
$(this).text("닫기");
|
||||
$(this).html("내용닫기 <i class=\"fa fa-caret-up\" aria-hidden=\"true\"></i>");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@ -46,7 +46,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
|
||||
?>
|
||||
|
||||
<div class="win_btn">
|
||||
<button type="button" onclick="javascript:window.close();">창닫기</button>
|
||||
<button type="button" onclick="javascript:window.close();" class="btn_close">창닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -2,18 +2,18 @@
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 상품진열 10 시작 { -->
|
||||
<?php
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
if ($this->list_mod >= 2) { // 1줄 이미지 : 2개 이상
|
||||
if ($i%$this->list_mod == 0) $sct_last = ' sct_last'; // 줄 마지막
|
||||
else if ($i%$this->list_mod == 1) $sct_last = ' sct_clear'; // 줄 첫번째
|
||||
if ($i%$this->list_mod == 0) $sct_last = 'sct_last'; // 줄 마지막
|
||||
else if ($i%$this->list_mod == 1) $sct_last = 'sct_clear'; // 줄 첫번째
|
||||
else $sct_last = '';
|
||||
} else { // 1줄 이미지 : 1개
|
||||
$sct_last = ' sct_clear';
|
||||
$sct_last = 'sct_clear';
|
||||
}
|
||||
|
||||
if ($i == 1) {
|
||||
@ -24,10 +24,12 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
}
|
||||
}
|
||||
|
||||
echo "<li class=\"sct_li{$sct_last}\" style=\"width:{$this->img_width}px\">\n";
|
||||
echo "<li class=\"sct_li {$sct_last}\" style=\"width:{$this->img_width}px\">\n";
|
||||
|
||||
echo "<div class=\"sct_img\">\n";
|
||||
|
||||
if ($this->href) {
|
||||
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
|
||||
echo "<a href=\"{$this->href}{$row['it_id']}\">\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_img) {
|
||||
@ -35,19 +37,29 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
}
|
||||
|
||||
if ($this->href) {
|
||||
echo "</a></div>\n";
|
||||
echo "</a>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_icon) {
|
||||
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\n";
|
||||
|
||||
if ($this->view_sns) {
|
||||
$sns_top = $this->img_height + 10;
|
||||
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||
echo "<div class=\"sct_sns\">";
|
||||
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/facebook.png');
|
||||
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/twitter.png');
|
||||
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/gplus.png');
|
||||
echo "</div>\n";
|
||||
}
|
||||
|
||||
echo "</div>\n";
|
||||
|
||||
if ($this->view_it_id) {
|
||||
echo "<div class=\"sct_id\"><".stripslashes($row['it_id'])."></div>\n";
|
||||
}
|
||||
|
||||
if ($this->href) {
|
||||
echo "<div class=\"sct_txt\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
|
||||
echo "<div class=\"sct_txt\"><a href=\"{$this->href}{$row['it_id']}\">\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_name) {
|
||||
@ -67,7 +79,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<div class=\"sct_cost\">\n";
|
||||
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
|
||||
echo "<span class=\"sct_discount\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_price) {
|
||||
@ -78,17 +90,12 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
|
||||
}
|
||||
|
||||
if ($this->view_sns) {
|
||||
$sns_top = $this->img_height + 10;
|
||||
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||
echo "<div class=\"sct_sns\" style=\"top:{$sns_top}px\">";
|
||||
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_fb_s.png');
|
||||
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_twt_s.png');
|
||||
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_goo_s.png');
|
||||
echo "</div>\n";
|
||||
if ($this->view_it_icon) {
|
||||
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\n";
|
||||
}
|
||||
|
||||
|
||||
|
||||
echo "</li>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -31,8 +31,8 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
$list_right_pad = 10;
|
||||
$list_bottom_pad = 20;
|
||||
$list_left_pad = $this->img_width + 10;
|
||||
$list_real_width = 740;
|
||||
$list_width = $list_real_width - $list_right_pad - $list_left_pad;
|
||||
//$list_real_width = 740;
|
||||
//$list_width = $list_real_width - $list_right_pad - $list_left_pad;
|
||||
$list_height = $this->img_height - $list_top_pad - $list_bottom_pad;
|
||||
|
||||
echo "<li class=\"sct_li{$sct_last}\" style=\"padding:{$list_top_pad}px {$list_right_pad}px {$list_bottom_pad}px {$list_left_pad}px;width:{$list_width}px;height:{$list_height}px\">\n";
|
||||
|
||||
@ -19,23 +19,23 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
<h2>상품 정렬</h2>
|
||||
|
||||
<!-- <ul>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_price&sortodr=asc" class="btn01">낮은가격순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_price&sortodr=desc" class="btn01">높은가격순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_name&sortodr=asc" class="btn01">상품명순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_type1&sortodr=desc" class="btn01">히트상품</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_type2&sortodr=desc" class="btn01">추천상품</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_type3&sortodr=desc" class="btn01">최신상품</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_type4&sortodr=desc" class="btn01">인기상품</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_type5&sortodr=desc" class="btn01">할인상품</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_price&sortodr=asc">낮은가격순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_price&sortodr=desc">높은가격순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_name&sortodr=asc">상품명순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_type1&sortodr=desc">히트상품</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_type2&sortodr=desc">추천상품</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_type3&sortodr=desc">최신상품</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_type4&sortodr=desc">인기상품</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_type5&sortodr=desc">할인상품</a></li>
|
||||
</ul> -->
|
||||
|
||||
<ul id="ssch_sort">
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_sum_qty&sortodr=desc" class="btn01">판매많은순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_price&sortodr=asc" class="btn01">낮은가격순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_price&sortodr=desc" class="btn01">높은가격순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_use_avg&sortodr=desc" class="btn01">평점높은순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_use_cnt&sortodr=desc" class="btn01">후기많은순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_update_time&sortodr=desc" class="btn01">최근등록순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_sum_qty&sortodr=desc">판매많은순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_price&sortodr=asc">낮은가격순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_price&sortodr=desc">높은가격순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_use_avg&sortodr=desc">평점높은순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_use_cnt&sortodr=desc">후기많은순</a></li>
|
||||
<li><a href="<?php echo $sct_sort_href; ?>it_update_time&sortodr=desc">최근등록순</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- } 상품 정렬 선택 끝 -->
|
||||
@ -6,6 +6,6 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
?>
|
||||
|
||||
<ul id="sct_lst">
|
||||
<li><button type="button" class="sct_lst_view sct_lst_list">리스트뷰<span></span></button></li>
|
||||
<li><button type="button" class="sct_lst_view sct_lst_gallery">갤러리뷰<span></span></button></li>
|
||||
<li><button type="button" class="sct_lst_view sct_lst_list"><i class="fa fa-th-list" aria-hidden="true"></i><span class="sound_only">리스트뷰</span></button></li>
|
||||
<li><button type="button" class="sct_lst_view sct_lst_gallery"><i class="fa fa-th-large" aria-hidden="true"></i><span class="sound_only">갤러리뷰</span></button></li>
|
||||
</ul>
|
||||
@ -26,8 +26,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
|
||||
echo "<li class=\"sct_li {$sct_last}\" style=\"width:{$this->img_width}px\">\n";
|
||||
|
||||
echo "<div class=\"sct_img\">\n";
|
||||
|
||||
if ($this->href) {
|
||||
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
|
||||
echo "<a href=\"{$this->href}{$row['it_id']}\">\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_img) {
|
||||
@ -35,19 +37,29 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
}
|
||||
|
||||
if ($this->href) {
|
||||
echo "</a></div>\n";
|
||||
echo "</a>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_icon) {
|
||||
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\n";
|
||||
|
||||
if ($this->view_sns) {
|
||||
$sns_top = $this->img_height + 10;
|
||||
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||
echo "<div class=\"sct_sns\">";
|
||||
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/facebook.png');
|
||||
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/twitter.png');
|
||||
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/gplus.png');
|
||||
echo "</div>\n";
|
||||
}
|
||||
|
||||
echo "</div>\n";
|
||||
|
||||
if ($this->view_it_id) {
|
||||
echo "<div class=\"sct_id\"><".stripslashes($row['it_id'])."></div>\n";
|
||||
}
|
||||
|
||||
if ($this->href) {
|
||||
echo "<div class=\"sct_txt\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
|
||||
echo "<div class=\"sct_txt\"><a href=\"{$this->href}{$row['it_id']}\">\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_name) {
|
||||
@ -67,7 +79,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<div class=\"sct_cost\">\n";
|
||||
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
|
||||
echo "<span class=\"sct_discount\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_price) {
|
||||
@ -78,17 +90,12 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
|
||||
}
|
||||
|
||||
if ($this->view_sns) {
|
||||
$sns_top = $this->img_height + 10;
|
||||
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||
echo "<div class=\"sct_sns\" style=\"top:{$sns_top}px\">";
|
||||
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_fb_s.png');
|
||||
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_twt_s.png');
|
||||
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_goo_s.png');
|
||||
echo "</div>\n";
|
||||
if ($this->view_it_icon) {
|
||||
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\n";
|
||||
}
|
||||
|
||||
|
||||
|
||||
echo "</li>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -4,44 +4,42 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">', 0);
|
||||
|
||||
/*
|
||||
상품리스트가 일정 시간마다 바뀜
|
||||
롤링되기 위해서는 상품이 2줄 이상이어야 함
|
||||
*/
|
||||
// 관련상품 스킨은 사품을 한줄에 하나만 표시하며 해당 상품에 관련상품이 등록되어 있는 경우 기본으로 7개까지 노출합니다.
|
||||
?>
|
||||
|
||||
<!-- 이전 재생 정지 다음 버튼 시작 { -->
|
||||
<ul id="btn_smt_<?php echo $this->type; ?>" class="sctrl">
|
||||
<li><button type="button" class="sctrl_play">효과재생<span></span></button></li>
|
||||
<li><button type="button" class="sctrl_stop">효과정지<span></span></button></li>
|
||||
</ul>
|
||||
<!-- } 이전 재생 정지 다음 버튼 끝 -->
|
||||
|
||||
<!-- 상품진열 40 시작 { -->
|
||||
<?php
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
$sct_last = '';
|
||||
if($i>1 && $i%$this->list_mod == 0)
|
||||
$sct_last = ' sct_last'; // 줄 마지막
|
||||
$href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
if ($list_mod >= 2) { // 1줄 이미지 : 2개 이상
|
||||
if ($i%$list_mod == 0) $sct_last = ' sct_last'; // 줄 마지막
|
||||
else if ($i%$list_mod == 1) $sct_last = ' sct_clear'; // 줄 첫번째
|
||||
else $sct_last = '';
|
||||
} else { // 1줄 이미지 : 1개
|
||||
$sct_last = ' sct_clear';
|
||||
}
|
||||
|
||||
if ($i == 1) {
|
||||
if ($this->css) {
|
||||
echo "<div id=\"smt_{$this->type}\" class=\"{$this->css}\">\n";
|
||||
echo "<ul class=\"{$this->css}\">\n";
|
||||
} else {
|
||||
echo "<div id=\"smt_{$this->type}\" class=\"sct smt_40\">\n";
|
||||
echo "<ul class=\"smt smt_40\">\n";
|
||||
}
|
||||
echo "<ul class=\"sct_ul sct_ul_first\">\n";
|
||||
}
|
||||
}
|
||||
|
||||
if ($i>1 && $i%$this->list_mod == 1) {
|
||||
echo "</ul>\n";
|
||||
echo "<ul class=\"sct_ul\">\n";
|
||||
}
|
||||
$list_top_pad = 20;
|
||||
$list_right_pad = 20;
|
||||
$list_bottom_pad = 20;
|
||||
$list_left_pad = $this->img_width + 20;
|
||||
$list_height = $this->img_height + 2;
|
||||
|
||||
echo "<li class=\"sct_li{$sct_last}\" style=\"width:{$this->img_width}px\">";
|
||||
echo "<li class=\"sct_li{$sct_last}\" style=\"padding:{$list_top_pad}px {$list_right_pad}px {$list_bottom_pad}px {$list_left_pad}px;width:{$list_width}px;height:{$list_height}px\">\n";
|
||||
|
||||
|
||||
echo "<div class=\"sct_img\">\n";
|
||||
|
||||
if ($this->href) {
|
||||
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
|
||||
echo "<a href=\"{$this->href}{$row['it_id']}\">\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_img) {
|
||||
@ -49,19 +47,29 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
}
|
||||
|
||||
if ($this->href) {
|
||||
echo "</a></div>\n";
|
||||
echo "</a>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_icon) {
|
||||
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\n";
|
||||
|
||||
if ($this->view_sns) {
|
||||
$sns_top = $this->img_height + 10;
|
||||
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||
echo "<div class=\"sct_sns\">";
|
||||
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/facebook.png');
|
||||
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/twitter.png');
|
||||
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/gplus.png');
|
||||
echo "</div>\n";
|
||||
}
|
||||
|
||||
echo "</div>\n";
|
||||
|
||||
if ($this->view_it_id) {
|
||||
echo "<div class=\"sct_id\"><".stripslashes($row['it_id'])."></div>\n";
|
||||
}
|
||||
|
||||
if ($this->href) {
|
||||
echo "<div class=\"sct_txt\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
|
||||
echo "<div class=\"sct_txt\"><a href=\"{$this->href}{$row['it_id']}\">\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_name) {
|
||||
@ -81,7 +89,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<div class=\"sct_cost\">\n";
|
||||
|
||||
if ($this->view_it_cust_price && $row['it_cust_price']) {
|
||||
echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
|
||||
echo "<span class=\"sct_discount\">".display_price($row['it_cust_price'])."</span>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_price) {
|
||||
@ -92,161 +100,16 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
|
||||
}
|
||||
|
||||
if ($this->view_sns) {
|
||||
$sns_top = $this->img_height + 10;
|
||||
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||
echo "<div class=\"sct_sns\" style=\"top:{$sns_top}px\">";
|
||||
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_fb_s.png');
|
||||
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_twt_s.png');
|
||||
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_goo_s.png');
|
||||
echo "</div>\n";
|
||||
if ($this->view_it_icon) {
|
||||
echo "<div class=\"sct_icon\">".item_icon($row)."</div>\n";
|
||||
}
|
||||
|
||||
|
||||
echo "</li>\n";
|
||||
}
|
||||
|
||||
if ($i > 1) {
|
||||
echo "</ul>\n";
|
||||
echo "</div>\n";
|
||||
}
|
||||
if ($i > 1) echo "</ul>\n";
|
||||
|
||||
if($i == 1) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
|
||||
?>
|
||||
|
||||
<script>
|
||||
(function($) {
|
||||
var intervals = {};
|
||||
|
||||
var methods = {
|
||||
init: function(option)
|
||||
{
|
||||
if(this.length < 1)
|
||||
return false;
|
||||
|
||||
var $smt = this.find("ul.sct_ul");
|
||||
var $smt_a = $smt.find("a");
|
||||
var count = $smt.size();
|
||||
var c_idx = o_idx = 0;
|
||||
var fx = null;
|
||||
var el_id = this[0].id;
|
||||
var height = 0;
|
||||
|
||||
$smt.each(function() {
|
||||
var h = $(this).outerHeight(true);
|
||||
if(h > height)
|
||||
height = h;
|
||||
});
|
||||
|
||||
this.height(height);
|
||||
|
||||
// 기본 설정값
|
||||
var settings = $.extend({
|
||||
interval: 4000
|
||||
}, option);
|
||||
|
||||
if(count < 2)
|
||||
return;
|
||||
|
||||
set_interval();
|
||||
|
||||
$smt.hover(
|
||||
function() {
|
||||
clear_interval();
|
||||
},
|
||||
function() {
|
||||
set_interval();
|
||||
}
|
||||
);
|
||||
|
||||
$smt_a.on("focusin", function() {
|
||||
clear_interval();
|
||||
});
|
||||
|
||||
$smt_a.on("focusout", function() {
|
||||
set_interval();
|
||||
});
|
||||
|
||||
function itemlist_show() {
|
||||
$smt.each(function(index) {
|
||||
if($(this).is(":visible")) {
|
||||
o_idx = index;
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
$smt.eq(o_idx).css("display", "none");
|
||||
c_idx = (o_idx + 1) % count;
|
||||
$smt.eq(c_idx).css("display", "block");
|
||||
o_idx = c_idx;
|
||||
}
|
||||
|
||||
function set_interval() {
|
||||
if(count > 1) {
|
||||
clear_interval();
|
||||
|
||||
if($("#btn_"+el_id).find("button.sctrl_stop").data("stop") == true)
|
||||
return;
|
||||
|
||||
intervals[el_id] = setInterval(itemlist_show, settings.interval);
|
||||
|
||||
// control 버튼 class
|
||||
$("#btn_"+el_id).find("button span").removeClass("sctrl_on").html("")
|
||||
.end().find("button.sctrl_play span").addClass("sctrl_on").html("<b class=\"sound_only\">선택됨</b>");
|
||||
}
|
||||
}
|
||||
|
||||
function clear_interval() {
|
||||
if(intervals[el_id]) {
|
||||
clearInterval(intervals[el_id]);
|
||||
|
||||
// control 버튼 class
|
||||
$("#btn_"+el_id).find("button span").removeClass("sctrl_on").html("")
|
||||
.end().find("button.sctrl_stop span").addClass("sctrl_on").html("<b class=\"sound_only\">선택됨</b>");
|
||||
}
|
||||
}
|
||||
},
|
||||
stop: function()
|
||||
{
|
||||
var el_id = this[0].id;
|
||||
if(intervals[el_id])
|
||||
clearInterval(intervals[el_id]);
|
||||
}
|
||||
};
|
||||
|
||||
$.fn.itemlistShow = function(option) {
|
||||
if (methods[option])
|
||||
return methods[option].apply(this, Array.prototype.slice.call(arguments, 1));
|
||||
else
|
||||
return methods.init.apply(this, arguments);
|
||||
}
|
||||
}(jQuery));
|
||||
|
||||
$(function() {
|
||||
$("#smt_<?php echo $this->type; ?>").itemlistShow();
|
||||
// 기본 설정값을 변경하려면 아래처럼 사용
|
||||
//$("#smt_<?php echo $this->type; ?>").itemlistShow({ interval: 4000 });
|
||||
|
||||
// 애니메이션 play
|
||||
$("#btn_smt_<?php echo $this->type; ?> button.sctrl_play").on("click", function() {
|
||||
$("#btn_smt_<?php echo $this->type; ?> button.sctrl_stop").data("stop", false);
|
||||
|
||||
var id = $(this).closest(".sctrl").attr("id").replace("btn_", "");
|
||||
$("#"+id).itemlistShow();
|
||||
//$("#"+id).itemlistShow({ interval: 4000 });
|
||||
});
|
||||
|
||||
// 애니메이션 stop
|
||||
$("#btn_smt_<?php echo $this->type; ?> button.sctrl_stop").on("click", function() {
|
||||
if($(this).parent().siblings().find(".sctrl_on").size() > 0) {
|
||||
$(this).parent().siblings().find("span").removeClass("sctrl_on").html("");
|
||||
$(this).children().addClass("sctrl_on").html("<b class=\"sound_only\">선택됨</b>");
|
||||
var id = $(this).closest(".sctrl").attr("id").replace("btn_", "");
|
||||
$("#"+id).itemlistShow("stop");
|
||||
|
||||
$(this).data("stop", true);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- } 상품진열 40 끝 -->
|
||||
<!-- } 상품진열13 끝 -->
|
||||
|
||||
@ -3,44 +3,33 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">', 0);
|
||||
|
||||
/*
|
||||
리스트의 상품이 순차적으로 위에서 내려옴
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- 이전 재생 정지 다음 버튼 시작 { -->
|
||||
<ul id="btn_smt_<?php echo $this->type; ?>" class="sctrl">
|
||||
<li><button type="button" class="sctrl_play">효과재생<span></span></button></li>
|
||||
<li><button type="button" class="sctrl_stop">효과정지<span></span></button></li>
|
||||
</ul>
|
||||
<!-- } 이전 재생 정지 다음 버튼 끝 -->
|
||||
|
||||
<!-- 상품진열 50 시작 { -->
|
||||
<!-- 상품진열 10 시작 { -->
|
||||
<?php
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
$sct_last = '';
|
||||
if($i>1 && $i%$this->list_mod == 0)
|
||||
$sct_last = ' sct_last'; // 줄 마지막
|
||||
if ($this->list_mod >= 2) { // 1줄 이미지 : 2개 이상
|
||||
if ($i%$this->list_mod == 0) $sct_last = 'sct_last'; // 줄 마지막
|
||||
else if ($i%$this->list_mod == 1) $sct_last = 'sct_clear'; // 줄 첫번째
|
||||
else $sct_last = '';
|
||||
} else { // 1줄 이미지 : 1개
|
||||
$sct_last = 'sct_clear';
|
||||
}
|
||||
|
||||
if ($i == 1) {
|
||||
if ($this->css) {
|
||||
echo "<div id=\"smt_{$this->type}\" class=\"{$this->css}\">\n";
|
||||
echo "<ul class=\"{$this->css}\">\n";
|
||||
} else {
|
||||
echo "<div id=\"smt_{$this->type}\" class=\"sct smt_50\">\n";
|
||||
echo "<ul id=\"smt_{$this->type}\" class=\" smt_50\">\n";
|
||||
}
|
||||
echo "<ul class=\"sct_ul sct_ul_first\">\n";
|
||||
}
|
||||
|
||||
if ($i>1 && $i%$this->list_mod == 1) {
|
||||
echo "</ul>\n";
|
||||
echo "<ul class=\"sct_ul\">\n";
|
||||
}
|
||||
echo "<li class=\"sct_li sct_li_{$i}\">\n";
|
||||
|
||||
echo "<li class=\"sct_li{$sct_last}\" style=\"width:{$this->img_width}px\">";
|
||||
echo "<span class=\"sct_rank\">{$i}</span>\n";
|
||||
|
||||
if ($this->href) {
|
||||
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
|
||||
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\">\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_img) {
|
||||
@ -60,7 +49,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
}
|
||||
|
||||
if ($this->href) {
|
||||
echo "<div class=\"sct_txt\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
|
||||
echo "<div class=\"sct_txt\"><a href=\"{$this->href}{$row['it_id']}\">\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_name) {
|
||||
@ -105,173 +94,8 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "</li>\n";
|
||||
}
|
||||
|
||||
if ($i > 1) {
|
||||
echo "</ul>\n";
|
||||
echo "</div>\n";
|
||||
}
|
||||
if ($i > 1) echo "</ul>\n";
|
||||
|
||||
if($i == 1) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
|
||||
?>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
var intervals = {};
|
||||
|
||||
var methods = {
|
||||
init: function(option)
|
||||
{
|
||||
if(this.length < 1)
|
||||
return false;
|
||||
|
||||
var $smt = this.find("ul.sct_ul");
|
||||
var $smt_a = $smt.find("a");
|
||||
var count = $smt.size();
|
||||
var height = 0;
|
||||
var c_idx = o_idx = 0;
|
||||
var fx = null;
|
||||
var delay = 0;
|
||||
var el_id = this[0].id;
|
||||
|
||||
$smt.find("li.sct_li").each(function() {
|
||||
var h = $(this).outerHeight(true);
|
||||
if(h > height)
|
||||
height = h;
|
||||
});
|
||||
|
||||
this.height(height);
|
||||
$smt.height(height);
|
||||
|
||||
// 기본 설정값
|
||||
var settings = $.extend({
|
||||
interval: 6000,
|
||||
duration: 800,
|
||||
delay: 300
|
||||
}, option);
|
||||
|
||||
// 초기실행
|
||||
if(count > 0 && intervals[el_id] == undefined) {
|
||||
$smt.find("li.sct_li").css("top", "-"+height+"px");
|
||||
$smt.eq(0).find("li.sct_li").each(function() {
|
||||
$(this).delay(delay).animate(
|
||||
{ top: "+="+height+"px" }, settings.duration
|
||||
);
|
||||
|
||||
delay += settings.delay;
|
||||
});
|
||||
}
|
||||
|
||||
set_interval();
|
||||
|
||||
$smt.hover(
|
||||
function() {
|
||||
clear_interval();
|
||||
},
|
||||
function() {
|
||||
set_interval();
|
||||
}
|
||||
);
|
||||
|
||||
$smt_a.on("focusin", function() {
|
||||
clear_interval();
|
||||
});
|
||||
|
||||
$smt_a.on("focusout", function() {
|
||||
set_interval();
|
||||
});
|
||||
|
||||
function item_drop() {
|
||||
$smt.each(function(index) {
|
||||
if($(this).is(":visible")) {
|
||||
o_idx = index;
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
delay = 0;
|
||||
|
||||
$smt.eq(o_idx).css("display", "none");
|
||||
$smt.eq(o_idx).find("li.sct_li").css("top", "-"+height+"px");
|
||||
|
||||
c_idx = (o_idx + 1) % count;
|
||||
|
||||
$smt.eq(c_idx).css("display", "block");
|
||||
$smt.eq(c_idx).find("li.sct_li").each(function() {
|
||||
$(this).delay(delay).animate(
|
||||
{ top: "+="+height+"px" }, settings.duration
|
||||
);
|
||||
|
||||
delay += settings.delay;
|
||||
});
|
||||
|
||||
o_idx = c_idx;
|
||||
}
|
||||
|
||||
function set_interval() {
|
||||
if(count > 1) {
|
||||
clear_interval();
|
||||
|
||||
if($("#btn_"+el_id).find("button.sctrl_stop").data("stop") == true)
|
||||
return;
|
||||
|
||||
intervals[el_id] = setInterval(item_drop, settings.interval);
|
||||
|
||||
// control 버튼 class
|
||||
$("#btn_"+el_id).find("button span").removeClass("sctrl_on").html("")
|
||||
.end().find("button.sctrl_play span").addClass("sctrl_on").html("<b class=\"sound_only\">선택됨</b>");
|
||||
}
|
||||
}
|
||||
|
||||
function clear_interval() {
|
||||
if(intervals[el_id]) {
|
||||
clearInterval(intervals[el_id]);
|
||||
|
||||
// control 버튼 class
|
||||
$("#btn_"+el_id).find("button span").removeClass("sctrl_on").html("")
|
||||
.end().find("button.sctrl_stop span").addClass("sctrl_on").html("<b class=\"sound_only\">선택됨</b>");
|
||||
}
|
||||
}
|
||||
},
|
||||
stop: function()
|
||||
{
|
||||
var el_id = this[0].id;
|
||||
if(intervals[el_id])
|
||||
clearInterval(intervals[el_id]);
|
||||
}
|
||||
};
|
||||
|
||||
$.fn.itemDrop = function(option) {
|
||||
if (methods[option])
|
||||
return methods[option].apply(this, Array.prototype.slice.call(arguments, 1));
|
||||
else
|
||||
return methods.init.apply(this, arguments);
|
||||
}
|
||||
}(jQuery));
|
||||
|
||||
$(function() {
|
||||
$("#smt_<?php echo $this->type; ?>").itemDrop();
|
||||
// 기본 설정값을 변경하려면 아래처럼 사용
|
||||
//$("#smt_<?php echo $this->type; ?>").itemDrop({ interval: 6000, duration: 800, delay: 300 });
|
||||
|
||||
// 애니메이션 play
|
||||
$("#btn_smt_<?php echo $this->type; ?> button.sctrl_play").on("click", function() {
|
||||
$("#btn_smt_<?php echo $this->type; ?> button.sctrl_stop").data("stop", false);
|
||||
|
||||
var id = $(this).closest(".sctrl").attr("id").replace("btn_", "");
|
||||
$("#"+id).itemDrop();
|
||||
//$("#"+id).itemDrop({ interval: 3000, duration: 800, delay: 300 });
|
||||
});
|
||||
|
||||
// 애니메이션 stop
|
||||
$("#btn_smt_<?php echo $this->type; ?> button.sctrl_stop").on("click", function() {
|
||||
if($(this).parent().siblings().find(".sctrl_on").size() > 0) {
|
||||
$(this).parent().siblings().find("span").removeClass("sctrl_on").html("");
|
||||
$(this).children().addClass("sctrl_on").html("<b class=\"sound_only\">선택됨</b>");
|
||||
var id = $(this).closest(".sctrl").attr("id").replace("btn_", "");
|
||||
$("#"+id).itemDrop("stop");
|
||||
|
||||
$(this).data("stop", true);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- } 상품진열 50 끝 -->
|
||||
<!-- } 상품진열 10 끝 -->
|
||||
@ -3,15 +3,22 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">', 0);
|
||||
add_javascript('<script src="'.G5_JS_URL.'/jquery.bxslider.js"></script>', 10);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$max_width = $max_height = 0;
|
||||
$bn_first_class = ' class="sbn_first"';
|
||||
$bn_first_class = ' class="bn_first"';
|
||||
$bn_slide_btn = '';
|
||||
$bn_sl = ' class="bn_sl"';
|
||||
|
||||
$main_banners = array();
|
||||
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
if ($i==0) echo '<section id="sbn_idx" class="sbn">'.PHP_EOL.'<h2>쇼핑몰 배너</h2>'.PHP_EOL.'<ul>'.PHP_EOL;
|
||||
$main_banners[] = $row;
|
||||
|
||||
if ($i==0) echo '<div id="main_bn">'.PHP_EOL.'<ul class="slide-wrap">'.PHP_EOL;
|
||||
//print_r2($row);
|
||||
// 테두리 있는지
|
||||
$bn_border = ($row['bn_border']) ? ' class="sbn_border"' : '';;
|
||||
@ -44,202 +51,39 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
echo '</a>'.PHP_EOL;
|
||||
echo '</li>'.PHP_EOL;
|
||||
|
||||
$bn_first_class = '';
|
||||
|
||||
}
|
||||
}
|
||||
if ($i>0) echo '</ul>'.PHP_EOL.'</section>'.PHP_EOL;
|
||||
|
||||
if ($i > 0) {
|
||||
echo '</ul>'.PHP_EOL;
|
||||
|
||||
echo '<div id="bx_pager" class="bx_pager">
|
||||
<ul>';
|
||||
$k = 0;
|
||||
foreach( $main_banners as $row ){
|
||||
echo '<li> <a data-slide-index="'.$k.'" href="">'.get_text($row['bn_alt']).'</a></li>'.PHP_EOL;
|
||||
$k++;
|
||||
}
|
||||
echo '</ul>
|
||||
</div>'.PHP_EOL;
|
||||
echo '</div>'.PHP_EOL;
|
||||
?>
|
||||
|
||||
<script>
|
||||
(function($) {
|
||||
var intervals = {};
|
||||
|
||||
var methods = {
|
||||
init: function(option)
|
||||
{
|
||||
if(this.length < 1)
|
||||
return false;
|
||||
|
||||
var $bnnr = this.find("li:has(img)");
|
||||
var count = $bnnr.size();
|
||||
var $bnnr_a = $bnnr.find("a");
|
||||
var width = <?php echo $max_width; ?>;
|
||||
var height = <?php echo $max_height; ?>;
|
||||
var wrap_width = this.parent().width();
|
||||
var c_idx = o_idx = 0;
|
||||
var el_id = this[0].id;
|
||||
var $this = this;
|
||||
|
||||
if(width > wrap_width) {
|
||||
height = parseInt(height * (wrap_width / width));
|
||||
}
|
||||
width = wrap_width;
|
||||
|
||||
this.width(wrap_width).height(height)
|
||||
.find("ul").width(width).height(height)
|
||||
.find("li").width(width).height(height);
|
||||
|
||||
$bnnr.not(".sbn_first").css("left", width+"px");
|
||||
|
||||
$bnnr.each(function() {
|
||||
var $img = $(this).find("img");
|
||||
var img_width = parseInt($img.attr("width"));
|
||||
if(img_width > width)
|
||||
img_width = width;
|
||||
|
||||
$img.removeAttr("width");
|
||||
$img.width(img_width);
|
||||
});
|
||||
|
||||
// 기본 설정값
|
||||
var settings = $.extend({
|
||||
interval: 5000,
|
||||
duration: 1500
|
||||
}, option);
|
||||
|
||||
if(count > 1) {
|
||||
var slide_button = "<div id=\"sbn_btn_p\" class=\"sbn_btn\"><button type=\"button\" id=\"sbn_btn_prev\" class=\"sbn_btn_slide\"><span></span>이전</button></div>\n";
|
||||
slide_button += "<div id=\"sbn_btn_n\" class=\"sbn_btn\"><button type=\"button\" id=\"sbn_btn_next\" class=\"sbn_btn_slide\"><span></span>다음</button></div>";
|
||||
|
||||
this.find("ul").before(slide_button);
|
||||
|
||||
var $bnnr_btn = this.find(".sbn_btn_slide");
|
||||
|
||||
$bnnr_btn.on("focusin", function() {
|
||||
clear_interval();
|
||||
});
|
||||
|
||||
$bnnr_btn.on("focusout", function() {
|
||||
set_interval();
|
||||
});
|
||||
}
|
||||
|
||||
set_interval();
|
||||
|
||||
$(".sbn_btn_slide").on("click", function() {
|
||||
if($this.find(":animated").size() > 0)
|
||||
return false;
|
||||
|
||||
clear_interval();
|
||||
|
||||
var id = $(this).attr("id");
|
||||
if(id.search("prev") > -1) {
|
||||
right_rolling();
|
||||
} else {
|
||||
left_rolling();
|
||||
}
|
||||
});
|
||||
|
||||
$bnnr.hover(
|
||||
function() {
|
||||
clear_interval();
|
||||
},
|
||||
function() {
|
||||
set_interval();
|
||||
}
|
||||
);
|
||||
|
||||
$bnnr_a.on("focusin", function() {
|
||||
clear_interval();
|
||||
});
|
||||
|
||||
$bnnr_a.on("focusout", function() {
|
||||
set_interval();
|
||||
});
|
||||
|
||||
function left_rolling() {
|
||||
$bnnr.each(function(index) {
|
||||
if($(this).is(":visible")) {
|
||||
o_idx = index;
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
$bnnr.not(":visible").css({
|
||||
display: "none",
|
||||
left: "+"+width+"px"
|
||||
});
|
||||
|
||||
$bnnr.eq(o_idx).animate(
|
||||
{ left: "-="+width+"px" }, settings.duration,
|
||||
function() {
|
||||
$(this).css("display", "none").css("left", width+"px");
|
||||
}
|
||||
);
|
||||
|
||||
c_idx = (o_idx + 1) % count;
|
||||
|
||||
$bnnr.eq(c_idx).css("display", "block").animate(
|
||||
{ left: "-="+width+"px" }, settings.duration,
|
||||
function() {
|
||||
o_idx = c_idx;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
function right_rolling() {
|
||||
$bnnr.each(function(index) {
|
||||
if($(this).is(":visible")) {
|
||||
o_idx = index;
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
$bnnr.not(":visible").css({
|
||||
display: "none",
|
||||
left: "-"+width+"px"
|
||||
});
|
||||
|
||||
$bnnr.eq(o_idx).animate(
|
||||
{ left: "+="+width+"px" }, settings.duration,
|
||||
function() {
|
||||
$(this).css("display", "none").css("left", "-"+width+"px");
|
||||
}
|
||||
);
|
||||
|
||||
c_idx = (o_idx + 1) % count;
|
||||
|
||||
$bnnr.eq(c_idx).css("display", "block").animate(
|
||||
{ left: "+="+width+"px" }, settings.duration,
|
||||
function() {
|
||||
o_idx = c_idx;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
function set_interval() {
|
||||
if(count > 1) {
|
||||
clear_interval();
|
||||
|
||||
intervals[el_id] = setInterval(left_rolling, settings.interval);
|
||||
}
|
||||
}
|
||||
|
||||
function clear_interval() {
|
||||
if(intervals[el_id]) {
|
||||
clearInterval(intervals[el_id]);
|
||||
}
|
||||
}
|
||||
},
|
||||
stop: function()
|
||||
{
|
||||
var el_id = this[0].id;
|
||||
if(intervals[el_id])
|
||||
clearInterval(intervals[el_id]);
|
||||
jQuery(function($){
|
||||
var slider = $('.slide-wrap').show().bxSlider({
|
||||
speed:800,
|
||||
pagerCustom: '#bx_pager',
|
||||
auto: true,
|
||||
useCSS : false,
|
||||
onSlideAfter : function(){
|
||||
slider.startAuto();
|
||||
}
|
||||
};
|
||||
|
||||
$.fn.bannerRolling = function(option) {
|
||||
if (methods[option])
|
||||
return methods[option].apply(this, Array.prototype.slice.call(arguments, 1));
|
||||
else
|
||||
return methods.init.apply(this, arguments);
|
||||
}
|
||||
}(jQuery));
|
||||
|
||||
$(function() {
|
||||
$("#sbn_idx").bannerRolling();
|
||||
// 기본 설정값을 변경하려면 아래처럼 사용
|
||||
//$("#sbn_idx").leftRolling({ interval: 6000, duration: 2000 });
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
@ -33,6 +33,6 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
|
||||
?>
|
||||
|
||||
<div id="sct_location">
|
||||
<a href='<?php echo G5_SHOP_URL; ?>/' class="sct_bg">Home</a>
|
||||
<a href='<?php echo G5_SHOP_URL; ?>/' class="sct_bg">HOME</a>
|
||||
<?php echo $navigation; ?>
|
||||
</div>
|
||||
|
||||
@ -3,8 +3,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0);
|
||||
add_javascript('<script src="'.G5_JS_URL.'/jquery.bxslider.js"></script>', 10);
|
||||
?>
|
||||
|
||||
<!-- 상품진열 10 시작 { -->
|
||||
<?php
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
@ -20,11 +20,11 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
if ($this->css) {
|
||||
echo "<ul class=\"{$this->css}\">\n";
|
||||
} else {
|
||||
echo "<ul class=\"sct scr_10\">\n";
|
||||
echo "<ul class=\"scr_10\">\n";
|
||||
}
|
||||
}
|
||||
|
||||
echo "<li class=\"sct_li {$sct_last}\" style=\"width:{$this->img_width}px\">\n";
|
||||
echo "<li class=\"sct_li slide {$sct_last}\">\n";
|
||||
|
||||
if ($this->href) {
|
||||
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
|
||||
@ -58,10 +58,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
echo "</a></div>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_basic && $row['it_basic']) {
|
||||
echo "<div class=\"sct_basic\">".stripslashes($row['it_basic'])."</div>\n";
|
||||
}
|
||||
|
||||
if ($this->view_it_cust_price || $this->view_it_price) {
|
||||
|
||||
echo "<div class=\"sct_cost\">\n";
|
||||
@ -96,4 +92,15 @@ if ($i > 1) echo "</ul>\n";
|
||||
|
||||
if($i == 1) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\n";
|
||||
?>
|
||||
<!-- } 상품진열 10 끝 -->
|
||||
<!-- } 상품진열 10 끝 -->
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('.scr_10').bxSlider({
|
||||
slideWidth: 160,
|
||||
minSlides: 5,
|
||||
maxSlides: 5,
|
||||
slideMargin: 20,
|
||||
pager:false
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@ -1,62 +1,59 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
<?php if ($is_admin) { //관리자이면 ?>
|
||||
<div class="sit_admin"><a href="<?php echo G5_ADMIN_URL; ?>/shop_admin/configform.php#anc_scf_etc" class="btn_admin">검색 설정</a></div>
|
||||
<?php } ?>
|
||||
<!-- 검색 시작 { -->
|
||||
<div id="ssch">
|
||||
|
||||
<!-- 상세검색 항목 시작 { -->
|
||||
<div id="ssch_frm">
|
||||
<h2><span><strong><?php echo $q; ?></strong> 검색결과</span> (총 <strong><?php echo $total_count; ?></strong> 건 )</h2>
|
||||
|
||||
<form name="frmdetailsearch">
|
||||
<input type="hidden" name="qsort" id="qsort" value="<?php echo $qsort ?>">
|
||||
<input type="hidden" name="qorder" id="qorder" value="<?php echo $qorder ?>">
|
||||
<input type="hidden" name="qcaid" id="qcaid" value="<?php echo $qcaid ?>">
|
||||
<div>
|
||||
<strong>검색범위</strong>
|
||||
<input type="checkbox" name="qname" id="ssch_qname" value="1" <?php echo $qname_check?'checked="checked"':'';?>> <label for="ssch_qname">상품명</label>
|
||||
<input type="checkbox" name="qexplan" id="ssch_qexplan" value="1" <?php echo $qexplan_check?'checked="checked"':'';?>> <label for="ssch_qexplan">상품설명</label>
|
||||
<input type="checkbox" name="qid" id="ssch_qid" value="1" <?php echo $qid_check?'checked="checked"':'';?>> <label for="ssch_qid">상품코드</label>
|
||||
<input type="checkbox" name="qbasic" id="ssch_qbasic" value="1" <?php echo $qbasic_check?'checked="checked"':'';?>> <label for="ssch_qbasic">기본설명</label>
|
||||
</div>
|
||||
<div>
|
||||
<strong>상품가격 (원)</strong>
|
||||
<label for="ssch_qfrom" class="sound_only">최소 가격</label>
|
||||
<input type="text" name="qfrom" value="<?php echo $qfrom; ?>" id="ssch_qfrom" class="frm_input" size="10"> ~
|
||||
<label for="ssch_qto" class="sound_only">최대 가격</label>
|
||||
<input type="text" name="qto" value="<?php echo $qto; ?>" id="ssch_qto" class="frm_input" size="10"> 까지
|
||||
</div>
|
||||
<div>
|
||||
<label for="ssch_q" class="ssch_lbl">검색어</label>
|
||||
<input type="text" name="q" value="<?php echo $q; ?>" id="ssch_q" class="frm_input" size="40" maxlength="30">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
<div class="ssch_scharea">
|
||||
|
||||
<div class="ssch_right">
|
||||
<strong class="sound_only">검색범위</strong>
|
||||
<input type="checkbox" name="qname" id="ssch_qname" value="1" <?php echo $qname_check?'checked="checked"':'';?>> <label for="ssch_qname">상품명</label>
|
||||
<input type="checkbox" name="qexplan" id="ssch_qexplan" value="1" <?php echo $qexplan_check?'checked="checked"':'';?>> <label for="ssch_qexplan">상품설명</label>
|
||||
<input type="checkbox" name="qbasic" id="ssch_qbasic" value="1" <?php echo $qbasic_check?'checked="checked"':'';?>> <label for="ssch_qbasic">기본설명</label>
|
||||
<input type="checkbox" name="qid" id="ssch_qid" value="1" <?php echo $qid_check?'checked="checked"':'';?>> <label for="ssch_qid">상품코드</label>
|
||||
<strong class="sound_only">상품가격 (원)</strong>
|
||||
<label for="ssch_qfrom" class="sound_only">최소 가격</label>
|
||||
<input type="text" name="qfrom" value="<?php echo $qfrom; ?>" id="ssch_qfrom" class="ssch_input" size="10"> 원 ~
|
||||
<label for="ssch_qto" class="sound_only">최대 가격</label>
|
||||
<input type="text" name="qto" value="<?php echo $qto; ?>" id="ssch_qto" class="ssch_input" size="10"> 원
|
||||
</div>
|
||||
<div class="ssch_left">
|
||||
<label for="ssch_q" class="sound_only" >검색어</label>
|
||||
<input type="text" name="q" value="<?php echo $q; ?>" id="ssch_q" class="ssch_input" size="40" maxlength="30" placeholder="검색어">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
상세검색을 선택하지 않거나, 상품가격을 입력하지 않으면 전체에서 검색합니다.<br>
|
||||
검색어는 최대 30글자까지, 여러개의 검색어를 공백으로 구분하여 입력 할수 있습니다.
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<ul id="ssch_sort">
|
||||
<li><a href="#" class="btn01" onclick="set_sort('it_sum_qty', 'desc'); return false;">판매많은순</a></li>
|
||||
<li><a href="#" class="btn01" onclick="set_sort('it_price', 'asc'); return false;">낮은가격순</a></li>
|
||||
<li><a href="#" class="btn01" onclick="set_sort('it_price', 'desc'); return false;">높은가격순</a></li>
|
||||
<li><a href="#" class="btn01" onclick="set_sort('it_use_avg', 'desc'); return false;">평점높은순</a></li>
|
||||
<li><a href="#" class="btn01" onclick="set_sort('it_use_cnt', 'desc'); return false;">후기많은순</a></li>
|
||||
<li><a href="#" class="btn01" onclick="set_sort('it_update_time', 'desc'); return false;">최근등록순</a></li>
|
||||
</ul>
|
||||
|
||||
<div id="ssch_ov">
|
||||
검색 결과 <b><?php echo $total_count; ?></b>건
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- } 상세검색 항목 끝 -->
|
||||
|
||||
<!-- 검색된 분류 시작 { -->
|
||||
<div id="ssch_cate">
|
||||
<div id="ssch_cate" class="sct_ct">
|
||||
<ul>
|
||||
<?php
|
||||
$sql = " select b.ca_id, b.ca_name, count(*) as cnt $sql_common $sql_where group by b.ca_id order by b.ca_id ";
|
||||
$result = sql_query($sql);
|
||||
$total_cnt = 0;
|
||||
foreach( $categorys as $row ){
|
||||
if( empty($row) ) continue;
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
echo "<li><a href=\"#\" onclick=\"set_ca_id('{$row['ca_id']}'); return false;\">{$row['ca_name']} (".$row['cnt'].")</a></li>\n";
|
||||
$total_cnt += $row['cnt'];
|
||||
}
|
||||
@ -65,7 +62,16 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</ul>
|
||||
</div>
|
||||
<!-- } 검색된 분류 끝 -->
|
||||
|
||||
<div id="sct_sortlst">
|
||||
<ul id="ssch_sort">
|
||||
<li><a href="#" onclick="set_sort('it_sum_qty', 'desc'); return false;">판매많은순</a></li>
|
||||
<li><a href="#" onclick="set_sort('it_price', 'asc'); return false;">낮은가격순</a></li>
|
||||
<li><a href="#" onclick="set_sort('it_price', 'desc'); return false;">높은가격순</a></li>
|
||||
<li><a href="#" onclick="set_sort('it_use_avg', 'desc'); return false;">평점높은순</a></li>
|
||||
<li><a href="#" onclick="set_sort('it_use_cnt', 'desc'); return false;">후기많은순</a></li>
|
||||
<li><a href="#" onclick="set_sort('it_update_time', 'desc'); return false;">최근등록순</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- 검색결과 시작 { -->
|
||||
<div>
|
||||
<?php
|
||||
@ -97,7 +103,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
echo '<div>'.$error.'</div>';
|
||||
}
|
||||
|
||||
$query_string = 'qname='.$qname.'&qexplan='.$qexplan.'&qid='.$qid.'&qbasic='.$qbasic;
|
||||
$query_string = 'qname='.$qname.'&qexplan='.$qexplan.'&qid='.$qid;
|
||||
if($qfrom && $qto) $query_string .= '&qfrom='.$qfrom.'&qto='.$qto;
|
||||
$query_string .= '&qcaid='.$qcaid.'&q='.urlencode($q);
|
||||
$query_string .='&qsort='.$qsort.'&qorder='.$qorder;
|
||||
@ -109,6 +115,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</div>
|
||||
<!-- } 검색 끝 -->
|
||||
|
||||
|
||||
<script>
|
||||
function set_sort(qsort, qorder)
|
||||
{
|
||||
|
||||
@ -1,101 +1,83 @@
|
||||
@charset "utf-8";
|
||||
/* SIR 지운아빠 */
|
||||
|
||||
/* aside:gnb */
|
||||
#gnb {margin:0 0 5px;padding:0 0 10px;border:1px solid #d5d5d5;background:#f2f5f9}
|
||||
#gnb {margin:0 0 5px;padding:0 0 10px;background:#333949;position:relative;min-height:425px}
|
||||
#gnb h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
.gnb_1dli {position:relative; word-wrap: break-word;}
|
||||
#gnb button{width:100%;border:0;border-bottom:1px solid #2b313f;background:none;text-align:left;color:#fff;padding:0 20px;height:40px;font-weight:bold;font-size:1.167em}
|
||||
.gnb_1dli {; word-wrap: break-word;}
|
||||
.gnb_1dli_on {color:#fff;text-decoration:none}
|
||||
.gnb_1da {display:block;padding:7px 10px;border-bottom:1px solid #f4f4f4;background-color:#fff;font-weight:bold;text-decoration:none}
|
||||
.gnb_1dam {background:url('img/gnb_bg00.gif') #fff center right no-repeat}
|
||||
.gnb_1dli_on .gnb_1da {background-color:#626870;color:#fff;text-decoration:none}
|
||||
.gnb_1dli_on .gnb_1dam {background:url('img/gnb_bg01.gif') #626870 center right no-repeat;color:#fff;text-decoration:none}
|
||||
.gnb_2dul {display:none;z-index:1000;position:absolute;border:1px solid #787f89}
|
||||
.gnb_1dli_over .gnb_2dul, .gnb_1dli_over2 .gnb_2dul {display:block;top:0;left:127px;width:130px;background:#fff}
|
||||
.gnb_1da {display:block;padding:0 20px;line-height:40px;color:#ccc;font-weight:bold;text-decoration:none;font-size:1.167em}
|
||||
.gnb_1dam {background:url('img/gnb_bg.png') center right no-repeat}
|
||||
.gnb_1dli_on .gnb_1da {background-color:#2b313f;color:#fff;text-decoration:none}
|
||||
.gnb_1dli_on .gnb_1dam {color:#fff;text-decoration:none}
|
||||
.gnb_2dul {display:none;z-index:1000;position:absolute;border:1px solid #787f89;height:100%;padding:10px}
|
||||
.gnb_1dli_over .gnb_2dul, .gnb_1dli_over2 .gnb_2dul {display:block;top:0;left:215px;width:200px;background:#fff}
|
||||
.gnb_2da {display:none}
|
||||
.gnb_1dli_over .gnb_2da {display:block;padding:10px;border-bottom:1px solid #e9e9e9}
|
||||
.gnb_2da:focus, .gnb_2da:hover {background:#f2f5f9;text-decoration:none}
|
||||
.gnb_1dli_over .gnb_2da {display:block;padding:5px 10px;line-height:20px;font-size:1.083em}
|
||||
.gnb_2da:focus, .gnb_2da:hover {text-decoration:none;color:#be334a}
|
||||
|
||||
/* 오늘 본 상품 */
|
||||
#stv {z-index:1001;position:relative;float:right;width:88px}
|
||||
#stv_list {position:absolute;width:88px;border:1px solid #e9e9e9;background:#fff}
|
||||
#stv_list h2 {padding:10px 0 8px;background:#f2f5f9;text-align:center;letter-spacing:-0.1em}
|
||||
#stv_pg {display:block;margin:5px 0 0}
|
||||
#stv_list p {padding:20px 0;text-align:center}
|
||||
#stv_btn {text-align:center;zoom:1}
|
||||
#stv_btn:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#stv_btn button {float:left;margin:0;padding:5px 0 4px;width:44px;border:0;background:#555;color:#fff;text-align:center}
|
||||
#stv_ul {margin:5px 0 10px;padding:0;list-style:none}
|
||||
.stv_item {display:none;padding:0 9px;text-align:center;word-break:break-all}
|
||||
.stv_item img {margin:5px 0}
|
||||
#stv{position:relative}
|
||||
#stv_pg {display:block;;text-align:center;margin:10px 0 0;line-height:20px}
|
||||
.stv_item {display:none;padding:0 9px;word-break:break-all}
|
||||
#up{position:absolute;bottom:0;left:0;background:url(img/btn_sb_prev.png) no-repeat 50% 50%;width:30px;height:20px;text-indent:-999px;overflow:hidden;border:1px solid #ccc;}
|
||||
#down{position:absolute;bottom:0;right:0;background:url(img/btn_sb_next.png) no-repeat 50% 50%;width:30px;height:20px;text-indent:-999px;overflow:hidden;border:1px solid #ccc;}
|
||||
|
||||
#stv_nb {margin:0;padding:0;border-top:1px solid #e9e9e9;background:#f2f5f9;list-style:none}
|
||||
#stv_nb li {text-align:center}
|
||||
#stv_nb a {display:block}
|
||||
/* 이벤트 링크 */
|
||||
#sev{margin:20px 0;text-align:center}
|
||||
#sev h2 {text-align:center;font-size:1.5em;margin:0 0 20px 0;display:inline-block;padding:0 0 7px;border-bottom:2px solid #000;line-height:1em}
|
||||
#sev ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sev .ev_li{float:left;margin-left:17px;}
|
||||
#sev .ev_li:first-child{margin-left:0}
|
||||
#sev .ev_prd{border:1px solid #ddd;text-align:center;padding:20px 0;}
|
||||
#sev .ev_prd li{display:inline-block;text-align:left;width:110px;margin:0 8px;vertical-align: top;}
|
||||
#sev .ev_prd .ev_prd_tit{display:block;color:#666}
|
||||
#sev .ev_prd .ev_prd_img{margin:0 0 5px;display:block}
|
||||
#sev .ev_prd .ev_prd_price{font-weight:bold;display:block}
|
||||
|
||||
/* aside:이벤트 링크 */
|
||||
#sev {margin:0 0 5px;padding:0 0 10px;border:1px solid #ecc9d6;background:#fff8fb}
|
||||
#sev h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#sev ul {margin:0;padding:0;border:0;background:#fff;list-style:none}
|
||||
#sev .sev_img {display:block;border-bottom:1px solid #faedf2}
|
||||
#sev .sev_text {display:block;padding:7px 10px 6px;border-bottom:1px solid #faedf2;text-decoration:none}
|
||||
#sev .sev_text:focus, #sev .sev_text:hover {background:#fffafc}
|
||||
#sev strong {}
|
||||
#sev_empty {padding:15px 0;text-align:center}
|
||||
/* 커뮤니티 링크 */
|
||||
#scomm{padding:20px;}
|
||||
#scomm h2{margin:0 0 5px;}
|
||||
#scomm li {display:block;margin:3px}
|
||||
#scomm li a{line-height:25px;color:#555}
|
||||
#scomm li a:hover{color:#be334a}
|
||||
|
||||
/* aside:커뮤니티 링크 */
|
||||
#scomm {margin:0 0 5px;padding:0 0 10px;border:1px solid #d5d5d5;background:#f2f5f9}
|
||||
#scomm h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#scomm ul {margin:0;padding:0;border:0;background:#fff;list-style:none}
|
||||
#scomm a {display:block;padding:7px 10px 6px;border-bottom:1px solid #f4f4f4;text-decoration:none}
|
||||
#scomm a:focus, #scomm a:hover {background:#f9f9f9}
|
||||
#scomm_empty {padding:15px 0;text-align:center}
|
||||
/* 메인배너 */
|
||||
#main_bn {border:1px solid #cdcdcd;position:relative;margin-bottom:20px}
|
||||
#main_bn .slide-wrap{display:none}
|
||||
#main_bn .slide-wrap img{max-width:100%;height:auto}
|
||||
#main_bn .bx-prev{position:absolute;top:50%;left:0;margin-top:-35px;z-index:99;background:url(img/btn_prev.png) no-repeat 50% 50%;width:50px;height:70px;;text-indent:-999px;overflow:hidden;opacity:0.6}
|
||||
#main_bn .bx-prev:hover{opacity:1}
|
||||
#main_bn .bx-next{position:absolute;top:50%;right:0;margin-top:-35px;z-index:99;background:url(img/btn_next.png) no-repeat 50% 50%;width:50px;height:70px;;text-indent:-999px;overflow:hidden;opacity:0.6}
|
||||
#main_bn .bx-next:hover{opacity:1}
|
||||
#main_bn #bx_pager {border-top:1px solid #cdcdcd}
|
||||
#main_bn #bx_pager ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#main_bn #bx_pager li{float:left;border-left:1px solid #cdcdcd;width:20%;text-align:center;line-height:35px}
|
||||
#main_bn #bx_pager li:first-child{border-left:0}
|
||||
#main_bn #bx_pager li a{display:block}
|
||||
#main_bn #bx_pager li a.active{background:#56d2ca;color:#fff}
|
||||
|
||||
/* aside:배너 */
|
||||
.sbn {margin:0 0 5px}
|
||||
.sbn h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
.sbn ul {margin:0;padding:0;border:0;list-style:none}
|
||||
.sbn li {margin:0 0 1px}
|
||||
.sbn .sbn_border {border:1px solid #d5d5d5} /* 인덱스 배너도 함께 사용 */
|
||||
/*서브배너*/
|
||||
#sbn_side {width:150px;}
|
||||
.sb_bn { display:none}
|
||||
.sb_bn img{width:100%;height:auto;}
|
||||
#sbn_side h2{position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#sbn_side .bx-controls{position:absolute;bottom:0;right:0}
|
||||
#sbn_side .bx-prev{display:block;float:left;background:url(img/btn_sb_prev.png) no-repeat 50% 50% #fff;width:15px;height:15px;text-indent:-999px;overflow:hidden;border:1px solid #ccc;}
|
||||
#sbn_side .bx-next{display:block;margin-left:-1px;float:left;background:url(img/btn_sb_next.png) no-repeat 50% 50% #fff;width:15px;height:15px;text-indent:-999px;overflow:hidden;border:1px solid #ccc;}
|
||||
|
||||
#sbn_idx {position:relative;margin:0 0 30px}
|
||||
#sbn_idx .sbn_btn {z-index:100;position:absolute;top:50%}
|
||||
#sbn_idx .sbn_btn button {position:relative;top:-35px;margin:0;padding:0;width:70px;height:70px;border:0;background:transparent;overflow:hidden}
|
||||
#sbn_idx .sbn_btn span {display:block;width:100%;height:100%;background:url('img/sbn_btn.png')}
|
||||
#sbn_idx #sbn_btn_p {left:25px}
|
||||
#sbn_idx .sbn_btn #sbn_btn_prev span {background-position:0 0}
|
||||
#sbn_idx #sbn_btn_n {right:25px}
|
||||
#sbn_idx .sbn_btn #sbn_btn_next span {background-position:-70px 0}
|
||||
#sbn_idx ul {position:relative;overflow:hidden}
|
||||
#sbn_idx ul li {position:absolute;display:none;top:0;left:0}
|
||||
#sbn_idx ul li.sbn_first{display:block}
|
||||
|
||||
/* aside:장바구니 */
|
||||
#sbsk {margin:0 0 5px;padding:0 0 10px;border:1px solid #d5d5d5;background:#f2f5f9}
|
||||
#sbsk h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#sbsk ul {margin:0;padding:0;border:0;background:#fff;list-style:none}
|
||||
#sbsk a {display:block;padding:7px 10px 6px;border-bottom:1px solid #f4f4f4;text-decoration:none}
|
||||
#sbsk a:focus, #sbsk a:hover {background:#f9f9f9}
|
||||
#sbsk_empty {padding:15px 0;text-align:center}
|
||||
|
||||
/* aside:위시리스트 */
|
||||
#swish {margin:0 0 5px;padding:0 0 10px;border:1px solid #d5d5d5;background:#f2f5f9}
|
||||
#swish h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#swish ul {margin:0;padding:0;border:0;background:#fff;list-style:none}
|
||||
#swish a {display:block;padding:7px 10px 6px;border-bottom:1px solid #f4f4f4;text-decoration:none}
|
||||
#swish a:focus, #swish a:hover {background:#f9f9f9}
|
||||
#swish_empty {padding:15px 0;text-align:center}
|
||||
/*장바구니*/
|
||||
#sbsk .go_cart{display:block;height:40px;line-height:38px;font-weight:bold;text-align:center;width:100%}
|
||||
#sbsk .btn_buy{height:40px;margin:5px 0;font-weight:bold;text-align:center;width:100%}
|
||||
|
||||
/* ##### main(nn).skin.php, list.(nn).skin.php 공통 적용 시작 ##### */
|
||||
/* 공통 */
|
||||
.sct_wrap {position:relative;margin:0 0 30px;zoom:1}
|
||||
.sct_wrap {position:relative;margin:0 0 30px;text-align:center;zoom:1}
|
||||
.sct_wrap .sctrl {position:absolute;top:0;right:0} /* 애니메이션 효과 사용 시 재생 정지 버튼 등 */
|
||||
.sct_wrap:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sct_wrap header {margin:0 0 20px;zoom:1}
|
||||
.sct_wrap header:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sct_wrap h2 {float:left;margin:0 20px 0 0;padding:0;line-height:1em}
|
||||
.sct_wrap h2 {text-align:center;font-size:1.5em;margin:0 0 10px 0;display:inline-block;padding:0 0 7px;border-bottom:2px solid #000;line-height:1em}
|
||||
.sct_wrap h2 a {text-decoration:none}
|
||||
.sct_wrap_hdesc {float:left;margin:0;padding:0;color:#777;line-height:1em}
|
||||
|
||||
#sct {clear:both}
|
||||
|
||||
@ -104,8 +86,10 @@
|
||||
.sct_li {position:relative}
|
||||
.sct_noitem {padding:100px 0;text-align:center}
|
||||
.sct img {position:relative} /* 리스트뷰 갤러리뷰 변경 시 ie6,7 에서 이미지 사라지는 문제 해결하기 위해 */
|
||||
.sct_icon img {margin:0 1px 0 0}
|
||||
.sct_sns a {display:inline-block;margin:0 4px 0 0}
|
||||
.shop_icon{display:inline-block;color:#fff;background:#a8aab1;line-height:20px;padding:0 5px;font-size:0.92em;margin:1px; }
|
||||
.shop_icon_4{background:#ff7575;}
|
||||
.shop_icon_soldout{display:inline-block;color:#ff0000;font-style:italic;font-weight:bold;margin:2px}
|
||||
.shop_icon_coupon{background:#59d495}
|
||||
|
||||
/* 재생/정지/이전/다음 버튼 */
|
||||
.sctrl {margin:0;padding:0;list-style:none;zoom:1}
|
||||
@ -123,19 +107,23 @@
|
||||
.sctrl button.sctrl_next span.sctrl_on {background-position:-150px -30px}
|
||||
|
||||
/* 상품 목록 스킨 10 */
|
||||
.sct_10 .sct_li {position:relative;float:left;margin:0 25px 15px 0}
|
||||
.sct_10 .sct_li {position:relative;float:left;margin:0 15px 15px 0;text-align:center;}
|
||||
.sct_10 .sct_last {margin:0 0 15px !important}
|
||||
.sct_10 .sct_clear {clear:both}
|
||||
.sct_10 .sct_a {display:inline-block;position:relative;text-decoration:none}
|
||||
.sct_10 .sct_a:focus, .sct_10 .sct_a:hover {text-decoration:none}
|
||||
.sct_10 .sct_img {margin:0 0 10px}
|
||||
.sct_10 .sct_txt {margin:0 0 5px}
|
||||
.sct_10 .sct_icon {margin:0 0 10px}
|
||||
.sct_10 .sct_id {display:block;margin:0 0 5px}
|
||||
.sct_10 .sct_basic {margin:0 0 10px}
|
||||
.sct_10 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
|
||||
.sct_10 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
|
||||
.sct_10 .sct_sns {}
|
||||
.sct_10 .sct_img{position:relative}
|
||||
.sct_10 .sct_sns{display:none;position:absolute;bottom:10px;right:0px;text-align:center;z-index:60;width:100%}
|
||||
.sct_10 li:hover .sct_sns{display:block}
|
||||
.sct_10 .sct_sns a{display:inline-block;border-radius:50%;margin:2px ;width:40px;text-align:center;height:40px;padding:10px 0;background:rgba(0,0,0,0.4)}
|
||||
.sct_10 .sct_sns .share-facebook:hover{background:#415b92}
|
||||
.sct_10 .sct_sns .share-twitter:hover{background:#35b3dc}
|
||||
.sct_10 .sct_sns .share-googleplus:hover{background:#d5503a}
|
||||
.sct_10 .sct_sns img{width:18px}
|
||||
.sct_10 .sct_icon {margin:10px 0}
|
||||
.sct_10 .sct_cost {margin:10px 0;font-size:1.167em}
|
||||
.sct_10 .sct_cost .sct_discount{display:block;color:#999;font-size:0.92em;text-decoration:line-through;}
|
||||
.sct_10 .sct_txt{display:block;margin:10px 0;font-size:1.167em;font-weight:bold}
|
||||
.sct_10 .sct_basic{color:#666;margin:5px 0}
|
||||
.sct_10 .shop_icon_4{position:absolute;top:10px;left:10px;width:50px;height:50px;line-height:50px;font-size:14px;border-radius:50%;font-weight:bold}
|
||||
|
||||
/* 상품 목록 스킨 20 */
|
||||
.sct_20 .sct_li {position:relative;float:left;margin:0 25px 15px 0}
|
||||
@ -159,7 +147,7 @@
|
||||
.sct_30 .sct_clear {clear:both}
|
||||
.sct_30 .sct_arw_toleft {display:block;z-index:2;position:absolute;top:20px;left:221px;width:10px;height:19px;background:url('img/icon_arw_toleft.gif') no-repeat}
|
||||
.sct_30 .sct_a {text-decoration:none}
|
||||
.sct_30 .sct_img img {position:absolute;top:0;left:0}
|
||||
.sct_30 .sct_img {position:absolute;top:0;left:0}
|
||||
.sct_30 .sct_icon {position:absolute;bottom:25px;left:-5px;margin:0 !important}
|
||||
.sct_30 .sct_icon img {display:block;margin:0 0 3px}
|
||||
.sct_30 .sct_txt {display:inline-block;margin:0 0 20px}
|
||||
@ -169,23 +157,34 @@
|
||||
.sct_30 .sct_sns {position:absolute;bottom:20px;right:10px}
|
||||
|
||||
/* 상품 목록 스킨 40 */
|
||||
.sct_40 .sct_li {position:relative;margin:0 0 16px 0;border:1px solid #e9e9e9;background:#f5f6fa}
|
||||
.sct_40 .sct_li {position:relative;margin:0 0 16px 0;border:1px solid #dadada;background:#fff;width:475px;float:left}
|
||||
.sct_40 .sct_li:nth-child(2n+1){margin-right:15px}
|
||||
.sct_40 .sct_a {text-decoration:none}
|
||||
.sct_40 .sct_a:focus, .sct_40 .sct_a:hover {text-decoration:none}
|
||||
.sct_40 .sct_img {position:absolute;top:0;left:0}
|
||||
.sct_40 .sct_icon {position:absolute;bottom:25px;left:-5px;margin:0 !important}
|
||||
.sct_40 .sct_img {position:absolute;top:0;left:0;height:100%}
|
||||
.sct_40 .sct_img a{display:block}
|
||||
.sct_40 .sct_sns{display:none;position:absolute;bottom:10px;right:0px;text-align:center;z-index:60;width:100%}
|
||||
.sct_40 .sct_img:hover .sct_sns{display:block}
|
||||
.sct_40 .sct_sns a{display:inline-block;border-radius:50%;margin:2px ;width:40px;text-align:center;height:40px;padding:10px 0;background:rgba(0,0,0,0.4)}
|
||||
.sct_40 .sct_sns .share-facebook:hover{background:#415b92}
|
||||
.sct_40 .sct_sns .share-twitter:hover{background:#35b3dc}
|
||||
.sct_40 .sct_sns .share-googleplus:hover{background:#d5503a}
|
||||
.sct_40 .sct_sns img{width:18px}
|
||||
|
||||
.sct_40 .sct_icon {}
|
||||
.sct_40 .sct_icon img {display:block;margin:0 0 4px}
|
||||
.sct_40 .sct_txt {display:inline-block;margin:0 0 20px}
|
||||
.sct_40 .sct_basic {margin:0 0 15px;padding:0;line-height:1.5em}
|
||||
.sct_40 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
|
||||
.sct_40 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
|
||||
.sct_40 .sct_txt {display:block;margin:5px 0;font-size:1.167em;font-weight:bold}
|
||||
.sct_40 .sct_basic {color:#666;margin:5px 0}
|
||||
.sct_40 .sct_cost {margin:10px 0;font-size:1.167em}
|
||||
.sct_40 .sct_cost .sct_discount{display:block;color:#999;font-size:0.92em;text-decoration:line-through;}
|
||||
.sct_40 .sct_rel {position:absolute;bottom:20px;right:20px}
|
||||
.sct_40 .sct_rel_ul {margin:0;padding:0;list-style:none}
|
||||
.sct_40 .sct_rel_li {float:left;margin:0 0 0 10px}
|
||||
.sct_40 .sct_sns {padding:10px 0 0}
|
||||
.sct_40 .shop_icon_4{position:absolute;top:10px;left:10px;width:50px;height:50px;line-height:50px;font-size:14px;border-radius:50%;text-align:center;font-weight:bold}
|
||||
|
||||
/* 개인결제 목록 */
|
||||
.sct_pv .sct_li {position:relative;float:left;margin:0 25px 15px 0}
|
||||
.sct_pv .sct_li {position:relative;float:left;margin:0 15px 15px 0}
|
||||
.sct_pv .sct_last {margin:0 0 15px !important}
|
||||
.sct_pv .sct_clear {clear:both}
|
||||
.sct_pv .sct_a {display:inline-block;position:relative;text-decoration:none}
|
||||
@ -234,344 +233,436 @@
|
||||
.smt_30 .sct_sns {}
|
||||
|
||||
/* 메인 상품 목록 스킨 40 */
|
||||
.smt_40 {clear:both;position:relative}
|
||||
.smt_40 .sct_ul {display:none;position:absolute;top:0;left:0;margin:0;padding:0;list-style:none}
|
||||
.smt_40 .sct_ul_first {display:block}
|
||||
.smt_40 .sct_li {position:relative;float:left;margin:0 25px 15px 0}
|
||||
.smt_40 .sct_last {margin:0 0 15px !important}
|
||||
.smt_40 .sct_a {display:inline-block;position:relative;text-decoration:none}
|
||||
.smt_40 .sct_li {position:relative;margin:0 0 16px 0;border:1px solid #dadada;background:#fff;width:475px;float:left;text-align:left}
|
||||
.smt_40 .sct_li:nth-child(2n+1){margin-right:15px}
|
||||
.smt_40 .sct_a {text-decoration:none}
|
||||
.smt_40 .sct_a:focus, .smt_40 .sct_a:hover {text-decoration:none}
|
||||
.smt_40 .sct_img {margin:0 0 10px}
|
||||
.smt_40 .sct_txt {margin:0 0 5px}
|
||||
.smt_40 .sct_icon {margin:0 0 10px}
|
||||
.smt_40 .sct_id {display:block;margin:0 0 5px}
|
||||
.smt_40 .sct_basic {margin:0 0 10px}
|
||||
.smt_40 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
|
||||
.smt_40 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
|
||||
.smt_40 .sct_sns {}
|
||||
.smt_40 .sct_img {position:absolute;top:0;left:0;height:100%}
|
||||
.smt_40 .sct_img a{display:block}
|
||||
.smt_40 .sct_sns{display:none;position:absolute;bottom:10px;right:0px;text-align:center;z-index:60;width:100%}
|
||||
.smt_40 .sct_img:hover .sct_sns{display:block}
|
||||
.smt_40 .sct_sns a{display:inline-block;border-radius:50%;margin:2px ;width:40px;text-align:center;height:40px;padding:10px 0;background:rgba(0,0,0,0.4)}
|
||||
.smt_40 .sct_sns .share-facebook:hover{background:#415b92}
|
||||
.smt_40 .sct_sns .share-twitter:hover{background:#35b3dc}
|
||||
.smt_40 .sct_sns .share-googleplus:hover{background:#d5503a}
|
||||
.smt_40 .sct_sns img{width:18px}
|
||||
|
||||
.smt_40 .sct_icon {}
|
||||
.smt_40 .sct_icon img {display:block;margin:0 0 4px}
|
||||
.smt_40 .sct_txt {display:block;margin:5px 0;font-size:1.167em;font-weight:bold}
|
||||
.smt_40 .sct_basic {color:#666;margin:5px 0}
|
||||
.smt_40 .sct_cost {margin:10px 0;font-size:1.167em}
|
||||
.smt_40 .sct_cost .sct_discount{display:block;color:#999;font-size:0.92em;text-decoration:line-through;}
|
||||
.smt_40 .sct_rel {position:absolute;bottom:20px;right:20px}
|
||||
.smt_40 .sct_rel_ul {margin:0;padding:0;list-style:none}
|
||||
.smt_40 .sct_rel_li {float:left;margin:0 0 0 10px}
|
||||
.smt_40 .sct_sns {padding:10px 0 0}
|
||||
.smt_40 .shop_icon_4{position:absolute;top:10px;left:10px;width:50px;height:50px;line-height:50px;font-size:14px;border-radius:50%;text-align:center;font-weight:bold}
|
||||
|
||||
/* 메인 상품 목록 스킨 50 */
|
||||
.smt_50 {position:relative}
|
||||
.smt_50 .sct_ul {display:none;position:absolute;top:0;left:0;height:306px;margin:0;padding:0;list-style:none;overflow-y:hidden}
|
||||
.smt_50 .sct_ul_first {display:block}
|
||||
.smt_50 .sct_li {position:relative;float:left;position:relative;top:-306px;margin:0 25px 15px 0}
|
||||
.smt_50 .sct_last {margin:0 0 15px}
|
||||
.smt_50 .sct_a {display:inline-block;position:relative;text-decoration:none}
|
||||
.smt_50 .sct_a:focus, .smt_50 .sct_a:hover {text-decoration:none}
|
||||
.smt_50 .sct_img {margin:0 0 10px}
|
||||
.smt_50 .sct_txt {margin:0 0 5px}
|
||||
.smt_50 .sct_icon {margin:0 0 10px}
|
||||
.smt_50 .sct_id {display:block;margin:0 0 5px}
|
||||
.smt_50 .sct_basic {margin:0 0 10px}
|
||||
.smt_50 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
|
||||
.smt_50 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
|
||||
.smt_50 .sct_sns {}
|
||||
.smt_50 li{margin-bottom:10px;position:relative;padding-left:60px;min-height:50px;}
|
||||
.smt_50 .sct_img{width:50px;position:absolute;top:0;left:0;}
|
||||
.smt_50 .sct_img img{width:100%;height:auto}
|
||||
.smt_50 .sct_rank{position:absolute;top:0;left:0;background:#fb5861;display:block;width:20px;height:20px;line-height:20px;color:#fff;text-align:center;;z-index:10;font-weight:bold}
|
||||
.smt_50 .sct_txt a{color:#555;display:block;margin:0 0 3px;line-height:1.4em}
|
||||
.smt_50 .sct_cost{font-weight:bold}
|
||||
|
||||
.smt_50 .sct_li_1 {padding:0}
|
||||
.smt_50 .sct_li_1 .sct_txt a{margin-top:5px}
|
||||
.smt_50 .sct_li_1 .sct_img{width:100%;position:relative;}
|
||||
.smt_50 .sct_li_1 .sct_rank{width:30px;height:30px;line-height:30px;}
|
||||
|
||||
/* 관련상품 목록 스킨 10 */
|
||||
.scr_10 .sct_li {position:relative;float:left;margin:0 25px 15px 0}
|
||||
.scr_10 .sct_last {margin:0 0 15px !important}
|
||||
.scr_10 .sct_clear {clear:both}
|
||||
.scr_10 .sct_a {display:inline-block;position:relative;text-decoration:none}
|
||||
.scr_10 .sct_a:focus, .sct_10 .sct_a:hover {text-decoration:none}
|
||||
.scr_10 .sct_img {margin:0 0 10px}
|
||||
.scr_10 .sct_txt {margin:0 0 5px}
|
||||
.scr_10 .sct_icon {margin:0 0 10px}
|
||||
.scr_10 .sct_id {display:block;margin:0 0 5px}
|
||||
.scr_10 .sct_basic {margin:0 0 10px}
|
||||
.scr_10 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
|
||||
.scr_10 .sct_cost strike {display:block;margin:0 0 5px;color:#999;font-weight:normal}
|
||||
.scr_10 .sct_sns {}
|
||||
#sit_rel{border:1px solid #cdcdcd;padding:20px;margin:20px 0 40px;position:relative}
|
||||
#sit_rel h2{font-size:1.5em;margin:10px 0 20px;text-align:center}
|
||||
#sit_rel .bx-wrapper{margin:0 auto}
|
||||
#sit_rel .bx-prev{display:inline-block;position:absolute;top:50%;left:0;width:25px;height:50px;margin-top:-25px;border:1px solid #cdcdcd;border-left:0;text-indent:-999px;overflow:hidden;background:url('img/btn_prev.png') no-repeat 50% 50%;background-size:50%}
|
||||
#sit_rel .bx-next{display:inline-block;position:absolute;top:50%;right:0;width:25px;height:50px;margin-top:-25px;border:1px solid #cdcdcd;border-right:0;text-indent:-999px;overflow:hidden;background:url('img/btn_next.png') no-repeat 50% 50%;background-size:50%}
|
||||
.scr_10 li img{width:100%;height:auto}
|
||||
.scr_10 .sct_txt{margin:5px 0}
|
||||
.scr_10 .sct_cost{font-weight:bold}
|
||||
|
||||
/* ##### main(nn).skin.php, list.(nn).skin..php 공통 적용 끝 ##### */
|
||||
|
||||
/* 상품 목록 */
|
||||
#sct {}
|
||||
.sct_admin {margin:0 0 10px;text-align:right}
|
||||
|
||||
.sct_admin a{line-height:35px;padding:0 10px}
|
||||
/* 상품 목록 현재 위치 */
|
||||
#sct_location {margin:0 0 10px;border:1px solid #e9e9e9;background:#f2f5f9;letter-spacing:-4px}
|
||||
#sct_location a {display:inline-block;padding:10px 10px 8px;text-decoration:none;letter-spacing:0 !important}
|
||||
#sct_location {position:absolute;top:10px;right:0;}
|
||||
#sct_location a {display:inline-block;padding:10px 5px;text-decoration:none;letter-spacing:0 !important}
|
||||
.sct_here {font-weight:bold}
|
||||
.sct_bg {padding-right:15px !important;background:url('img/sct_bg_toright.gif') right 11px no-repeat}
|
||||
.sct_bg {padding-right:15px !important;background:url('img/sct_bg_toright.gif') right 50% no-repeat}
|
||||
|
||||
/* 상품 목록 카테고리 목록 */
|
||||
.sct_ct {}
|
||||
.sct_ct {margin:10px 0 20px}
|
||||
.sct_ct h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
.sct_ct ul {margin:0 0 10px;padding:10px;border-bottom:1px solid #e9e9e9;list-style:none;zoom:1}
|
||||
.sct_ct ul {;zoom:1}
|
||||
.sct_ct ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sct_ct a {text-decoration:none}
|
||||
.sct_ct_parent {font-weight:bold}
|
||||
.sct_ct_here {color:#ff3600 !important}
|
||||
|
||||
#sct_ct_1 li {float:left;margin:0 10px 10px 0;width:120px}
|
||||
#sct_ct_1 li {float:left;width:20%;border:1px solid #d7d7d7;margin-left:-1px;margin-top:-1px}
|
||||
#sct_ct_1 li a{display:block;padding:0 10px;line-height:40px}
|
||||
#sct_ct_1 li a:hover{background:#f3f3f3;color:#be334a;}
|
||||
#sct_ct_2 li {margin:0 0 10px}
|
||||
#sct_ct_2 a {display:inline-block;width:120px}
|
||||
#sct_ct_3 li {float:left;margin:0 10px 10px 0;width:120px}
|
||||
|
||||
/* 상품 정렬 리스트 스타일 선택 공통 */
|
||||
#sct_sortlst {zoom:1}
|
||||
#sct_sortlst {margin:20px 0;border-top:1px solid #000;border-bottom:1px solid #dfdfdf;zoom:1}
|
||||
#sct_sortlst:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
/* 상품 정렬 */
|
||||
#sct_sort {float:left;margin:0 0 10px;width:80%;zoom:1}
|
||||
#sct_sort {float:left;width:80%;zoom:1}
|
||||
#sct_sort:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sct_sort h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#sct_sort ul {margin:0;padding:0 0 0 1px;list-style:none;zoom:1}
|
||||
#sct_sort ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sct_sort li {float:left;position:relative;margin-left:-1px}
|
||||
|
||||
#sct_sort li {float:left;position:relative;margin-left:-1px;height:45px;padding:15px 0;line-height:15px;}
|
||||
#sct_sort li a{border-left:1px solid #ddd;display:block;padding:0 10px}
|
||||
#sct_sort li a:hover{color:#be334a}
|
||||
#sct_sort li:first-child a{border:0}
|
||||
/* 상품 리스트 스타일 선택 */
|
||||
#sct_lst {float:right;margin:0 0 10px;padding:0;list-style:none;zoom:1}
|
||||
#sct_lst {float:right;margin:0 0;padding:0;list-style:none;zoom:1}
|
||||
#sct_lst:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sct_lst li {position:relative;float:left;margin:0 0 0 -1px}
|
||||
#sct_lst button {position:relative;margin:0;padding:0;width:25px;height:25px;border:0;cursor:pointer;overflow:hidden}
|
||||
#sct_lst button span {position:absolute;top:0;left:0;width:23px;height:23px;border:1px solid #ccc;background:url('img/is_button.gif')}
|
||||
#sct_lst button.sct_lst_list span {background-position:0 0}
|
||||
#sct_lst button.sct_lst_list span.sct_lst_on {background-position:0 -30px}
|
||||
#sct_lst button.sct_lst_gallery span {background-position:-30px 0}
|
||||
#sct_lst button.sct_lst_gallery span.sct_lst_on {background-position:-30px -30px}
|
||||
#sct_lst li {position:relative;float:left}
|
||||
#sct_lst button {position:relative;margin:0;padding:0;width:45px;height:45px;border:0;cursor:pointer;background:#fff;border-right:1px solid #dfdfdf;font-size:15px}
|
||||
#sct_lst button.sct_lst_list {border-left:1px solid #dfdfdf}
|
||||
#sct_lst button .icon{display:block}
|
||||
|
||||
|
||||
/* 상품 상세보기 */
|
||||
#sit {margin:10px 0;border:1px solid #e9e9e9}
|
||||
#sit {margin:10px 0}
|
||||
.sit_admin {text-align:right}
|
||||
.sit_empty {padding:20px 0;text-align:center}
|
||||
.sit_admin a{line-height:35px;padding:0 10px}
|
||||
.sit_empty {padding:60px 0;text-align:center}
|
||||
|
||||
/* 상품 상세보기 - 개요 */
|
||||
#sit_ov_wrap {margin:0 0 20px;border-bottom:1px solid #e9e9e9;background:#f2f5f9;zoom:1}
|
||||
#sit_ov_wrap {margin:0;border-top:2px solid #000;zoom:1}
|
||||
#sit_ov_wrap:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
/* 상품 상세보기 - 이미지 미리보기 */
|
||||
#sit_pvi {float:left;padding:15px;width:320px}
|
||||
#sit_pvi {float:left;width:430px;padding:15px}
|
||||
#sit_pvi_big {margin:0 0 10px;text-align:center}
|
||||
#sit_pvi_big a {display:none}
|
||||
#sit_pvi_big a.visible {display:block}
|
||||
#sit_pvi_big img {}
|
||||
#sit_pvi_thumb {margin:0;padding:0;list-style:none;zoom:1}
|
||||
#sit_pvi_thumb {margin:0;padding:0;list-style:none;text-align:center;zoom:1}
|
||||
#sit_pvi_thumb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sit_pvi_thumb li {float:left;margin:0 5px 5px 0}
|
||||
#sit_pvi_thumb li {display:inline-block;margin:0 5px 5px 0}
|
||||
#sit_pvi_thumb .li_last {margin:0 !important}
|
||||
#sit_pvi_thumb img {}
|
||||
|
||||
#sit_pvi_nwbig {padding:10px 0;text-align:center}
|
||||
#sit_pvi_nwbig span {display:none}
|
||||
#sit_pvi_nwbig span.visible {display:inline}
|
||||
#sit_pvi_nw ul {margin:0 0 20px;padding:0 10px;list-style:none;zoom:1}
|
||||
#sit_pvi_nw ul {margin:0 0 20px;text-align:center;padding:0 10px;list-style:none;zoom:1}
|
||||
#sit_pvi_nw ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sit_pvi_nw li {float:left;margin:0 0 1px 1px}
|
||||
#sit_pvi_nw li {display:inline-block;margin:0 0 1px 1px}
|
||||
#sit_pvi_nw li img {width:60px;height:60px}
|
||||
|
||||
/* 상품 상세보기 - 간략정보 및 구매기능 */
|
||||
#sit_ov {position:relative;float:right;padding:50px 15px 15px;width:358px;height:auto !important;height:355px;min-height:355px}
|
||||
#sit_ov {position:relative;float:right;padding:20px 15px 15px;width:535px;height:auto !important;height:355px;min-height:355px}
|
||||
#sit_ov h3 {margin:0 0 10px}
|
||||
|
||||
#sit_title {margin:0 0 5px;font-size:1.3em}
|
||||
#sit_desc {margin:0 0 5px;padding:0;color:#999}
|
||||
#sit_title {margin:0 0 10px;font-size:1.500em}
|
||||
#sit_desc {margin:0 0 10px;padding:0;color:#474747;font-size:1.167em}
|
||||
#sit_opt_info {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
|
||||
|
||||
#sit_star_sns {position:absolute;top:15px;right:15px;color:#b8afa2;font-size:0.95em;letter-spacing:-0.1em}
|
||||
#sit_star_sns {position:relative;border:1px solid #e5e5e5;border-top:0;height:45px;padding:10px;line-height:25px }
|
||||
#sit_star_sns span {display:inline-block;margin:0 5px 0 0;color:#666;letter-spacing:0}
|
||||
#sit_star_sns .sit_star {position:relative;top:-2px;margin:0 5px 0 0}
|
||||
#sit_star_sns a {display:inline-block;vertical-align:middle}
|
||||
|
||||
.sit_ov_tbl {margin-bottom:20px;width:100%;border:0;border-collapse:collapse}
|
||||
.sit_ov_tbl th {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;font-weight:normal;text-align:left}
|
||||
.sit_ov_tbl td {padding:7px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
|
||||
#sit_star_sns a {display:inline-block;vertical-align:middle}
|
||||
#sit_star_sns .btn_sns_share{position:absolute;top:0;right:0;width:45px;height:45px;background:none;border:0;border-left:1px solid #e5e5e5}
|
||||
#sit_star_sns .sns_area{display:none;position:absolute;top:45px;right:0;background:#fff;border:1px solid #333;padding:10px;z-index:10}
|
||||
#sit_star_sns .sns_area:before{content: "";position: absolute;top: -8px;right: 13px;width: 0;height: 0;border-style: solid;border-width: 0 6px 8px 6px;border-color: transparent transparent #000 transparent;}
|
||||
#sit_star_sns .sns_area:after{content: "";position: absolute;top: -7px;right: 13px;width: 0;height: 0;border-style: solid;border-width: 0 6px 8px 6px;border-color: transparent transparent #fff transparent;}
|
||||
#sit_star_sns .sns_area a{display:inline-block;width:35px;height:35px;line-height:35px;background:#eee;text-align:center;}
|
||||
#sit_star_sns .sns_area a img{width:24px;height:auto;}
|
||||
#sit_star_sns .sns_area #sit_btn_rec {font-size:15px}
|
||||
#sit_star_sns .sns_area .share-googleplus{background:#d5503a}
|
||||
#sit_star_sns .sns_area .share-facebook{background:#415b92}
|
||||
#sit_star_sns .sns_area .share-twitter{background:#35b3dc}
|
||||
|
||||
|
||||
.sit_info{padding:10px ;border-top:1px solid #ebeff3;margin:15px 0 0;border-bottom:1px solid #ebeff3}
|
||||
|
||||
.sit_ov_tbl {width:100%;border:0;border-collapse:collapse;color:#666}
|
||||
.sit_ov_tbl th {font-weight:normal;text-align:left;}
|
||||
.sit_ov_tbl td {padding:5px 0}
|
||||
.sit_ov_tbl td strong{color:#000;font-size:1.25em}
|
||||
.sit_ov_ro {padding:2px 2px 3px;border:0;background:transparent;text-align:right;vertical-align:middle}
|
||||
.sit_ov_opt {padding:2px 2px 3px;border:0;background:transparent;vertical-align:middle}
|
||||
.sit_ov_input {margin:0 1px 0 0;padding:2px 2px 3px;border:1px solid #b8c9c2;background:transparent;vertical-align:middle}
|
||||
#sit_ov_tbl button {margin:0 1px 0 0}
|
||||
|
||||
.sit_option {padding:0 10px;border-bottom:1px solid #ebeff3;margin:10px 0 0}
|
||||
.sit_option label{display:block;margin:0 0 5px;color:#666}
|
||||
.sit_option select{width:100%;margin:0 0 10px;height:35px;border:1px solid #cdcdcd}
|
||||
.sit_option h3{font-size:1.083em}
|
||||
.sit_sel_btn {position:relative} /* 선택옵션용 추가 버튼 */
|
||||
.sit_sel_btn button {position:absolute;top:-51px;right:0 !important;right:15px}
|
||||
|
||||
#sit_sel_option h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
#sit_tot_price {margin:20px 0;font-size:1.3em;font-weight:bold}
|
||||
#sit_tot_price {margin:10px 0;font-size:1.167em;line-height:25px;font-weight:bold;text-align:right;}
|
||||
#sit_tot_price:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sit_tot_price span{float:left;}
|
||||
#sit_tot_price strong{font-size:1.5em;color:#ff0000}
|
||||
|
||||
#sit_ov_soldout {margin:0 0 20px;color:#ff3061;font-weight:bold;text-align:center}
|
||||
#sit_ov_soldout {padding:20px 0;margin:10px 0;color:#ff3061;background:#fff6f6;font-weight:bold;text-align:center}
|
||||
|
||||
#sit_ov_btn {text-align:right;letter-spacing:-3px}
|
||||
#sit_ov_btn a {display:inline-block;width:80px;height:30px;border:0;font-size:0.95em;vertical-align:middle;text-align:center;text-decoration:none;letter-spacing:-0.1em;line-height:2.8em;cursor:pointer}
|
||||
#sit_ov_btn input {display:inline-block;width:80px;height:30px;border:0;font-size:0.95em;text-align:center;text-decoration:none;letter-spacing:-0.1em;cursor:pointer}
|
||||
#sit_btn_buy {background:#ff5b89;color:#fff}
|
||||
#sit_btn_cart, #sit_btn_wish {background:#555;color:#fff}
|
||||
#sit_btn_rec {background:#888;color:#fff}
|
||||
|
||||
/* 상품 재입고 알림 (SMS) */
|
||||
#sit_sms_new {}
|
||||
#sit_sms_new #sms_agree {padding:10px 0;text-align:right}
|
||||
#sit_ov_btn:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sit_ov_btn button {width:215px;float:left;margin-right:5px;height:50px;margin-bottom:10px;font-weight:bold;font-size:1.25em}
|
||||
#sit_btn_buy {background:#d50c0c;color:#fff;border:0;}
|
||||
#sit_btn_buy:hover{background:#fd0f0f}
|
||||
#sit_btn_cart {border:1px solid #d50c0c;background:#fff;color:#d50c0c}
|
||||
#sit_btn_cart:hover{background:#f3f3f3}
|
||||
#sit_btn_wish{display:inline-block;margin-bottom:10px;text-align:center;font-size:1.25em;float:right;width:65px;height:50px;line-height:48px;height:50px;border:1px solid #b3b3b3;font-weight:bold}
|
||||
#sit_btn_wish:hover{color:#d50c0c}
|
||||
#sit_btn_alm{display:inline-block;width:215px;float:left;margin-right:5px;height:50px;line-height:50px;margin-bottom:10px;font-weight:bold;font-size:1.25em;background:#d50c0c;color:#fff;border:0;text-align:center;}
|
||||
|
||||
/* 상품 상세보기 - 다른 상품 보기 */
|
||||
#sit_siblings {clear:both;margin:0 0 20px;padding:0 0 20px;border-bottom:1px solid #e9e9e9;text-align:center}
|
||||
#sit_siblings {border:1px solid #e5e5e5;margin:15px 0 0;text-align:center;position:relative}
|
||||
#sit_siblings:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sit_siblings h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
|
||||
#sit_siblings a {display:inline-block;padding:8px 12px;border:1px solid #e9e9e9;background:#fff}
|
||||
#sit_siblings a#siblings_prev {float:left;margin:0 0 0 15px}
|
||||
#sit_siblings a#siblings_next {float:right;margin:0 15px 0 0}
|
||||
#sit_siblings a {display:inline-block;padding:0 12px;line-height:45px}
|
||||
#sit_siblings a#siblings_prev {position:absolute;top:0;left:0}
|
||||
#sit_siblings a#siblings_next {position:absolute;top:0;right:0}
|
||||
#sit_siblings a:hover{color:#be334a}
|
||||
#sit_siblings a span {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
|
||||
|
||||
/* 상품 재입고 알림 (SMS) */
|
||||
|
||||
#sit_sms_new {}
|
||||
#sit_sms_new #sms_agree {text-align:right ;}
|
||||
#sit_sms_new textarea{line-height:1.5em;color:#555}
|
||||
#sit_sms_new .prd_name{background:#f3f3f3;padding:15px 20px;font-weight:bold;font-size:1.167em}
|
||||
|
||||
/* 상품 상세보기 - 상품정보 */
|
||||
#sit_inf {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9}
|
||||
#sit_inf h2 {margin:0 0 10px}
|
||||
#sit_inf {margin:20px 0 }
|
||||
#sit_inf h2 {position:absolute;font-size:0;line-height:0;content:""}
|
||||
#sit_inf h3 {position:absolute;font-size:0;line-height:0;content:""}
|
||||
|
||||
#sit_inf_basic {margin:0 0 10px}
|
||||
#sit_inf_explan {margin:0 0 10px;width:auto !important;width:718px;overflow:hidden} /* ie6 미대응시 #sit_inf_explan {margin:0 0 10px} 만으로 충분 */
|
||||
#sit_inf_basic {margin:0 0 20px;line-height:1.7em}
|
||||
#sit_inf_explan {margin:0 0 10px;width:auto !important;line-height:1.7em;overflow:hidden} /* ie6 미대응시 #sit_inf_explan {margin:0 0 10px} 만으로 충분 */
|
||||
#sit_inf_explan img {max-width:100%;height:auto}
|
||||
|
||||
#sit_inf_open {width:100%;border:0;border-collapse:collapse}
|
||||
#sit_inf_open th {padding:7px 10px;border:1px solid #fff;background:#f2f5f9;vertical-align:top;text-align:left}
|
||||
#sit_inf_open td {padding:7px 10px;border:1px solid #fff;background:#f2f5f9;vertical-align:top}
|
||||
#sit_inf_open {width:100%;border:0;border-top:1px solid #777;border-collapse:collapse}
|
||||
#sit_inf_open th {padding: 10px;border-bottom:1px solid #e5e5e5;background:#f3f3f3;vertical-align:top;text-align:left}
|
||||
#sit_inf_open td {padding: 10px;border-bottom:1px solid #e5e5e5;background:#fff;vertical-align:top}
|
||||
|
||||
/* 상품 상세보기 - 사용후기 */
|
||||
#sit_use {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9}
|
||||
#sit_use h2 {margin:0 0 10px}
|
||||
#sit_use h3 {margin:0 0 10px}
|
||||
#sit_use {margin:20px 0}
|
||||
#sit_use h2 {position:absolute;font-size:0;line-height:0;content:""}
|
||||
#sit_use h3 {position:absolute;font-size:0;line-height:0;content:""}
|
||||
|
||||
#sit_use_ol {margin:0 0 5px;padding:0;border-top:1px solid #e9e9e9;list-style:none}
|
||||
.sit_use_li {position:relative;padding:0 0 10px;border-bottom:1px solid #e9e9e9;background:#f2f5f9}
|
||||
.sit_use_li_title {display:block;margin:0;padding:10px;width:100%;border:0;background:transparent;text-align:left;cursor:pointer}
|
||||
.sit_use_top{background:#f8f7f7;position:relative;border:1px solid #dad8d8;margin:20px 0 15px;padding:20px 40px;;line-height:45px;min-height:90px;vertical-align:middle}
|
||||
.sit_use_top h4{display:inline-block;font-size:1.5em;margin-right:15px}
|
||||
|
||||
.sit_use_dl {margin:0;padding:0 10px;zoom:1}
|
||||
.sit_use_top .st_bg{background:#666}
|
||||
#sit_use_wbtn {position:absolute;top:20px;right:30px}
|
||||
#sit_use_wbtn a{padding:0 20px;line-height:45px;font-weight:bold;font-size:1.167em}
|
||||
|
||||
#sit_use_ol {margin:0 0 5px;padding:0;border-top:1px solid #e0e0e0;list-style:none}
|
||||
.sit_use_li {position:relative;padding:10px;padding-left:150px;min-height:100px;border-bottom:1px solid #e0e0e0;}
|
||||
.sit_use_li_title {border:1px solid #ddd;padding:5px 8px;color:#666;font-size:0.92em;margin:10px 0;background:#fff}
|
||||
.sit_use_li_title:hover{background:#6b99ee;border-color:#6b99ee;color:#fff}
|
||||
.sit_use_tit{font-weight:bold;font-size:1.167em}
|
||||
|
||||
.sit_use_dl {margin:0;position:absolute;top:10px;left:10px;zoom:1}
|
||||
.sit_use_dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sit_use_dl dt {float:left;margin:2px 0 0}
|
||||
.sit_use_dl dd {float:left;margin:2px 20px 0 5px}
|
||||
.sit_use_star {margin:0 !important;padding:0 0 0 5px}
|
||||
.sit_use_dl dt{position:absolute;font-size:0;line-height:0;content:""}
|
||||
.sit_use_dl dd{color:#7f7f7f;line-height:1.5em}
|
||||
.sit_use_dl .sit_use_star {margin:0 0 8px}
|
||||
|
||||
.sit_use_con {display:none;padding:10px 10px 0}
|
||||
.sit_use_p {margin:0 0 10px;padding:10px;border:1px solid #e9e9e9;background:#fff}
|
||||
.sit_use_con {display:none;}
|
||||
.sit_use_p {margin:0 0 10px}
|
||||
.sit_use_cmd {text-align:right}
|
||||
.sit_use_cmd a{height:30px;line-height:28px}
|
||||
|
||||
.sit_use_reply{position:relative;border-top:1px dotted #bbb;margin:10px 0 0 ;padding:10px 0 0 40px}
|
||||
.use_reply_icon{position:absolute;top:10px;left:5px;background:url('./img/use_reply.png') no-repeat 0 0; width:28px;height:17px;text-indent:-999px;overflow:hidden;}
|
||||
.use_reply_tit{font-weight:bold;line-height:1.5em}
|
||||
.use_reply_name{font-size:0.92em;color:#777;margin:5px 0}
|
||||
.use_reply_p{padding:10px;border:1px solid #e9e9e9;background:#fff;line-height:1.5em}
|
||||
.use_reply_tit{font-weight:bold;line-height:1.5em;padding-right:100px}
|
||||
.use_reply_name{font-size:0.92em;color:#777;margin:5px ;position:absolute;top:10px;right:0}
|
||||
.use_reply_p{padding:10px 0;background:#fff;line-height:1.5em}
|
||||
|
||||
#sit_use_wbtn {margin:0 0 5px;text-align:right}
|
||||
|
||||
#sit_use_write {}
|
||||
#sit_use_write #is_subject {width:100%}
|
||||
#sit_use_write ul {margin:5px 0 0}
|
||||
#sit_use_write li {margin:0 0 5px}
|
||||
#sit_use_write li label {display:inline-block;width:80px}
|
||||
#sit_use_write_star {margin:0;padding:0;list-style:none}
|
||||
#sit_use_write_star:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sit_use_write_star li{float:left;width:33.333%}
|
||||
#sit_use_write_star li img{width:100px}
|
||||
|
||||
/* 상품 상세보기 - 상품문의 */
|
||||
#sit_qa {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9}
|
||||
#sit_qa h2 {margin:0 0 10px}
|
||||
#sit_qa h3 {margin:0 0 10px}
|
||||
#sit_qa {margin:20px 0}
|
||||
#sit_qa h2 {position:absolute;font-size:0;line-height:0;content:""}
|
||||
#sit_qa h3 {position:absolute;font-size:0;line-height:0;content:""}
|
||||
|
||||
#sit_qa_ol {margin:0 0 5px;padding:0;border-top:1px solid #e9e9e9;list-style:none}
|
||||
.sit_qa_li {position:relative;padding:0 0 10px;border-bottom:1px solid #e9e9e9;background:#f2f5f9}
|
||||
.sit_qa_li_title {display:block;margin:0;padding:10px;width:100%;border:0;background:transparent;text-align:left;cursor:pointer}
|
||||
#sit_qa_ol {margin:0 0 5px;padding:0;border-top:1px solid #e0e0e0;list-style:none}
|
||||
.sit_qa_li:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sit_qa_li {position:relative;border-bottom:1px solid #e0e0e0;padding:15px 10px }
|
||||
.sit_qa_li_title {display:block;float:left;width:80%;text-align:left;background:none;border:0;line-height:25px;font-weight:bold;font-size:1.167em}
|
||||
|
||||
.sit_qa_dl {margin:0;padding:0 10px;zoom:1}
|
||||
.sit_qa_dl {color:#7f7f7f;margin:0;float:left;width:20%;text-align:right;line-height:25px;zoom:1}
|
||||
.sit_qa_dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sit_qa_dl dt {float:left}
|
||||
.sit_qa_dl dd {float:left;margin:0 20px 0 5px}
|
||||
.sit_qaa_done {color:#ff3061}
|
||||
.sit_qaa_yet {color:#999}
|
||||
.sit_qa_dl dt {position:absolute;font-size:0;line-height:0;content:""}
|
||||
.sit_qa_dl dd {display:inline-block;margin-left:10px}
|
||||
.sit_qaa_done {background:#ff9000;color:#fff;height:25px;line-height:25px;display:inline-block;padding:0 8px;margin-right:10px;font-size:12px;font-weight:normal}
|
||||
.sit_qaa_yet {background:#fff;border:1px solid #ff9000;color:#ff9000;height:25px;line-height:23px;display:inline-block;margin-right:10px;font-size:12px;padding:0 8px;font-weight:normal}
|
||||
|
||||
.sit_qa_con {display:none;padding:10px 10px 0}
|
||||
.sit_qa_p {margin:0 0 10px;padding:10px;border:1px solid #e9e9e9;background:#fff}
|
||||
.sit_qa_p strong {display:inline-block;margin:0 0 10px}
|
||||
.sit_qa_qaq {margin:0 0 20px}
|
||||
.sit_qa_con {display:none;clear:both;margin:20px 0 0}
|
||||
.sit_qa_p {margin:10px 0 ;background:#f3f3f3;line-height:1.5em}
|
||||
.sit_qa_p .qa_alp{position:absolute;top:15px;left:25px;font-size:2em;color:#bbb}
|
||||
.sit_qa_qaa{padding:20px;padding-left:70px;position:relative;min-height:100px;border-top:1px solid #ddd;}
|
||||
.sit_qa_qaq {padding:20px;padding-left:70px;position:relative;min-height:100px}
|
||||
.sit_qa_con textarea {display:none}
|
||||
.sit_qa_cmd {text-align:right}
|
||||
.sit_qa_cmd a{height:30px;line-height:28px}
|
||||
|
||||
.sit_qa_pw {display:none;position:absolute;top:30px;left:175px;padding:10px;width:348px;border:1px solid #000;background:#fff;text-align:center}
|
||||
.sit_qa_pw span {display:block;margin:0 0 5px}
|
||||
|
||||
#sit_qa_wbtn {margin:0 0 5px;text-align:right}
|
||||
#sit_qa_wbtn {text-align:right;margin:0 0 20px}
|
||||
#sit_qa_wbtn a{padding:0 20px;line-height:45px;font-weight:bold;font-size:1.167em}
|
||||
|
||||
#sit_qa_write {}
|
||||
#sit_qa_write #iq_subject {width:100%}
|
||||
|
||||
|
||||
/* 상품 상세보기 - 배송정보 */
|
||||
#sit_dvr {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9}
|
||||
#sit_dvr h2 {margin:0 0 10px}
|
||||
#sit_dvr {margin:20px 0}
|
||||
#sit_dvr h2 {position:absolute;font-size:0;line-height:0;content:""}
|
||||
|
||||
/* 상품 상세보기 - 교환정보 */
|
||||
#sit_ex {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9}
|
||||
#sit_ex h2 {margin:0 0 10px}
|
||||
#sit_ex {margin:20px 0}
|
||||
#sit_ex h2 {position:absolute;font-size:0;line-height:0;content:""}
|
||||
|
||||
|
||||
/* 상품 상세보기 - 관련상품 */
|
||||
#sit_rel {margin:0 0 10px;padding:10px 10px 0}
|
||||
#sit_rel h2 {margin:0 0 10px}
|
||||
#sit_rel .sct_wrap li {margin:0 10px 0 0}
|
||||
#sit_rel .sct_last {margin:0 !important}
|
||||
|
||||
/* 사용후기 모음 */
|
||||
#sps_sch {margin:0 0 10px}
|
||||
#sps_sch a {display:inline-block;padding:0 8px;height:21px;background:#333;color:#fff;text-decoration:none;vertical-align:middle;line-height:1.9em}
|
||||
#sps_sch .btn_submit {padding:0 8px;height:24px;vertical-align:middle}
|
||||
#sps_sch a {display:inline-block;padding:0 8px;height:40px;line-height:40px;vertical-align:top;border-radius:3px;background:#fff;color:#3059c7;font-weight:bold;border:1px solid #3059c7;text-decoration:none;}
|
||||
#sps_sch .sch_wr{border:1px solid #6d7892;border-radius:3px;display:inline-block}
|
||||
#sps_sch:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sps_sch select{border:0;;margin:9px 5px ;height:20px;float:left;border-right:1px solid #ddd;}
|
||||
#sps_sch .sch_input{height:38px;border:0;padding:0;background-color:transparent;float:left}
|
||||
#sps_sch .sch_btn{height:38px;float:left;background:none;border:0;width:40px;font-size:15px}*/
|
||||
|
||||
|
||||
#sps {zoom:1}
|
||||
#sps ol {margin:0;padding:0;border-top:1px solid #e9e9e9;list-style:none}
|
||||
#sps li {position:relative;padding:10px;border-bottom:1px solid #e9e9e9}
|
||||
#sps li:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
.sps_img {float:left;margin:0 10px 0 0;width:70px}
|
||||
.sps_img {float:left;margin:0 10px 0 0;}
|
||||
.sps_img img{border-radius:50%}
|
||||
.sps_img span {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
.sps_reply{margin-top:10px;padding-top:10px;border-top:1px dotted #bbb}
|
||||
.sps_reply .sps_img {text-align:right;width:70px;}
|
||||
.sps_reply .sps_section h2{background:url('./img/use_reply.png') no-repeat 0 0;text-indent:30px;line-height:1.5em;}
|
||||
|
||||
#sps dl {margin:5px 0 10px;zoom:1}
|
||||
#sps dl {margin:5px 0;zoom:1}
|
||||
#sps dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sps dt {float:left}
|
||||
#sps dd {float:left;margin:0 20px 0 5px}
|
||||
#sps dd {float:left;margin:0 10px 0 0 ;color:#999}
|
||||
#sps dd img {position:relative;top:-2px}
|
||||
|
||||
.sps_section {float:left;width:640px}
|
||||
.sps_section {float:left;width:835px}
|
||||
.sps_section p {padding:0;width:100%}
|
||||
.sps_con_full {padding:0;height:auto !important}
|
||||
.sps_con_btn {margin:5px 0 0;text-align:right}
|
||||
.sps_con_btn button {margin:0;padding:5px;border:0;background:#565e60;color:#fff}
|
||||
.sps_con_btn {clear:both}
|
||||
.sps_con_btn button {border:1px solid #ddd;padding:5px 8px;color:#666;font-size:0.92em;margin:5px 0;background:#fff}
|
||||
.sps_con_btn button:hover{background:#6b99ee;border-color:#6b99ee;color:#fff}
|
||||
|
||||
|
||||
/* 상품문의 모음 */
|
||||
#sqa_sch {margin:0 0 10px}
|
||||
#sqa_sch a {display:inline-block;padding:0 8px;height:21px;background:#333;color:#fff;text-decoration:none;vertical-align:middle;line-height:1.9em}
|
||||
#sqa_sch .btn_submit {padding:0 8px;height:24px;vertical-align:middle}
|
||||
#sqa_sch a {display:inline-block;padding:0 8px;height:40px;line-height:40px;vertical-align:top;border-radius:3px;background:#fff;color:#3059c7;font-weight:bold;border:1px solid #3059c7;text-decoration:none;}
|
||||
#sqa_sch .sch_wr{border:1px solid #6d7892;border-radius:3px;display:inline-block}
|
||||
#sqa_sch:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sqa_sch select{border:0;;margin:9px 5px ;height:20px;float:left;border-right:1px solid #ddd;}
|
||||
#sqa_sch .sch_input{height:38px;border:0;padding:0;background-color:transparent;float:left}
|
||||
#sqa_sch .sch_btn{height:38px;float:left;background:none;border:0;width:40px;font-size:15px}*/
|
||||
|
||||
#sqa {zoom:1}
|
||||
#sqa ol {margin:0;padding:0;border-top:1px solid #e9e9e9;list-style:none}
|
||||
#sqa li {position:relative;padding:10px;border-bottom:1px solid #e9e9e9}
|
||||
#sqa li:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
.sqa_img {float:left;margin:0 10px 0 0;width:80px}
|
||||
.sqa_img span {position:absolute;font-size:0;line-height:0}
|
||||
.sqa_img {float:left;margin:0 10px 0 0;}
|
||||
.sqa_img img{border-radius:50%}
|
||||
.sqa_img span {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
#sqa dl {margin:5px 0 10px;zoom:1}
|
||||
#sqa dl:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#sqa dt {float:left}
|
||||
#sqa dd {float:left;margin:0 20px 0 5px}
|
||||
#sqa dd img {position:relative;top:-2px}
|
||||
#sqa dd {float:left;margin:0 10px 0 0 ;color:#999}
|
||||
|
||||
.sqa_section {float:left;width:630px}
|
||||
.sqa_section .sqa_con {padding:10px;background:#f2f5f9;line-height:1.7em}
|
||||
#sqa dd img {position:relative;top:-2px}
|
||||
.sqa_con {margin:10px 0 ;background:#f3f3f3;line-height:1.5em}
|
||||
.sqa_con .qa_alp{position:absolute;top:15px;left:25px;font-size:2em;color:#bbb}
|
||||
|
||||
.sqa_section {float:left;width:835px}
|
||||
.sqa_section .sqa_con {background:#f3f3f3;line-height:1.7em}
|
||||
.sqa_section p {padding:0;width:100%}
|
||||
.sqa_con_full {padding:0;height:auto !important}
|
||||
.sqa_con_btn {margin:5px 0 0;text-align:right}
|
||||
.sqa_con_btn button {margin:0;padding:5px;border:0;background:#565e60;color:#fff}
|
||||
.sqa_con_btn {margin:5px 0 0;}
|
||||
.sqa_con_btn button {border:1px solid #ddd;padding:5px 8px;color:#666;font-size:0.92em;margin:5px 0;background:#fff}
|
||||
.sqa_con_btn button:hover{background:#6b99ee;border-color:#6b99ee;color:#fff}
|
||||
|
||||
/* 상품검색 */
|
||||
#ssch_frm {margin:20px 0;border:1px solid #d7d7d7;zoom:1}
|
||||
#ssch_frm h2{border-bottom:1px solid #d7d7d7;color:#888;font-size:1.25em;height:50px;line-height:30px;padding:10px 15px;}
|
||||
#ssch_frm h2 span{font-size:1.333em;color:#000}
|
||||
#ssch_frm h2 strong{color:#d50c0d}
|
||||
#ssch_frm .ssch_scharea{border-bottom:1px solid #d7d7d7;height:50px;padding:10px 15px}
|
||||
#ssch_frm .ssch_scharea:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ssch_frm .ssch_scharea label{display:inline-block;margin:0 8px 0 0}
|
||||
#ssch_frm .ssch_left{float:left}
|
||||
#ssch_frm .ssch_right{float:right}
|
||||
#ssch_frm .ssch_input{height:30px;border:1px solid #bbb;padding:0 10px}
|
||||
#ssch_frm .btn_submit{height:30px;padding:0 5px;font-weight:bold}
|
||||
#ssch_frm p{padding:15px; background:#f5f5f5;color:#737373}
|
||||
|
||||
|
||||
#ssch_cate{margin:10px 0 }
|
||||
#ssch_cate ul {margin:10px 0;zoom:1}
|
||||
#ssch_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ssch_cate li {float:left;width:20%;border:1px solid #d7d7d7;margin-left:-1px;margin-top:-1px}
|
||||
#ssch_cate a {display:block;padding:0 10px;line-height:40px}
|
||||
#ssch_cate a:hover{background:#f3f3f3;color:#d50c0d}
|
||||
|
||||
#ssch_sort {float:left;width:80%;zoom:1}
|
||||
#ssch_sort:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ssch_sort h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#ssch_sort ul {margin:0;padding:0 0 0 1px;list-style:none;zoom:1}
|
||||
#ssch_sort ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ssch_sort li {float:left;position:relative;margin-left:-1px;height:45px;padding:15px 0;line-height:15px;}
|
||||
#ssch_sort li a{border-left:1px solid #ddd;display:block;padding:0 10px}
|
||||
#ssch_sort li a:hover{color:#be334a}
|
||||
#ssch_sort li:first-child a{border:0}
|
||||
|
||||
/*쿠폰존 리스트*/
|
||||
.couponzone_list{margin:0 0 50px;}
|
||||
.couponzone_list h2{margin:0 0 5px}
|
||||
.couponzone_list p{margin:0 0 5px;}
|
||||
.couponzone_list{margin:0 0 50px;position:relative;}
|
||||
.couponzone_list h2{margin:0 0 15px;padding-bottom:10px;font-size:1.25em;border-bottom:2px solid #000}
|
||||
.couponzone_list p{margin:0 0 5px;position:absolute;top:5px;right:0;color:#666}
|
||||
.couponzone_list ul{padding:0;margin:0;list-style:none}
|
||||
.couponzone_list ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.couponzone_list ul li{float:left;width:230px;height:210px;border:1px solid #e9e9e9;background:#f2f6f9;padding:0;margin:0 10px 10px 0;line-height:1.2em}
|
||||
.couponzone_list ul li{float:left;width:233px;border:1px solid #ddd;background:#fff;padding:15px;;margin:0 0 10px 10px;line-height:1.2em}
|
||||
.couponzone_list ul li:nth-child(4n+1){clear:both;margin-left:0;}
|
||||
.couponzone_list ul li img{width:100%;height:auto}
|
||||
.couponzone_list ul li .coupon_img{height:100px;overflow:hidden;border-bottom:1px solid #e9e9e9}
|
||||
.couponzone_list ul li .coupon_tit{margin:10px 10px 5px;font-weight:bold;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}
|
||||
.couponzone_list ul li .coupon_date{margin: 5px 10px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}
|
||||
.couponzone_list ul li .coupon_target{margin: 5px 10px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}
|
||||
.couponzone_list ul li .coupon_point{margin: 5px 10px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}
|
||||
.couponzone_list ul li .coupon_btn{margin:10px;text-align:center}
|
||||
.couponzone_list ul li .coupon_btn .btn02{width:60%;padding:7px 0;background:#ec2037;border-color:#c92033}
|
||||
.couponzone_list ul li .coupon_img{}
|
||||
.couponzone_list ul li .coupon_tit{margin:10px 0 5px;font-weight:bold;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}
|
||||
.couponzone_list ul li .coupon_date{margin: 5px 0px;font-size:0.92em;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:#777}
|
||||
.couponzone_list ul li .coupon_target{margin: 5px 0px;font-size:0.92em;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:#777}
|
||||
.couponzone_list ul li .coupon_target a{color:#777;text-decoration:underline}
|
||||
.couponzone_list ul li .coupon_point{margin: 5px 0px;font-size:0.92em;;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:#777}
|
||||
.couponzone_list ul li .coupon_btn{margin:10px 0 0;text-align:center}
|
||||
.couponzone_list ul li .coupon_btn .btn02{width:100%;height:35px;line-height:35px;border-color:#d50c0c;color:#d50c0c;background:#fff;font-weight:bold;}
|
||||
.couponzone_list ul li .coupon_btn .btn02:hover{background:#d50c0c;color:#fff}
|
||||
.couponzone_list ul li .coupon_btn .disabled {background: #ddd;border:1px;color:#999;border-color:#ddd}
|
||||
.couponzone_list .no_coupon{padding: 100px 0;text-align:center;color:#999}
|
||||
#point_coupon li{height:230px;}
|
||||
.couponzone_list ul li .coupon_btn .disabled:hover {background: #ddd;border:1px;color:#999;border-color:#ddd}
|
||||
.couponzone_list .no_coupon{position:relative;padding: 100px 0;text-align:center;color:#999}
|
||||
|
||||