first commit
This commit is contained in:
94
application/views/skin/m/_body.php
Executable file
94
application/views/skin/m/_body.php
Executable file
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
|
||||
$SES_MEMBER_ID = $this->session->userdata('C_Member_Id');
|
||||
$title = ''; $main_img = ''; $content_txt = '';
|
||||
if(isset($arr_content['title'])==true) {
|
||||
$title = $arr_content['title'];
|
||||
$title = str_replace("'", "\\'", $title);
|
||||
$title = str_replace('"', '\\"', $title);
|
||||
}
|
||||
if(isset($arr_content['main_img'])==true) $main_img = $arr_content['main_img'];
|
||||
if(isset($arr_content['content'])==true) {
|
||||
$content = $arr_content['content'];
|
||||
$content_txt = preg_replace("(\<(/?[^\>]+)\>)", "", $content);
|
||||
$content_txt = strip_tags($content_txt);
|
||||
$content_txt = str_replace("'", "\\'", $content_txt);
|
||||
$content_txt = str_replace('”', '"', $content_txt);
|
||||
$content_txt = mb_strimwidth($content_txt, '0', '250', '..', 'utf-8');
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="naver-site-verification" content="894ba0807460988349b1e131377b26966e347fc1"/>
|
||||
<meta name="google-site-verification" content="CitaOJM4btglyBtNxZFYymBBzh3g7Pb9PxKl9YF8jDg" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta charset="utf-8">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" />
|
||||
<meta property="fb:app_id" content="961578337335000" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="<?=CROSSMAP_URL?>" />
|
||||
<meta property="og:title" content="<?=$title?>" />
|
||||
<meta property="og:description" content="<?=$content_txt?>" />
|
||||
<meta property="og:image" content="<?=WWW_CROSSMAP?><?=$main_img?>" />
|
||||
<title><?=$site_info['homepage_title']?></title>
|
||||
<link rel="shortcut icon" href="/img/shortcut_icon.png">
|
||||
<link rel="apple-touch-icon" href="/img/shortcut_icon.png">
|
||||
<link rel="apple-touch-startup-image" href="/img/shortcut_icon.png">
|
||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/slick.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/m/mobile.css?t=<?=time()?>"/>
|
||||
<link rel="stylesheet" href="/css/m/swiper.min.css"><!-- 슬라이드 CSS-->
|
||||
<script src="/js/jquery-3.3.1.min.js"></script>
|
||||
<script src="//developers.kakao.com/sdk/js/kakao.min.js"></script>
|
||||
<script type="text/javascript" src="/smarteditor/js/HuskyEZCreator.js" charset="utf-8"></script>
|
||||
<script async src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
|
||||
<script type="text/javascript" src="/js/slick.js"></script>
|
||||
<script async src="/js/web/common.js"></script>
|
||||
<script src="/js/m/swiper.js"></script>
|
||||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
|
||||
<script>
|
||||
function setComma(_no) {
|
||||
return _no.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
||||
}
|
||||
|
||||
function zoom_in(){
|
||||
var scale = 'scale(1.25)';
|
||||
document.body.style.webkitTransform = scale; // Chrome, Opera, Safari
|
||||
document.body.style.msTransform = scale; // IE 9
|
||||
document.body.style.transform = scale;
|
||||
}
|
||||
|
||||
function zoom_out(){
|
||||
var scale = 'scale(1)';
|
||||
document.body.style.webkitTransform = scale; // Chrome, Opera, Safari
|
||||
document.body.style.msTransform = scale; // IE 9
|
||||
document.body.style.transform = scale;
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body id="<?=$body_class?>">
|
||||
<?=$Skin_Header?>
|
||||
<?=$Skin_Content?>
|
||||
|
||||
|
||||
<?=$Skin_Footer?>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
30
application/views/skin/m/_footer.php
Executable file
30
application/views/skin/m/_footer.php
Executable file
@@ -0,0 +1,30 @@
|
||||
<?
|
||||
$data = $this->session->userdata;
|
||||
?>
|
||||
|
||||
<div class="mypage_footer" style="margin-top:0">
|
||||
<div class="f_btns">
|
||||
<? if (isset($data['C_Member_Id'])): ?>
|
||||
<span><a href="/m/member/logout_proc" class="btn btn-default_bb br20">로그아웃</a></span>
|
||||
<? else: ?>
|
||||
<span><a href="/m/member/login" class="btn btn-default_bb br20">로그인</a></span>
|
||||
<? endif; ?>
|
||||
<span><a href="/?pc_screen=1" class="btn btn-default_bb br20">PC버전</a></span>
|
||||
<span><a href="/m/board/notice" class="btn btn-default_bb br20">고객센터</a></span>
|
||||
</div>
|
||||
<div class="f_policy">
|
||||
<span><a href="/m/rules/service">이용약관</a></span>
|
||||
<span style="padding:0 2px"><img src="/img/mobile/bar.gif"></span>
|
||||
<span><a href="/m/rules/privacy">개인정보취급방침</a></span>
|
||||
</div>
|
||||
<div class="f_social">
|
||||
<span><a href="/"><img src="/img/mobile/f_icon1_l.png"></a></span>
|
||||
<span><a href="https://www.facebook.com/crossmapkr/" target="_blank"><img src="/img/mobile/f_icon2_l.png"></a></span>
|
||||
<span><a href="https://www.instagram.com/crossmapkr/" target="_blank"><img src="/img/mobile/f_icon3_l.png"></a></span>
|
||||
<span><a onclick="$(window).scrollTop(0)"><img src="/img/mobile/f_icon4_l.png"></a></span>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
© 2017 The CrossMap. All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
0
application/views/skin/m/_header.php
Executable file
0
application/views/skin/m/_header.php
Executable file
0
application/views/skin/m/_null.php
Executable file
0
application/views/skin/m/_null.php
Executable file
145
application/views/skin/m/news/_body.php
Executable file
145
application/views/skin/m/news/_body.php
Executable file
@@ -0,0 +1,145 @@
|
||||
<?php
|
||||
|
||||
$SES_MEMBER_ID = $this->session->userdata('C_Member_Id');
|
||||
$title = ''; $main_img = ''; $content_txt = '';
|
||||
if(isset($arr_content['title'])==true) {
|
||||
$title = $arr_content['title'];
|
||||
$title = str_replace("'", "\\'", $title);
|
||||
$title = str_replace('"', '\\"', $title);
|
||||
}
|
||||
if(isset($arr_content['main_img'])==true) $main_img = $arr_content['main_img'];
|
||||
if(isset($arr_content['content'])==true) {
|
||||
$content = $arr_content['content'];
|
||||
$content_txt = preg_replace("(\<(/?[^\>]+)\>)", "", $content);
|
||||
$content_txt = strip_tags($content_txt);
|
||||
$content_txt = str_replace("'", "\\'", $content_txt);
|
||||
$content_txt = str_replace('”', '"', $content_txt);
|
||||
$content_txt = mb_strimwidth($content_txt, '0', '250', '..', 'utf-8');
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="naver-site-verification" content="894ba0807460988349b1e131377b26966e347fc1"/>
|
||||
<meta name="google-site-verification" content="CitaOJM4btglyBtNxZFYymBBzh3g7Pb9PxKl9YF8jDg" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta charset="utf-8">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" />
|
||||
<meta property="fb:app_id" content="961578337335000" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="<?=CROSSMAP_URL?>" />
|
||||
<meta property="og:title" content="<?=$title?>" />
|
||||
<meta property="og:description" content="<?=$content_txt?>" />
|
||||
<meta property="og:image" content="<?=WWW_CROSSMAP?><?=$main_img?>" />
|
||||
<title><?=$site_info['homepage_title']?></title>
|
||||
<link rel="shortcut icon" href="/img/shortcut_icon.png">
|
||||
<link rel="apple-touch-icon" href="/img/shortcut_icon.png">
|
||||
<link rel="apple-touch-startup-image" href="/img/shortcut_icon.png">
|
||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/slick.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/m/mobile.css?t=<?=time()?>"/>
|
||||
<link rel="stylesheet" href="/css/m/swiper.min.css"><!-- 슬라이드 CSS-->
|
||||
<!--script src="/js/jquery-3.3.1.min.js"></script-->
|
||||
<script src="/js/m/jquery-1.11.3.min.js"></script>
|
||||
<script src="/js/m/swiper.js"></script>
|
||||
<script src="//developers.kakao.com/sdk/js/kakao.min.js"></script>
|
||||
<script type="text/javascript" src="/smarteditor/js/HuskyEZCreator.js" charset="utf-8"></script>
|
||||
<script async src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
|
||||
<script type="text/javascript" src="/js/slick.js"></script>
|
||||
<script async src="/js/web/common.js"></script>
|
||||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
|
||||
<script>
|
||||
function setComma(_no) {
|
||||
return _no.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
||||
}
|
||||
function zoom_in(){
|
||||
var viewportmeta = document.querySelector('meta[name="viewport"]');
|
||||
if (viewportmeta) {
|
||||
viewportmeta.content = 'width=device-width, minimum-scale=1.0, maximum-scale=1.25, initial-scale=1.25';
|
||||
document.body.addEventListener('gesturestart', function () {
|
||||
viewportmeta.content = 'width=device-width, minimum-scale=0.25, maximum-scale=1.6';
|
||||
}, false);
|
||||
}
|
||||
}
|
||||
|
||||
function zoom_out(){
|
||||
var viewportmeta = document.querySelector('meta[name="viewport"]');
|
||||
if (viewportmeta) {
|
||||
viewportmeta.content = 'width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0';
|
||||
document.body.addEventListener('gesturestart', function () {
|
||||
viewportmeta.content = 'width=device-width, minimum-scale=0.25, maximum-scale=1.6';
|
||||
}, false);
|
||||
}
|
||||
}
|
||||
|
||||
var e2k = (function() {
|
||||
var en_h = "rRseEfaqQtTdwWczxvg";
|
||||
var reg_h = "[" + en_h + "]";
|
||||
|
||||
var en_b = {k:0,o:1,i:2,O:3,j:4,p:5,u:6,P:7,h:8,hk:9,ho:10,hl:11,y:12,n:13,nj:14,np:15,nl:16,b:17,m:18,ml:19,l:20};
|
||||
var reg_b = "hk|ho|hl|nj|np|nl|ml|k|o|i|O|j|p|u|P|h|y|n|b|m|l";
|
||||
|
||||
var en_f = {"":0,r:1,R:2,rt:3,s:4,sw:5,sg:6,e:7,f:8,fr:9,fa:10,fq:11,ft:12,fx:13,fv:14,fg:15,a:16,q:17,qt:18,t:19,T:20,d:21,w:22,c:23,z:24,x:25,v:26,g:27};
|
||||
var reg_f = "rt|sw|sg|fr|fa|fq|ft|fx|fv|fg|qt|r|R|s|e|f|a|q|t|T|d|w|c|z|x|v|g|";
|
||||
|
||||
var reg_exp = new RegExp("("+reg_h+")("+reg_b+")(("+reg_f+")(?=("+reg_h+")("+reg_b+"))|("+reg_f+"))","g");
|
||||
|
||||
var replace = function(str,h,b,f) {
|
||||
return String.fromCharCode(en_h.indexOf(h) * 588 + en_b[b] * 28 + en_f[f] + 44032);
|
||||
};
|
||||
|
||||
return (function(str) {
|
||||
return str.replace(reg_exp,replace);
|
||||
});
|
||||
})();
|
||||
|
||||
var mySwiper ;
|
||||
$(document).ready(function(){
|
||||
|
||||
$('.news_menu').click(function(){
|
||||
$('.life_menu_l').addClass('active');
|
||||
$('.mainswiper').css('height','740px');
|
||||
});
|
||||
$('.life_close').click(function(){
|
||||
if(typeof($('.life_menu_l').html()) =='undefined'){
|
||||
$('.life_menu').removeClass('active');
|
||||
}else{
|
||||
$('.life_menu_l').removeClass('active');
|
||||
}
|
||||
|
||||
$('.mainswiper').css('height','auto');
|
||||
});
|
||||
$('.dims').click(function(){
|
||||
if(typeof($('.life_menu_l').html()) =='undefined'){
|
||||
$('.life_menu').removeClass('active');
|
||||
}else{
|
||||
$('.life_menu_l').removeClass('active');
|
||||
}
|
||||
|
||||
$('.mainswiper').css('height','auto');
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body id="<?=$body_class?>">
|
||||
<?=$Skin_Header?>
|
||||
<?=$Skin_Content?>
|
||||
|
||||
<?=$Skin_Footer?>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
30
application/views/skin/m/news/_footer.php
Executable file
30
application/views/skin/m/news/_footer.php
Executable file
@@ -0,0 +1,30 @@
|
||||
<?
|
||||
$data = $this->session->userdata;
|
||||
?>
|
||||
|
||||
<div class="mypage_footer" style="margin-top:0">
|
||||
<div class="f_btns">
|
||||
<? if (isset($data['C_Member_Id'])): ?>
|
||||
<span><a href="/m/member/logout_proc" class="btn btn-default_bb br20">로그아웃</a></span>
|
||||
<? else: ?>
|
||||
<span><a href="/m/member/login" class="btn btn-default_bb br20">로그인</a></span>
|
||||
<? endif; ?>
|
||||
<span><a href="/?pc_screen=1" class="btn btn-default_bb br20">PC버전</a></span>
|
||||
<span><a href="/m/board/notice" class="btn btn-default_bb br20">고객센터</a></span>
|
||||
</div>
|
||||
<div class="f_policy">
|
||||
<span><a href="/m/rules/service">이용약관</a></span>
|
||||
<span style="padding:0 2px"><img src="/img/mobile/bar.gif"></span>
|
||||
<span><a href="/m/rules/privacy">개인정보취급방침</a></span>
|
||||
</div>
|
||||
<div class="f_social">
|
||||
<span><a href="/"><img src="/img/mobile/f_icon1_l.png"></a></span>
|
||||
<span><a href="https://www.facebook.com/crossmapkr/" target="_blank"><img src="/img/mobile/f_icon2_l.png"></a></span>
|
||||
<span><a href="https://www.instagram.com/crossmapkr/" target="_blank"><img src="/img/mobile/f_icon3_l.png"></a></span>
|
||||
<span><a onclick="$(window).scrollTop(0)"><img src="/img/mobile/f_icon4_l.png"></a></span>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
© 2017 The CrossMap. All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
182
application/views/skin/m/news/_header.php
Executable file
182
application/views/skin/m/news/_header.php
Executable file
@@ -0,0 +1,182 @@
|
||||
<?
|
||||
|
||||
$data = $this->session->userdata;
|
||||
|
||||
$ci = &get_instance();
|
||||
$now_date = date("Y-m-d");
|
||||
$ci->load->model('web/m_today_word');
|
||||
$arr_today_word = $ci->m_today_word->today_word_where_display_date_select($now_date);
|
||||
$today_word = '하나님이 세상을 이처럼 사랑하사 </br>독생자를 주셨으니 이는 그를 믿는 자마다 </br>멸망하지 않고 영생을 얻게 하려 하심이라';
|
||||
$today_word_title = '요한복음 3장 16절';
|
||||
if(count($arr_today_word)>0) {
|
||||
$today_word = $arr_today_word['word'];
|
||||
$today_word_title = $arr_today_word['title'];
|
||||
}
|
||||
|
||||
$ci->load->helper('cookie');
|
||||
$comment_sns_id = get_cookie('crossmap_comment_sns_id');
|
||||
$comment_sns_name = get_cookie('crossmap_comment_sns_name');
|
||||
|
||||
$comment_sns_type = get_cookie('crossmap_comment_sns_type');
|
||||
|
||||
if (isset($data['C_Member_Id']) || isset($comment_sns_name)) {
|
||||
if($comment_sns_name) {
|
||||
$data['C_Member_Profile'] = '/img/mobile/life_profile.png';
|
||||
$data['C_Member_Nicname'] = $comment_sns_name;
|
||||
$data['C_Member_Group_Name'] = $comment_sns_type;
|
||||
$logout_link = "comment_logout();";
|
||||
} else if($data['C_Member_Id']) {
|
||||
$logout_link = "window.location='/m/member/logout_proc'";
|
||||
} else {
|
||||
$logout_link = "";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<script>
|
||||
function comment_logout(){
|
||||
location.href="/web/comm/comment_logout";
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="life_menu">
|
||||
<div class="life_menu_top">
|
||||
<h1 class="logo"><a href="/m"><img src="/img/mobile/life_logo.png"></a></h1>
|
||||
<span class="life_close"><img src="/img/mobile/close.png" style="cursor:pointer"></span>
|
||||
|
||||
<? if (isset($data['C_Member_Id']) || isset($comment_sns_name)): ?>
|
||||
|
||||
<div class="profile"><a href="https://crossmap.co.kr/m/mypage/req_password"><img src="<?= $data['C_Member_Profile'] ?>"
|
||||
onerror="this.src='/img/mobile/life_profile.png'"
|
||||
style="max-width:77px;max-height:77px;"></a></div>
|
||||
<div class="nickname"><a href="https://crossmap.co.kr/m/mypage/req_password"><?= $data['C_Member_Nicname'] ?></a></div>
|
||||
<div class="member"><a href="https://crossmap.co.kr/m/mypage/req_password"><?= $data['C_Member_Group_Name'] ?></a></div>
|
||||
<div class="life_menu_btn" style="background: #f6f6f6;">
|
||||
<button type="button" class="btn btn-default br20" style="width:100px;color:#a7a7a7"
|
||||
onclick="<?=$logout_link;?>">로그아웃
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
<? else: ?>
|
||||
|
||||
<div class="profile"><a><img src="/img/mobile/life_profile.png"></a></div>
|
||||
<div class="bible"><?=$today_word?><br><span class="chpter"><?=$today_word_title?></span>
|
||||
</div>
|
||||
<div class="life_menu_btn" style="background: #f6f6f6;">
|
||||
<button type="button" class="btn btn-default br20" style="width:100px;color:#a7a7a7" onclick="login()">
|
||||
로그인
|
||||
</button>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
<div class="life_cate">
|
||||
<span style="width:30%;"><img src="/img/mobile/life_icon2.png"><a <?=(isset($data['C_Member_Id']))? 'href="/m/mypage/user_comment"' : 'href="javascript:alert(\'로그인 후 사용 가능합니다.\')" ' ?> >내댓글보기</a></span>
|
||||
<span><img src="/img/mobile/life_bar.gif"></span>
|
||||
<span style="width:28%;"><img src="/img/mobile/life_icon3.png"> <a <?=(isset($data['C_Member_Id']))? 'href="/m/mypage/bookmark"' : 'href="javascript:alert(\'로그인 후 사용 가능합니다.\')" ' ?>>북마크</a></span>
|
||||
<span><img src="/img/mobile/life_bar.gif"></span>
|
||||
<span style="width:28%;"><img src="/img/mobile/life_icon1.png"><a <?=(isset($data['C_Member_Id']))? 'href="/m/mypage/delivery"' : 'href="javascript:alert(\'로그인 후 사용 가능합니다.\')" ' ?>>배달함</a></span>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<ul class="life_list_top">
|
||||
<li><a href="/web/maptoon" style="cursor:pointer;" >웹툰</a></li>
|
||||
<li><a href="/web/news" style="cursor:pointer;" >뉴스</a></li>
|
||||
<li><a href="/m/life" style="cursor:pointer;" >은혜</a></li>
|
||||
<li><a href="/m/cmtv" style="cursor:pointer;" >크맵TV</a></li>
|
||||
<li><a href="/m/prayer" style="cursor:pointer;" >기도공감</a></li>
|
||||
</ul>
|
||||
<div class="life_app">
|
||||
<h4 style="padding: 0 20px 10px 20px;">추천앱</h4>
|
||||
<?
|
||||
$ci = &get_instance();
|
||||
$ci->load->model('web/m_recommend_app');
|
||||
$result = $ci->m_recommend_app->recommend_app_list(array("offset" => 0, "limit" => 99));
|
||||
?>
|
||||
<div class="swiper-container swiper-03">
|
||||
|
||||
|
||||
<div class="swiper-wrapper">
|
||||
<? foreach ($result as $key => $app_data): ?>
|
||||
<div class="swiper-slide"><a href="<?= $app_data['market_url'] ?>" target="_blank"><img style="width:66px;height:66px;"
|
||||
src="<?= thumb($app_data['icon_img']) ?>"></a><a href="<?= $app_data['market_url'] ?>"
|
||||
target="_blank"
|
||||
class="app_txt"><?= $app_data['app_name'] ?></a>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Add Arrows -->
|
||||
<div class="swiper-button-next"></div>
|
||||
<div class="swiper-button-prev"></div>
|
||||
<div class="swiper-pagination"> </div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="life_list_bottom">
|
||||
<li><a href="/m/board/notice">공지사항</a> <span class="new" style="display:none;">N</span></li>
|
||||
<li><a href="/m/board/faq">FAQ</a></li>
|
||||
<?if(isset($data['C_Member_Id'])):?>
|
||||
<li><a href="/m/mypage/qna">1:1 문의</a></li>
|
||||
<?endif?>
|
||||
</ul>
|
||||
<div class="life_menu_btn">
|
||||
<? if (isset($data['C_Member_Id'])): ?>
|
||||
<button type="button" class="btn btn-default br20" style="widh:100px;color:#a7a7a7"
|
||||
onclick="window.location='/m/member/logout_proc'">로그아웃
|
||||
</button>
|
||||
<? else: ?>
|
||||
<button type="button" class="btn btn-default br20" style="width:100px;color:#a7a7a7" onclick="login()">로그인
|
||||
</button>
|
||||
<? endif ?>
|
||||
</div>
|
||||
<div class="life_menu_btn" style="padding-bottom:80px;">
|
||||
<button type="button" class="btn btn-default_bb br20" style="width:100px;" onclick="window.location='/'">PC 버전
|
||||
</button>
|
||||
</div>
|
||||
<div class="dims" id='swipeme'></div>
|
||||
<div class="dims2"></div>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
$(document).ready(function(){
|
||||
$(".mypage_menu").click(function(event){
|
||||
event.preventDefault();
|
||||
$(".life_menu").addClass("active");
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
$('.life_close').click(function(){
|
||||
$('.life_menu').removeClass('active');
|
||||
|
||||
});
|
||||
|
||||
$('.dims').click(function(){
|
||||
$('.life_menu').removeClass('active');
|
||||
|
||||
});
|
||||
|
||||
function login(){
|
||||
window.location="/m/member/login?redir="+window.location.href;
|
||||
}
|
||||
var swiper2 = new Swiper('.swiper-03', {
|
||||
slidesPerView: 3,
|
||||
spaceBetween: 10,
|
||||
pagination : { // 페이징 설정
|
||||
el : '.swiper-pagination',
|
||||
clickable : true, // 페이징을 클릭하면 해당 영역으로 이동, 필요시 지정해 줘야 기능 작동
|
||||
},
|
||||
navigation: {
|
||||
nextEl: '.swiper-button-next',
|
||||
prevEl: '.swiper-button-prev',
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user