/home/mjc1/public_html/j3demo/skin/event/hevent01.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
<?php
Global $ev_info$ev_list;
$cur_img_url $j3_img_url."/".$sk['sk_img_path'];

if(
$skin_css!=''){
    echo 
$skin_css;
} else {
?>
<!-- 상단 카테고리 내 위치 -->
<style>
#sct_location {display:block;height:32px;z-index:9999;}
#sct_location > a:first-child {line-height:30px;}
#sct_location > a {float:left;height:30px;line-height:30px;}
#sct_location > span {float:left;width:8px;height:16px;margin:7px 16px 0;}

.cate_select {position:relative;float:left;width:198px;height:30px;}
.icon_inequal {display:block;float:right;width:16px;height:16px;text-indent:-9999px;background:url('<?php echo $cur_img_url;?>/location.png') -4px -50px no-repeat;overflow:hidden;zoom:1}
.icon_down {position:absolute;top:50%;right:15px;display:block;width:16px;height:10px;margin-top:-5px;overflow:hidden;zoom:1;vertical-align:top;background:url('<?php echo $cur_img_url;?>/location.png') 0 -94px no-repeat;}
.cate_select .select {display:block;padding-right:30px;text-indent:15px;height:30px;line-height:28px;background:#fff;border:1px solid #ccc;overflow:hidden;}
.cate_select .depth {display:none;position:absolute;top:30px;left:0;width:198px;background-color:#fff;border:1px solid #ccc;border-top:0 none;}
.cate_select .depth > li a {display:block;text-indent:15px;width:100%;height:29px;line-height:29px;border-bottom:1px solid #ccc;overflow:hidden;}
.cate_select .depth > li a:hover {background:#fafafa;}

#sct_search {position:absolute;right:0px;top:0px;}
#sct_search input[type=text] {padding-left:7px;width:188px;height:30px;border:1px solid #ccc;}
#sct_search input[type=image] {display:block;float:right;padding:4px 5px;text-indent:-9999px;border:1px solid #ccc;border-left:0px none;overflow:hidden;zoom:1;}/
</style>
<?php }?>
<div class="class_skin_idx_<?php echo $sk_idx;?>">
        <div id="sct_location" class="mt20 mb40">
            <a href="<?php echo $j3_shop_url;?>">홈</a>
            <span class="icon_inequal"> > </span>
            <div class="cate_select">
                <a class="select">이벤트</a>
            </div>
            
        </div><!-- #sct_location -->

        <h2 class="relative mb30 txt32 l_height30 align_c bold"><?php echo $ev_info['ev_subject'];?></h2>

        <!-- 상품정렬상단 시작 { -->
        <div class="relative block width_wide height30 mb10" style="z-index:15;">
            <div class="sort_select absolute ab_top_right width400 height30" style="z-index:9999;">
                <a class="block pr30 indent15 l_height28 gray_line">--이벤트목록--<span class="icon_down"></span></a>
                <ul class="absolute ab_top30_left bg_white gray_line line_t0" style="display:none;">
<?php
    
foreach($ev_list as $key=>$info){
        echo    
"    <li><a class=\"block indent15 width398 height30 l_height28 gray_line_b\" href='{$j3_shop_url}/event.php?idx={$info['idx']}'>{$info['ev_subject']}</a></li> ";
    }
?>
                </ul>
            </div>
<script>
$(function() {
    $(".cate_select, .sort_select").mouseenter(function(){
        $(this).children("ul").slideDown();    
    });
    $(".cate_select, .sort_select").mouseleave(function(){
        $(this).children("ul").slideUp();    
    });
});
</script>
        </div>
        <!-- } 상품정렬상단 끝 -->
</div>
<!-- //상단 카테고리 내 위치 -->