display_type 및 이미지 경로 수정
This commit is contained in:
79
skin/shop/basic/style.css
Normal file
79
skin/shop/basic/style.css
Normal file
@ -0,0 +1,79 @@
|
||||
|
||||
/* ##### maintype(nn).inc.php, list.skin.(nn).php 공통 적용 시작 ##### */
|
||||
/* 공통 */
|
||||
.sct_wrap {margin:0 0 30px;zoom:1}
|
||||
.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 a {text-decoration:none}
|
||||
.sct_wrap_hdesc {float:left;margin:0;padding:0;color:#777;line-height:1em}
|
||||
|
||||
.sct {margin:0;padding:0;list-style:none;zoom:1}
|
||||
.sct:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.sct_li {position:relative}
|
||||
.sct_noitem {padding:100px 0;text-align:center}
|
||||
|
||||
/* 상품 목록 스킨 10 */
|
||||
.sct_10 .sct_li {float:left;margin:0 25px 15px 0;}
|
||||
.sct_10 .sct_last {margin:0 0 15px !important}
|
||||
.sct_10 .sct_clear {clear:both}
|
||||
.sct_10 .sct_a {display:block;position:relative;text-decoration:none}
|
||||
.sct_10 .sct_a:focus, .sct_10 .sct_a:hover {text-decoration:none}
|
||||
.sct_10 .sct_img {display:block;margin:0 0 15px}
|
||||
.sct_10 b {display:block;margin:0 0 8px;font-weight:normal}
|
||||
.sct_10 s {display:block}
|
||||
.sct_10 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
|
||||
.sct_10 .sct_icon {}
|
||||
.sct_10 .sct_icon img {}
|
||||
.sct_10 .sct_sns {position:absolute;top:190px;right:20px}
|
||||
|
||||
/* 상품 목록 스킨 11 */
|
||||
.sct_11 .sct_li {float:left;margin:0 25px 15px 0;}
|
||||
.sct_11 .sct_last {margin:0 0 15px !important}
|
||||
.sct_11 .sct_clear {clear:both}
|
||||
.sct_11 .sct_a {display:block;position:relative;padding:0 0 5px;background:#f5f6fa;text-decoration:none}
|
||||
.sct_11 .sct_a:focus, .sct_11 .sct_a:hover {text-decoration:none}
|
||||
.sct_11 .sct_img {display:block;margin:0 0 15px}
|
||||
.sct_11 b {display:block;margin:0 0 8px;padding:0 5px;font-weight:normal}
|
||||
.sct_11 s {display:block}
|
||||
.sct_11 .sct_cost {display:block;margin:0 0 10px;padding:0 5px;font-weight:bold}
|
||||
.sct_11 .sct_icon {position:absolute;top:10px;left:-5px;margin:0 !important}
|
||||
.sct_11 .sct_icon img {display:block}
|
||||
.sct_11 .sct_sns {position:absolute;bottom:10px;right:10px}
|
||||
|
||||
/* 상품 목록 스킨 12 */
|
||||
.sct_12 .sct_li {float:left;margin:0 16px 15px 0;}
|
||||
.sct_12 .sct_last {margin:0 0 15px !important}
|
||||
.sct_12 .sct_clear {clear:both}
|
||||
.sct_12 .sct_arw_toleft {display:block;z-index:2;position:absolute;top:20px;left:221px;width:10px;height:19px;background:url('../img/shop/icon_arw_toleft.gif') no-repeat}
|
||||
.sct_12 .sct_a {display:block;position:relative;padding:20px 10px 20px 240px;width:110px;height:190px;border:1px solid #e9e9e9;background:#f5f6fa;text-decoration:none}
|
||||
.sct_12 .sct_a:focus, .sct_12 .sct_a:hover {text-decoration:none}
|
||||
.sct_12 .sct_img {position:absolute;top:0;left:0}
|
||||
.sct_12 b {display:block;margin:0 0 15px;font-size:1.2em;letter-spacing:-0.1em}
|
||||
.sct_12 p {margin:0 0 15px;padding:0;line-height:1.5em}
|
||||
.sct_12 s {display:block}
|
||||
.sct_12 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
|
||||
.sct_12 .sct_icon {position:absolute;bottom:25px;left:-5px;margin:0 !important}
|
||||
.sct_12 .sct_icon img {display:block}
|
||||
.sct_12 .sct_sns {position:absolute;bottom:20px;right:10px}
|
||||
|
||||
/* 상품 목록 스킨 13 */
|
||||
.sct_13 .sct_li {float:left;margin:0 0 16px 0;width:100%}
|
||||
.sct_13 .sct_last {}
|
||||
.sct_13 .sct_clear {clear:both}
|
||||
.sct_13 .sct_arw_toleft {display:block;z-index:2;position:absolute;top:20px;left:221px;width:10px;height:19px;background:url('../img/shop/icon_arw_toleft.gif') no-repeat}
|
||||
.sct_13 .sct_a {display:block;position:relative;padding:20px 10px 20px 240px;height:190px;border:1px solid #e9e9e9;background:#f5f6fa;text-decoration:none}
|
||||
.sct_13 .sct_a:focus, .sct_13 .sct_a:hover {text-decoration:none}
|
||||
.sct_13 .sct_img {position:absolute;top:0;left:0}
|
||||
.sct_13 b {display:block;margin:0 0 15px;font-size:1.2em;letter-spacing:-0.1em}
|
||||
.sct_13 p {margin:0 0 15px;padding:0;line-height:1.5em}
|
||||
.sct_13 s {display:block}
|
||||
.sct_13 .sct_cost {display:block;margin:0 0 10px;font-weight:bold}
|
||||
.sct_13 .sct_icon {position:absolute;bottom:25px;left:-5px;margin:0 !important}
|
||||
.sct_13 .sct_icon img {display:block}
|
||||
.sct_13 .sct_rel {position:absolute;bottom:20px;right:20px}
|
||||
.sct_13 .sct_rel_ul {margin:0;padding:0;list-style:none}
|
||||
.sct_13 .sct_rel_li {float:left;margin:0 0 0 10px}
|
||||
.sct_13 .sct_sns {position:absolute;top:20px;right:20px}
|
||||
/* ##### maintype(nn).inc.php, list.skin.(nn).php 공통 적용 끝 ##### */
|
||||
41
skin/shop/basic/type10.skin.php
Normal file
41
skin/shop/basic/type10.skin.php
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
// $list_mod 가로 나열 수
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $shop_skin_url ?>/style.css">
|
||||
|
||||
<!-- 상품진열 10 시작 { -->
|
||||
<?php
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
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';
|
||||
}
|
||||
|
||||
$href = G4_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$sns_url = G4_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||
|
||||
if ($i == 1) echo '<ul class="sct sct_10">';
|
||||
?>
|
||||
<li class="sct_li <?php echo $sct_last; ?>">
|
||||
<a href="<?php echo $href; ?>" class="sct_a">
|
||||
<span class="sct_img"><?php echo get_it_image($row['it_id'], $img_width, $img_height); ?></span>
|
||||
<b><?php echo stripslashes($row['it_name']); ?></b>
|
||||
<span class="sct_cost"><?php echo display_price(get_price($row), $row['it_tel_inq']); ?></span>
|
||||
<span class="sct_icon">
|
||||
<?php echo item_icon($row); // 이미지 아이콘?>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
if ($i > 1) echo '</ul>';
|
||||
|
||||
if($i == 1) echo '<p class="sct_noitem">등록된 상품이 없습니다.</p>';
|
||||
?>
|
||||
<!-- } 상품진열 10 끝 -->
|
||||
41
skin/shop/basic/type11.skin.php
Normal file
41
skin/shop/basic/type11.skin.php
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
// $list_mod 가로 나열 수
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $shop_skin_url ?>/style.css">
|
||||
|
||||
<!-- 상품진열 11 시작 { -->
|
||||
<?php
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
$href = G4_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';
|
||||
}
|
||||
|
||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||
$sns_url = G4_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
if ($i == 1) echo '<ul class="sct sct_11">';
|
||||
?>
|
||||
<li class="sct_li <?php echo $sct_last; ?>">
|
||||
<a href="<?php echo $href; ?>" class="sct_a">
|
||||
<span class="sct_img"><?php echo get_it_image($row['it_id'], $img_width, $img_height); ?></span>
|
||||
<b><?php echo stripslashes($row['it_name']); ?></b>
|
||||
<span class="sct_cost"><?php echo display_price(get_price($row), $row['it_tel_inq']); ?></span>
|
||||
<span class="sct_icon">
|
||||
<?php// echo display_item_icon($row); // 이미지 아이콘?>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
if ($i > 1) echo '</ul>';
|
||||
|
||||
if($i == 1) echo '<p class="sct_noitem">등록된 상품이 없습니다.</p>';
|
||||
?>
|
||||
<!-- } 상품진열 11 끝 -->
|
||||
43
skin/shop/basic/type12.skin.php
Normal file
43
skin/shop/basic/type12.skin.php
Normal file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
// $list_mod 가로 나열 수
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $shop_skin_url ?>/style.css">
|
||||
|
||||
<!-- 상품진열 12 시작 { -->
|
||||
<?php
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
$href = G4_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';
|
||||
}
|
||||
|
||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||
$sns_url = G4_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
if ($i == 1) echo '<ul class="sct sct_12">';
|
||||
?>
|
||||
<li class="sct_li <?php echo $sct_last; ?>">
|
||||
<a href="<?php echo $href; ?>" class="sct_a">
|
||||
<span class="sct_arw_toleft"></span>
|
||||
<span class="sct_img"><?php echo get_it_image($row['it_id'], $img_width, $img_height); ?></span>
|
||||
<b><?php echo stripslashes($row['it_name']); ?></b>
|
||||
<p><?php echo $row['it_basic']; ?></p>
|
||||
<span class="sct_cost"><?php echo display_price(get_price($row), $row['it_tel_inq']); ?></span>
|
||||
<span class="sct_icon">
|
||||
<?php// echo display_item_icon($row); // 이미지 아이콘?>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
if ($i > 1) echo '</ul>';
|
||||
|
||||
if($i == 1) echo '<p class="sct_noitem">등록된 상품이 없습니다.</p>';
|
||||
?>
|
||||
<!-- } 상품진열 12 끝 -->
|
||||
46
skin/shop/basic/type13.skin.php
Normal file
46
skin/shop/basic/type13.skin.php
Normal file
@ -0,0 +1,46 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
// $list_mod 가로 나열 수
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $shop_skin_url ?>/style.css">
|
||||
|
||||
<!-- 상품진열 13 시작 { -->
|
||||
<?php
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
$href = G4_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';
|
||||
}
|
||||
|
||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||
$sns_url = G4_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
if ($i == 1) echo '<ul class="sct sct_13">';
|
||||
?>
|
||||
<li class="sct_li <?php echo $sct_last; ?>">
|
||||
<a href="<?php echo $href; ?>" class="sct_a">
|
||||
<span class="sct_arw_toleft"></span>
|
||||
<span class="sct_img"><?php echo get_it_image($row['it_id'], $img_width, $img_height); ?></span>
|
||||
<b><?php echo stripslashes($row['it_name']); ?></b>
|
||||
<p><?php echo $row['it_basic']; ?></p>
|
||||
<span class="sct_cost"><?php echo display_price(get_price($row), $row['it_tel_inq']); ?></span>
|
||||
<span class="sct_icon">
|
||||
<?php echo item_icon($row); // 이미지 아이콘?>
|
||||
</span>
|
||||
</a>
|
||||
<div class="sct_rel">
|
||||
<?php echo relation_item($row['it_id'], 70, 70, 5); // 관련 상품 ?>
|
||||
</div>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
if ($i > 1) echo '</ul>';
|
||||
|
||||
if($i == 1) echo '<p class="sct_noitem">등록된 상품이 없습니다.</p>';
|
||||
?>
|
||||
<!-- } 상품진열13 끝 -->
|
||||
46
skin/shop/basic/type90.skin.php
Normal file
46
skin/shop/basic/type90.skin.php
Normal file
@ -0,0 +1,46 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
// $list_mod 가로 나열 수
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $shop_skin_url ?>/style.css">
|
||||
|
||||
<!-- 상품진열 10 시작 { -->
|
||||
<?php
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
$href = G4_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';
|
||||
}
|
||||
|
||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||
$sns_url = G4_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
if ($i == 1) echo '<ul class="sct sct_10">';
|
||||
?>
|
||||
<li class="sct_li <?php echo $sct_last; ?>">
|
||||
<a href="<?php echo $href; ?>" class="sct_a">
|
||||
<span class="sct_img"><?php echo get_it_image($row['it_id'], $img_width, $img_height); ?></span>
|
||||
<b><?php echo stripslashes($row['it_name']); ?></b>
|
||||
<span class="sct_cost"><?php echo display_price(get_price($row), $row['it_tel_inq']); ?></span>
|
||||
<span class="sct_icon">
|
||||
<?php //echo display_item_icon($row); // 이미지 아이콘?>
|
||||
</span>
|
||||
</a>
|
||||
<div class="sct_sns">
|
||||
<?php echo get_sns_share_link('facebook', $sns_url, $sns_title, G4_SHOP_URL.'/img/sns_fb.png'); ?>
|
||||
<?php echo get_sns_share_link('twitter', $sns_url, $sns_title, G4_SHOP_URL.'/img/sns_twt.png'); ?>
|
||||
<?php echo get_sns_share_link('googleplus', $sns_url, $sns_title, G4_SHOP_URL.'/img/sns_goo.png'); ?>
|
||||
</div>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
if ($i > 1) echo '</ul>';
|
||||
|
||||
if($i == 1) echo '<p class="sct_noitem">등록된 상품이 없습니다.</p>';
|
||||
?>
|
||||
<!-- } 상품진열 10 끝 -->
|
||||
46
skin/shop/basic/type91.skin.php
Normal file
46
skin/shop/basic/type91.skin.php
Normal file
@ -0,0 +1,46 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
// $list_mod 가로 나열 수
|
||||
?>
|
||||
|
||||
<link rel="stylesheet" href="<?php echo $shop_skin_url ?>/style.css">
|
||||
|
||||
<!-- 상품진열 11 시작 { -->
|
||||
<?php
|
||||
for ($i=1; $row=sql_fetch_array($result); $i++) {
|
||||
$href = G4_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';
|
||||
}
|
||||
|
||||
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
|
||||
$sns_url = G4_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
|
||||
if ($i == 1) echo '<ul class="sct sct_11">';
|
||||
?>
|
||||
<li class="sct_li <?php echo $sct_last; ?>">
|
||||
<a href="<?php echo $href; ?>" class="sct_a">
|
||||
<span class="sct_img"><?php echo get_it_image($row['it_id'], $img_width, $img_height); ?></span>
|
||||
<b><?php echo stripslashes($row['it_name']); ?></b>
|
||||
<span class="sct_cost"><?php echo display_price(get_price($row), $row['it_tel_inq']); ?></span>
|
||||
<span class="sct_icon">
|
||||
<?php echo display_item_icon($row); // 이미지 아이콘?>
|
||||
</span>
|
||||
</a>
|
||||
<div class="sct_sns">
|
||||
<?php echo get_sns_share_link('facebook', $sns_url, $sns_title, G4_URL.'/img/shop/sns_fb.png'); ?>
|
||||
<?php echo get_sns_share_link('twitter', $sns_url, $sns_title, G4_URL.'/img/shop/sns_twt.png'); ?>
|
||||
<?php echo get_sns_share_link('googleplus', $sns_url, $sns_title, G4_URL.'/img/shop/sns_goo.png'); ?>
|
||||
</div>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
if ($i > 1) echo '</ul>';
|
||||
|
||||
if($i == 1) echo '<p class="sct_noitem">등록된 상품이 없습니다.</p>';
|
||||
?>
|
||||
<!-- } 상품진열 11 끝 -->
|
||||
Reference in New Issue
Block a user