@ -324,12 +324,23 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important
|
||||
.sct_10 .sct_li {float:left;margin:0 25px 0 0;width:230px}
|
||||
.sct_10 .sct_last {margin:0 !important}
|
||||
.sct_10 .sct_a {display:block;position:relative;font-weight:bold;text-decoration:none}
|
||||
.sct_10 .sct_img {display:block;margin:0 0 10px}
|
||||
.sct_10 b {display:block;margin:0 0 5px;font-weight:normal}
|
||||
.sct_10 .sct_img {display:block;margin:0 0 15px}
|
||||
.sct_10 b {display:block;margin:0 0 8px;font-weight:normal}
|
||||
.sct_10 .sct_icon {position:absolute;top:10px;left:-5px;margin:0 !important}
|
||||
.sct_10 .sct_icon img {display:block}
|
||||
.sct_10 .sct_sns {position:absolute;top:190px;right:20px}
|
||||
|
||||
/* 상품 목록 스킨 11 */
|
||||
.sct_11 .sct_li {float:left;margin:0 25px 0 0;width:230px}
|
||||
.sct_11 .sct_last {margin:0 !important}
|
||||
.sct_11 .sct_a {display:block;position:relative;padding:0 0 5px;background:#f7f7f7;font-weight:bold;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 .sct_cost {display:block;margin:0 0 10px;padding:0 5px}
|
||||
.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}
|
||||
|
||||
/* 상품 상세보기 */
|
||||
.sit_icon {display:inline-block;margin:0 0 0 4px}
|
||||
.sit_icon img {margin:0 4px 0 0}
|
||||
|
||||
@ -14,7 +14,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
<a href="<?php echo $href; ?>" class="sct_a">
|
||||
<span class="sct_img"><?php echo get_it_image($row['it_id']."_s", $img_width, $img_height, '', $type); ?></span>
|
||||
<b><?php echo stripslashes($row['it_name']); ?></b>
|
||||
<?php echo display_amount(get_amount($row), $row['it_tel_inq']); ?>
|
||||
<span class="sct_cost"><?php echo display_amount(get_amount($row), $row['it_tel_inq']); ?></span>
|
||||
<span class="sct_icon">
|
||||
<?php // 이미지 아이콘
|
||||
echo display_item_icon($row);
|
||||
|
||||
32
shop/maintype11.inc.php
Normal file
32
shop/maintype11.inc.php
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
// $list_mod 가로 나열 수
|
||||
?>
|
||||
|
||||
<?php
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$href = G4_SHOP_URL.'/item.php?it_id='.$row['it_id'];
|
||||
if (($i+1)%$list_mod == 0) $sct_last = 'sct_last';
|
||||
else $sct_last = '';
|
||||
if ($i == 0) 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']."_s", $img_width, $img_height, '', $type); ?></span>
|
||||
<b><?php echo stripslashes($row['it_name']); ?></b>
|
||||
<span class="sct_cost"><?php echo display_amount(get_amount($row), $row['it_tel_inq']); ?></span>
|
||||
<span class="sct_icon">
|
||||
<?php // 이미지 아이콘
|
||||
echo display_item_icon($row);
|
||||
?>
|
||||
</span>
|
||||
</a>
|
||||
<div class="sct_sns">
|
||||
<a href="#"><img src="<?php echo G4_URL; ?>/img/shop/sns_fb.png" alt="페이스북에 공유"></a>
|
||||
<a href="#"><img src="<?php echo G4_URL; ?>/img/shop/sns_twt.png" alt="트위터에 공유"></a>
|
||||
<a href="#"><img src="<?php echo G4_URL; ?>/img/shop/sns_goo.png" alt="구글플러스에 공유"></a>
|
||||
</div>
|
||||
</li>
|
||||
<?php }
|
||||
if ($i > 0) echo '</ul>';
|
||||
?>
|
||||
Reference in New Issue
Block a user