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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
<?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> /*꽃다발*/ #main_option_01{padding-top:15px;padding-bottom:15px;} #main_option_01 h2{border-bottom: 4px solid #fedfe1;display: inline-block;padding: 0 10px 3px;margin-bottom: 5px;} #main_option_01 h2 span{font-weight:400;color:#565656;margin-left: 10px;} #main_option_01 .new_list li{position: relative;float:left;text-align: left;margin:2.1%; margin-bottom: 0;} #main_option_01 .new_list .sct_img a img{margin-bottom:10px;} #main_option_01 .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;} #main_option_01 .best_sct_color{color: #616161;} #main_option_01 .new_list .sct_icon_dotted{border-top: 1px dotted #b9b6b6;height:30px;margin-top: 5px;padding-top: 7px;} #main_option_01 .sct_icon_dotted .sct_icon{display: inline-block;} #main_option_01 .sct_more{width: 260px;margin: 0 auto;border-radius: 30px;border: 1px solid #ccc;margin-top:15px;} #main_option_01 .sct_more a{display: block;height: 40px;line-height: 40px;font-size: 14px;font-weight: 600;text-align: center;} #main_option_01 .sct_icon img{height:16px;width:auto;} </style> <script> $(function(){ setTimeout(function(){ $(".class_skin_idx_<?php echo $sk_idx;?> .bx").bxSlider({ mode: 'vertical', slideWidth: 1200, auto : true, pager:true, controls:false, minSlides:2, maxSlides:2, moveSlides:1 }); },500); }); </script> <?php }?> <!--꽃다발--> <section id="main_option_01" class="class_skin_idx_<?php echo $sk_idx;?>"> <div class="align_c"> <h2 class="txt17 align_c"><?php if($sk['sk_title']!=''){ echo $sk['sk_title']; }?></h2> <p class="txt12 align_c mt3"><?php if($sk['sk_desc']!=''){?><?php echo $sk['sk_desc'];?><?php }?></p> <div class='bx'> <?php $cnt = 0; foreach($list as $key=>$info){ if($cnt==0){ // 첫번째일경우 ul을 일단 세팅한다. echo "<ul class=\"new_list p20_0 width_full mt15 in_block\">"; } if($cnt>0 && $cnt%$row_list==0){ // 새로운 ul 처리 echo "</ul>".chr(10)."<ul class=\"new_list p20_0 width_full mt15 in_block\">"; }
$info['img_url'] = get_it_thumbnail($info['code'],$info['pic1'],$img_width, $img_height);
?> <li class="width_half"> <div class="sct_img"><a class="sct_a" href="<?php echo $info['href'];?>"><img src="<?php echo $info['img_url'];?>" alt="" class="width_full"></a></div> <div class="sct_title"><a href="<?php echo $info['href'];?>" class="ellipsis txt12 bold block mt3"><?php echo $info['name']?></a></div> <div class="sct_txt "><a href="<?php echo $info['href'];?>" class="ellipsis txt12 block best_sct_color mt3"><?php echo $info['remarks'];?></a></div> <div class="sct_basic "><a href="<?php echo $info['href'];?>" class="ellipsis txt12 block best_sct_color mt3"><?php echo $info['norm'];?></a></div> <div class="sct_cost mt3"> <?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 }?> <p class="txt12 best_sct_color cost2">가격 : <em class="bold txt14" style="color:#000;"><?php echo $info['saleprice'];?></em>원</p> </a> <?php } ?> </div> <div class="sct_icon_dotted"> <?php include("./list_ico.inc.php"); // 리스트에서 아이콘 처리 ?> <?php include("../shop/list_cart.inc.php"); // 리스트에서 장바구니/보관함 담기 모듈 ?> </div> </li> <?php $cnt++; } echo "</ul>"; ?> </div> <div class="sct_more"><a href="<?php echo "{$j3_shop_url}/list.php?code={$sk['sk_bn_pos']}";?>"><?php if($sk['sk_title']!=''){ echo $sk['sk_title']; }?> 전제보기 ></a></div> </div> </section> <script> $(function(){ li_max_height_align(".class_skin_idx_<?php echo $sk_idx;?> .sct_li",""); }); </script>
|