<?php

# 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_NICNAME == '')   $SES_MEMBER_NICNAME = $SES_MEMBER_NAME;
if($SES_MEMBER_PROFILE==''){
	$SES_MEMBER_PROFILE = '/img/web/life_profile.png';
}
$method =  $this->uri->segment(3);


// header("Pragma: no-cache");
// header("Cache-Control: no-cache,must-revalidate");
?>
<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie10 lt-ie9 lt-ie8 lt-ie7" lang="kr"><![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie10 lt-ie9 lt-ie8" lang="kr"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie10 lt-ie9" lang="kr"><![endif]-->
<!--[if (IE 9)&!(IEMobile)]><html class="no-js lt-ie10" lang="kr"><![endif]-->
<!--[if gt IE 9]><!--> <html class="no-js" lang="kr"><!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta name="naver-site-verification" content="894ba0807460988349b1e131377b26966e347fc1">
  <meta name="google-site-verification" content="CitaOJM4btglyBtNxZFYymBBzh3g7Pb9PxKl9YF8jDg">
  <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
  <!-- <meta http-equiv="cleartype" content="on"> -->
  <?if(strpos($_SERVER['REQUEST_URI'], "article")){?>
    <title><?=htmlspecialchars($mt_data[0]['name'])?> - <?=htmlspecialchars($data['title'])?>::: 크리스천포털 크로스맵</title>
  <?}else if(strpos($_SERVER['REQUEST_URI'], "list")){?>
    <title><?=htmlspecialchars($mt_data[0]['name'])?>:::크로스맵 웹툰</title>
  <?}else{?>
    <title>크로스맵 웹툰</title>
  <?}?>
    <meta name="description" content="세상을 바꿀 착한 웹툰 크로스맵 웹툰, 크리스천, 기독교, 일상, 은혜, 포털, <?php echo getMetaDescription(get_defined_vars())?>">
  <meta name="author" content="크로스맵 웹툰">
  <meta name="HandheldFriendly" content="True">
  <meta name="MobileOptimized" content="320">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  
  <?if(strpos($_SERVER['REQUEST_URI'], "article")){?>
  <meta property="og:url" content="https://crossmap.co.kr<?=$_SERVER['REQUEST_URI']?>" />
  <meta property="og:title"	content="<?=$mt_data[0]['name']?> - 크리스천포털 크로스맵">
  <meta property="og:image"	content="https://crossmap.co.kr<?=$mt_data[0]['main_img']?>">
  <meta property="og:description"	content="<?=$mt_data[0]['description']. ' '.getMetaDescription(get_defined_vars())?>">
  <meta property="og:type" content="article">
  <meta property="og:article:author" content="크로스맵 웹툰">
  <meta property="og:article:author:url" content="https://crossmap.co.kr/web/maptoon">
  <?}else{?>
  <meta property="og:url" content="https://crossmap.co.kr<?=$_SERVER['REQUEST_URI']?>" />
  <meta property="og:title"	content="크리스천포털 크로스맵">
  <meta property="og:description"	content="유쾌한 은혜 플러스 크로스맵 웹툰 <?php echo getMetaDescription(get_defined_vars())?>">
  <meta property="og:image"	content="https://crossmap.co.kr/files/img/op_mt_title_img.jpg">
  <meta property="og:type" content="article">
  <meta property="og:article:author" content="크로스맵 웹툰">
  <meta property="og:article:author:url" content="https://crossmap.co.kr/web/maptoon">
  <?}?>

  <meta property="fb:app_id" content="961578337335000">

  <!-- favicons -->
  <link rel="shortcut icon" href="/img/shortcut_icon.png">
  <link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
  <link rel="apple-touch-icon" href="/img/shortcut_icon.png">
  <link rel="apple-touch-startup-image" href="/img/shortcut_icon.png">
  
  <!-- css -->
  <link rel="stylesheet" href="/css/main.css">
  <link rel="stylesheet" href="/css/section.css">
  <link rel="stylesheet" href="/css/web/toastr.min.css">
  <!-- Font -->
  <link href="https://fonts.googleapis.com/css?family=Nanum+Gothic" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Nanum+Myeongjo" rel="stylesheet"> 
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">

  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.1/tiny-slider.css">
  <!--[if (lt IE 9)]><script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.1/min/tiny-slider.helper.ie8.js"></script><![endif]-->

  <!-- javascript -->
  <!--[if (lt IE 9)]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <script src="assets/js/ie.min.js"></script>
    
    <link href="http://externalcdn.com/respond-proxy.html" id="respond-proxy" rel="respond-proxy" />
    <link href="assets/cross-domain/respond.proxy.gif" id="respond-redirect" rel="respond-redirect" />
    <script src="assets/cross-domain/respond.proxy.js"></script>  
  <![endif]-->
  <script src="//code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
  <script src="/js/script.js"></script>
  <script src="/js/web/common.js"></script>
  <script src="/js/web/toastr.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.1/min/tiny-slider.js"></script>
</head>
<body>
<noscript>
  <p class="enable-js">
    To enjoy our website, you'll need to enable <b>JavaScript</b> in your web browser. Please <a href="http://enable-javascript.com/" target="_blank"><b>click here</b></a> to learn how.
  </p>
</noscript>
<!--[if lte IE 8]>
  <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/" target="_blank">upgrade your browser</a> to improve your experience.</p>
<![endif]-->

<!-- Mobile nav Overlayer -->
<div class="offcanvas" aria-hidden="true">
  <div class="nav-wrap">
    <button class="btn-close" data-remove=".nav-wrap"><i class="fas fa-times"></i></button>
    <nav class="site-nav">
      <ul>
        <li><a href="/web/news">뉴스</a></li>
        <li class="current"><a href="/web/maptoon">웹툰</a></li>
        <li><a href="/web/life/">은혜</a></li>
        <li><a href="/cmtv" >크맵TV</a></li>
        <li><a href="/web/prayer">기도공감</a></li>
        <!-- <li><a href="" onclick="alert('준비중입니다.');">자료실</a></li> -->
        <?if($SES_MEMBER_ID=='') {?>
        <li class="login"><a onclick="go_loging(event)" href="javascript:void(0);">로그인</a></li>
        <?}?>
      </ul>
    </nav>
  </div>
</div>

<?=$Skin_Header?>

<?=$Skin_Content?>

<?=$Skin_Footer?>


<script src="/js/script.js"></script>

<!--[if (lt IE 9)]>
  <script>
    var sheets = document.styleSheets;
    for (var i = 0, l = sheets.length; i <l; i++){
      sheets[i].disabled = true;
    }
  </script> 
  <style>
    body{font-family: Helvetica, Arial, sans-serif;}
    @media \0screen {img{width:auto;}}
    img{
      border: 0;
      height: auto;
    }
  </style>
<![endif]-->
</body>
</html>
