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
|
<?php $cur_img_url = $j3_img_url."/".$sk['sk_img_path']; $bn_pos = $sk['sk_bn_pos']; // 배너 위치
if($skin_css!=''){ echo $skin_css; } else { ?> <style> .event_title{line-height: 22px;padding: 0 0 15px;border-bottom: 1px solid #ddd;margin-bottom: 20px;font-size: 22px;} .event_title span{font-size:14px;font-weight:400;color:#565656;} .event_title span:before{content: "ㅣ";padding:0 10px;color:#565656;font-size:12px;} .event_title button{float: right;background: #fff;border: 1px solid #ddd;padding: 5px 10px;font-size:14px; font-weight:600;color:#6e6e6e;} .event_title button:hover{color:#60b23b;border: 1px solid #60b23b;} .event_item_list li{float:left;margin-right:15px;width:390px;height:310px; position: relative; border: 1px solid #d6d6d6;margin-bottom:20px;} .event_item_list li:nth-child(3n){margin-right:0;} .event_item_img{overflow: hidden;width: 100%;height: 210px;background-color: #f2f2f2;} .event_item_img img{width:390px;height:210px} .event_item_type{position: absolute;left: 0px;top: 0;width: 50px;height: 35px;padding: 0;line-height: 38px;color: #fff;background-color: #fd5b45;text-align:center;font-size:15px;font-weight:600;} .event_item_type:after {content: '';position: absolute;left: 0;top: 100%;width: 0;height: 0;border: 25px solid transparent;border-top-width: 0;border-bottom-width: 10px;border-left-color: #fd5b45;border-right-color: #fd5b45;} .event_item_tit{margin:10px;text-align:center;} .event_item_tit p:first-child{font-size:26px;font-weight:600;color:#151515;padding:20px 10px 10px;} .event_item_tit p:last-child{font-size:16px;font-weight:600;color:#7e7e7e;} .event_item_go{position: absolute;right: 10px;bottom: 10px;background: #7f7f7f;width: 30px;height: 30px;text-align: center;border-radius: 50px;color: #fff;font-weight: bold;line-height: 25px;}
.event_item_list li a:hover .event_item_go{background:#fd5b45} </style> <?php }?>
<section id="main_section" class="class_skin_idx_<?php echo $sk_idx;?>"> <div id="wrapper"> <div> <h2 class="event_title"><?php if($sk['sk_title']!=''){ echo $sk['sk_title']; } else {?>HOT PICK! 기획전<?php }?> <span><?php if($sk['sk_desc']!=''){ echo $sk['sk_desc']; } else {?>현재 진행중인 이벤트입니다.<?php }?></span> <button class='evt_more_btn'>more+</button> </h2> <?php echo event_display($bn_pos,"ev_banner04.php",$sk_idx); ?> </div><!-- //smt_40 --> </div><!--wrapper--> </section>
|