first commit

This commit is contained in:
pakerpale
2020-06-10 06:19:03 +09:00
commit cd6b5b7832
6081 changed files with 624389 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
<?php
header("Pragma: no-cache");
header("Cache-Control: no-cache,must-revalidate");
$method = $this->uri->segment(3);
$controller = $this->uri->segment(2);
$SES_MEMBER_ID = $this->session->userdata('C_Member_Id');
?>
<!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 name="viewport" content="width=1100">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<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/web/common.css"/>
<link rel="stylesheet" type="text/css" href="/css/web/mypage.css"/>
<? if($method!='qna' && $method!='notice') {?>
<link rel="stylesheet" type="text/css" href="/css/web/search.css"/>
<? }?>
<script src="/js/jquery-3.3.1.min.js"></script>
<script src="/js/web/common.js?<?=time()?>"></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="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-7071495522658800",
enable_page_level_ads: true
});
</script> -->
</head>
<body id="mypage">
<?=$Skin_Header?>
<div class="contents">
<? if($controller == 'mypage'){ ?>
<?=$Skin_Left?>
<? }?>
<?=$Skin_Content?>
</div>
<iframe id="kmc_mobile_auth" src="/web/comm/kmc_mobile_auth" style="width:0px;height:0px;position:absolute; top:0; left:-9999px;" ></iframe>
<?=$Skin_Footer?>
<? if($SES_MEMBER_ID!='') {?>
<? require_once(APPPATH."views/web/comm/delivery_inc.php"); ?>
<? }?>
<? require_once(APPPATH."views/web/comm/user_comment_inc.php"); ?>
<? require_once(APPPATH."views/web/comm/member_inc.php"); ?>
<? require_once(APPPATH."views/web/comm/popup_inc.php"); ?>
</body>
</html>

View File

@@ -0,0 +1,66 @@
<?
# session
$SES_MEMBER_ID = $this->session->userdata('C_Member_Id');
$SES_MEMBER_NAME = $this->session->userdata('C_Member_Name');
$SES_MEMBER_NICNAME = $this->session->userdata('C_Member_Nicname');
$SES_MEMBER_PROFILE = $this->session->userdata('C_Member_Profile');
$SES_MEMBER_GROUPNAME = $this->session->userdata('C_Member_Group_Name');
$SES_MEMBER_INTRO = $this->session->userdata('C_Member_Intro');
$SES_MEMBER_EMAIL = $this->session->userdata('C_Member_Email');
if($SES_MEMBER_PROFILE == '') $SES_MEMBER_PROFILE = '/img/web/img_profile_l.png';
if($SES_MEMBER_NICNAME == '') $SES_MEMBER_NICNAME = $SES_MEMBER_NAME;
$controller = $this->uri->segment(2);
if($controller != 'rules' && $controller != 'cs') {
if($SES_MEMBER_ID==''){
gf_alert("로그인 후에 이용가능합니다.", '/');
}
}
?>
<div class="mypage_header">
<h1 class="mypage_logo"><a href="/"><img src="/img/web/logo_mypage.png" alt="logo"></a></h1>
<? if($controller == 'cs') {?><div class="mypage_tit"><a href="/web/cs/notice">고객센터</a></div><? } ?>
<? if($controller == 'rules') {?><div class="mypage_tit"><a href="/web/rules/service">정책</a></div><? } ?>
<div class="mypage_header_ingo">
<? if($SES_MEMBER_ID=='') {?>
<span><a href="javascript:commonLayerOpen('login_layer')">로그인</a> </span>
<span class="bar"><img src="/img/web/mypage_bar.gif" alt=""></span>
<span ><a href="/m/" class="current" target="_blank">모바일 보기</a> </span>
<span class="social">
<a href="/"><img src="/img/web/img_home.png" alt="home"></a>
<a href="https://www.facebook.com/crossmapkr/" target="_blank"><img src="/img/web/img_facebook.png" alt="facebook"></a>
<a href="https://www.instagram.com/crossmapkr/" target="_blank"><img src="/img/web/img_instagram.png" alt="instagram"></a>
</span>
<? } else {?>
<span class="profile"><img src="<?=$SES_MEMBER_PROFILE?>" alt="profile" width="21" width="21"></span>
<span class="arrow"><a href="javascript:change_toggle('mybox');"><span class="beachblue"><?=$SES_MEMBER_NICNAME?></span> 님</a> </span>
<span class="bar"><img src="/img/web/mypage_bar.gif" alt="info"></span>
<span class="beachblue"><a href="/m/" target="_blank">모바일 보기</a> </span>
<span class="social">
<a href="/"><img src="/img/web/img_home.png" alt="home"></a>
<a href="https://www.facebook.com/crossmapkr/" target="_blank"><img src="/img/web/img_facebook.png" alt="facebook"></a>
<a href="https://www.instagram.com/crossmapkr/" target="_blank"><img src="/img/web/img_instagram.png" alt="instagram"></a>
</span>
<? require_once(APPPATH."views/web/comm/mybox_inc.php"); ?>
<? }?>
</div>
</div>
<script>
// 레이어 이외의 공간 클릭시 close
$(document).mouseup(function (e){
var container = $("#mybox");
if( container.has(e.target).length === 0) container.hide();
});
</script>

View File

@@ -0,0 +1,18 @@
<?php
$method = $this->uri->segment(3);
$SES_MEMBER_ID = $this->session->userdata('C_Member_Id');
$SES_MEMBER_NICNAME = $this->session->userdata('C_Member_Nicname');
?>
<div class="mypage_left">
<h3 class="left_title"><a href="">마이페이지</a></h3>
<h3><a href="javascript:commonLayerOpen('passwd_check_layer')" <? if($method=='member_edit') { echo ' class="current"';}?> >프로필 수정</a></h3>
<h3><a href="/web/mypage/bookmark" <? if($method=='bookmark') { echo ' class="current"';}?> >북마크함</a></h3>
<h3><a href="/web/mypage/qna" <? if($method == 'qna' || $method == 'qna_add' || $method == 'qna_view') { echo 'class="current"';}?>>1:1 문의</a></h3>
<h3 style="text-align:center;"><a href="javascript:user_comment('<?=$SES_MEMBER_ID?>', '<?=$SES_MEMBER_NICNAME?>');" display="blank"><button type="button" class="btn btn-default br20" style="width: 120px;padding: 5px;font-size: 14px;"><img src="/img/web/img_pen.gif"> 내댓글보기</button></a></h3>
<h3 style="text-align:center;"><a href="javascript:change_toggle('delivery_layer')" display="blank"><button type="button" class="btn btn-default br20" style="width: 120px;padding: 5px;font-size: 14px;"><img src="/img/web/img_box.gif"> 배달함</button></a></h3>
</div>