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
|
<?php $cur_img_url = $j3_imgm_url."/".$sk['sk_img_path'];
if($skin_css!=''){ echo $skin_css; } else { ?> <style> .main-sidebar {position:fixed;top:0;bottom:0;width:70%;} .main-sidebar-wrapper {position:relative;width:100%;height:100%;overflow-y:auto;overflow-x:hidden;} .btn_go {background:url('<?php echo $cur_img_url;?>/ico_go.png') top right no-repeat} </style> <?php } $cate_array = cate_lv0_list_get(); ?> <!-- 좌측메뉴 -->
<script src="<?php echo $j3_js_url;?>/simple-sidebar/dist/jquery.simpler-sidebar.min.js"></script> <script> $(document).ready(function() { <?php if(!($sample_idx!='' && $pos=='menu')){?> $('#main-sidebar').simplerSidebar({ opener: '.lnb_open', top: 0, animation: { easing: "easeOutQuint" }, sidebar: { closingLinks: '.close-sb', width:270, align:'left' } }); <?php }?> $("#main-sidebar").show(); }); </script>
<div id="main-sidebar" class="main-sidebar class_skin_idx_<?php echo $sk_idx;?>" style='display:none;'> <div id="main-sidebar-wrapper" class="main-sidebar-wrapper bg_gray2"> <nav> <div class="height_full"> <h1 class="p7_0 p0_10 height26 bg_custom2"> <!-- 로그인 전 --> <?php if($id_ccode==''){ ?> <a href="<?php echo $j3_shopm_url;?>/login.php" class="block width80 height24 l_height24 align_c circle white_line"><span class="white txt14 bold">로그인</span></a> <?php } else {?> <a href="<?php echo $j3_shopp_url;?>/logout.php" class="block float_l width80 height24 l_height24 align_c circle white_line"><span class="white txt14 bold">로그아웃</span></a><em class="ml10 white txt15 l_height26"><?php echo $id_cname;?><span class="txt12 normal">님</span></em> <?php }?>
<a href="#" class="close-sb absolute ab_top7_right10 box24"><img src="<?php echo $cur_img_url;?>/ico_close.png" alt="" class="box_full"></a> </h1>
<article id="gnb" class="block over_h"> <h2 class="mt15 pl10 height24 gray2 txt14">카테고리</h2> <ul> <?php for($i=0;$i<count($cate_array);$i++){ $cate = $cate_array[$i]; if($i%2==1){ $mr1_class = " "; } else { $mr1_class = " mr1 "; } ?> <li class="float_l <?php echo $mr1_class; ?> mb1 pl_4 width_half height37 l_height32 bg_gray4"><a href="<?php echo "{$j3_shop_url}/list.php?code={$cate['code2']}";?>" class="block mt3 white txt13 bold space_1"> <?php if(file_exists("{$j3_data_path}/ico/cate_{$cate['code']}")){?><img src="<?php echo "{$j3_data_url}/ico/cate_{$cate['code']}";?>" alt="<?php echo $cate['name'];?>" class="mr5 box17"><?php }?><?php echo $cate['name'];?></a> </li> <?php }?> </ul> </article>
<article class="mb10 block over_h"> <h2 class="mt15 pl10 height24 gray2 txt14">회원 바로가기</h2> <ul class="p0_10"> <?php if($id_ccode==''){ ?> <li class="float_l mr1 mb1 pl10 width_half height35 l_height35 bg_white"><a class="block mt3 gray3 txt13 bold space_1 btn_go hdgnb_join_class">회원가입</a></li> <!--<li class="float_l mb1 pl10 width_half height35 l_height35 bg_white"><a class="block mt3 gray3 txt13 bold space_1 btn_go hdgnb_login_class">로그인</a></li>--> <?php } else {?> <li class="float_l mr1 mb1 pl10 width_half height35 l_height35 bg_white"><a class="block mt3 gray3 txt13 bold space_1 btn_go hdgnb_mypage_class">마이페이지</a></li> <!--<li class="float_l mb1 pl10 width_half height35 l_height35 bg_white"><a class="block mt3 gray3 txt13 bold space_1 btn_go hdgnb_logout_class">로그아웃</a></li>--> <?php }?> <li class="float_l mb1 pl10 width_half height35 l_height35 bg_white"><a class="block mt3 gray3 txt13 bold space_1 btn_go hdgnb_faq_class">FAQ</a></li> <li class="float_l mr1 mb1 pl10 width_half height35 l_height35 bg_white"><a class="block mt3 gray3 txt13 bold space_1 btn_go hdgnb_11_class">1:1문의</a></li> <li class="float_l mb1 pl10 width_half height35 l_height35 bg_white"><a class="block mt3 gray3 txt13 bold space_1 btn_go hdgnb_cart_class">장바구니</a></li> <li class="float_l mr1 mb1 pl10 width_half height35 l_height35 bg_white"><a class="block mt3 gray3 txt13 bold space_1 btn_go hdgnb_order_class">주문리스트</a></li> <li class="float_l mb1 pl10 width_half height35 l_height35 bg_white"><a class="block mt3 gray3 txt13 bold space_1 btn_go hdgnb_wish_class">위시리스트</a></li> </ul> </article>
<footer class="pt10 pb15 width_full align_c bg_custom2"> <h2 class="black txt14 l_height14">CS center</h2> <a class="height24 white txt24 bold" href='tel:<?php echo $configshop['telno1'];?>'><?php echo $configshop['telno1'];?></a> <p class="gray3 txt11 l_height16 space_1"><?php echo nl2br($configshop['work_time']);?></p> </footer> </div> </nav> </div> </div> <!-- //좌측메뉴 -->
|