/home/mjc1/public_html/j3demo/skin/main/maincate03.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php
Global $configshop$cinfo;

$cur_img_url $j3_img_url."/".$sk['sk_img_path'];

if(
$orderkey==''){    $orderkey "d.code2, p_sort, a.code desc"; }

$row_list $sk['sk_line_cnt'];
$limit $sk['sk_max_cnt'];
$box_width $sk['sk_box_width'];
$img_width $sk['sk_img_width'];
$img_height $sk['sk_img_height'];
if (
$page 1) { $page 1; }
$cateinfo cate_info_get($sk['sk_bn_pos']);
$list prod_list_by_cate($cateinfo['lv2_cate_code'],$orderkey,1,$row_list,$limit); // 해당 분류의 상품을 가져온다.

if($skin_css!=''){
    echo 
$skin_css;
} else {
?>
<style>
/*스페셜*/
#section_wrap span{font-size:14px;font-weight:400;color:#676767;}
.main_option_04{display:table;}
.main_option_04 li{position: relative;float: left;margin-right: 13px;text-align: center;margin-top: 20px;border: 1px solid #a9a9a9;padding: 8.5px;}
.main_option_04 li:last-child{margin-right:0;}
.main_option_04 .sct_img a img{margin-bottom:10px;}
.sct_best_num{position: absolute;left: -5px;top: -5px; width: 45px;height: 47px; background: url('./img/sct_best_num.png')no-repeat;    z-index: 9999;color:#fff;font-size:18px;text-align:left;padding: 5px 10px;}
.best_sct_color{color: #616161;}
.main_option_04 .sct_icon_dotted{border-top: 1px dotted #b9b6b6;height:30px;margin-top: 15px;padding-top: 3px;}
.sct_icon_dotted .sct_icon{display: inline-block;}
.sct_more{margin-top: 50px !important;width: 300px;margin: 0 auto;border-radius: 30px;}
.sct_more a{height:50px;line-height:50px;}
.option_line_b3{border-bottom: 3px solid #4e4e4e;}
.option_04_more {padding:5px 10px;border: 1px solid #888888;}

</style>
<?php }?>

        <!--가장 핫한 신상품-->
        <section id="section_wrap" class="mt40 mb40 class_skin_idx_<?php echo $sk_idx;?>">
            <div id="wrapper">
                <div class="p20_0">
                    <h2 class="txt21 option_line_b3 pb20">스페셜[Special]<span class="ml10">마음을 쿠잉블룸의 아름다운 꽃으로 전하세요.</span>
                    <div class="float_r txt13 option_04_more bg_white" onclick="document.location.href='<?php echo "{$j3_shop_url}/list.php?code={$sk['sk_bn_pos']}";?>'">전체보기&gt;</div></h2>
                    <ul class="main_option_04 mt20">        
<?php
    $cnt 
0;
    foreach(
$list as $key=>$info){

        
$info['img_url'] = get_it_thumbnail($info['code'],$info['pic1'],$img_width$img_height);

?>
                        <li class="sct_li" style="width:<?php echo $box_width;?>px;">
                            <div class="sct_img"><a class="sct_a" href="<?php echo $info['href'];?>"><img src="<?php echo $info['img_url'];?>" alt=""></a></div>
                            <div class="sct_title"><a href="<?php echo $info['href'];?>" class="ellipsis txt14 bold mt5 block"><?php echo $info['name']?></a></div>
                            <div class="sct_txt "><a href="<?php echo $info['href'];?>" class="ellipsis txt13 mt5 block best_sct_color"><?php echo $info['remarks'];?></a></div>
                            <div class="sct_basic "><a href="<?php echo $info['href'];?>" class="ellipsis txt13 mt5 block best_sct_color"><?php echo $info['norm'];?></a></div>
                            <div class="sct_cost mt5">
                            <?php if($configshop['price_level']<=$cinfo['mb_lv']){ // 가격표시권한이 있을경우만?>
                            <a href="<?php echo $info['href'];?>">
                                <?php if($info['marketprice']>0){?><strike class="txt13 best_sct_color"><?php echo $info['marketprice'];?></strike>    <?php }?>                        
                                <em class="cost2 txt16"><?php echo $info['saleprice'];?></em><span class="txt13 best_sct_color">원</span>
                            </a>
                            <?php } else { echo "&nbsp;"; } ?>
                            </div>
                            <div class="sct_icon_dotted">
<?php include("./list_ico.inc.php"); // 리스트에서 아이콘 처리 ?>
<?php 
include("../shop/list_cart.inc.php"); // 리스트에서 장바구니/보관함 담기 모듈 ?>
                            </div>
                        </li>
<?php
        $cnt
++;
    }
?>    
                    </ul>
                    <!--<div class="sct_more"><a href="#">BEST ITEM 전체보기 &gt;</a></div>-->
                </div>
            </div><!--wrapper-->
        </section>