first commit
This commit is contained in:
93
application/views/skin/web/life/_body.php
Executable file
93
application/views/skin/web/life/_body.php
Executable file
@@ -0,0 +1,93 @@
|
||||
<?php
|
||||
header("Pragma: no-cache");
|
||||
header("Cache-Control: no-cache,must-revalidate");
|
||||
|
||||
$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 name="viewport" content="width=1100">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="description" content="세상을 바꿀 착한 웹툰 크로스맵 웹툰, 크리스천, 기독교, 일상, 은혜, 포털, <?php echo getMetaDescription(get_defined_vars())?>">
|
||||
<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. ' '.getMetaDescription(get_defined_vars())?>" />
|
||||
<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/web/common.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/css/web/news.css?<?=time()?>"/>
|
||||
<link rel="stylesheet" type="text/css" href="/css/web/channel.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/css/web/life.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/css/web/search.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/css/web/mypage.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> -->
|
||||
<!-- <script type="text/javascript">
|
||||
var mobile_keys = new Array('iPhone','iPod','iPad','Android','BlackBerry','Windows Phone','Windows CE','LG','MOT','SAMSUNG','SonyEricsson','Nokia');
|
||||
if(document.URL.match('pc_screen')) mobile_keys = null;
|
||||
for(i in mobile_keys){
|
||||
if(navigator.userAgent.match(mobile_keys[i]) != null){
|
||||
location.href = "/m/";
|
||||
break;
|
||||
}
|
||||
}
|
||||
</script> -->
|
||||
</head>
|
||||
|
||||
<?=$Skin_Header?>
|
||||
<body id="channel">
|
||||
<?=$Skin_Content?>
|
||||
<iframe src="/web/comm/kmc_mobile_auth" frameborder="0" width="0" height="0"></iframe>
|
||||
<?=$Skin_Footer?>
|
||||
|
||||
<? include_once (APPPATH."views/web/comm/side_menu_inc.php");?>
|
||||
<? 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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user