72 lines
2.5 KiB
PHP
72 lines
2.5 KiB
PHP
<?php
|
|
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|
|
|
if (G5_IS_MOBILE) {
|
|
include_once(G5_THEME_MOBILE_PATH.'/tail.php');
|
|
return;
|
|
}
|
|
|
|
if(G5_COMMUNITY_USE === false) {
|
|
include_once(G5_THEME_SHOP_PATH.'/shop.tail.php');
|
|
return;
|
|
}
|
|
|
|
// 서브 페이지일 때만 콘텐츠 닫는 태그를 출력합니다.
|
|
if (!defined("_INDEX_")) {
|
|
echo '</div>'; // .sub-page-container
|
|
}
|
|
|
|
// 푸터 레이아웃을 불러옵니다.
|
|
if (isset($rb_core['layout_ft']) && $rb_core['layout_ft']) {
|
|
include_once(G5_THEME_PATH . '/rb.layout_ft/' . $rb_core['layout_ft'] . '/footer.php');
|
|
} else {
|
|
echo "<div class='no_data' style='padding:30px 0 !important; text-align:center; background-color:#f9f9f9;'><span class='font-B color-000'>선택된 푸터 레이아웃이 없습니다.</span><br>관리자 > 리빌더 > 환경설정 패널에서 푸터 레이아웃을 설정해주세요.</div>";
|
|
}
|
|
|
|
//리빌드세팅 (관리자일 때만 환경설정 패널 표시)
|
|
if($is_admin) {
|
|
include_once(G5_PATH.'/rb/rb.config/right.php');
|
|
}
|
|
|
|
// HOOK 추가
|
|
$rb_hook_tail = "true";
|
|
|
|
if(G5_DEVICE_BUTTON_DISPLAY && !G5_IS_MOBILE) {
|
|
// PC 버전 버튼 (필요 시 코드 추가)
|
|
}
|
|
|
|
if ($config['cf_analytics']) {
|
|
echo $config['cf_analytics'];
|
|
}
|
|
?>
|
|
|
|
<!-- } 하단 끝 -->
|
|
|
|
<script>
|
|
$(function() {
|
|
// 폰트 리사이즈 쿠키있으면 실행
|
|
font_resize("container", get_cookie("ck_font_resize_rmv_class"), get_cookie("ck_font_resize_add_class"));
|
|
});
|
|
</script>
|
|
|
|
|
|
<?php
|
|
// 💡 [최종 수정] jQuery가 모두 로드된 후 알람 스크립트를 실행하도록 위치를 변경합니다.
|
|
include_once(G5_PATH.'/rb/rb.mod/alarm/alarm.php');
|
|
|
|
// 💡 [수정] 문의하기 팝업 모듈(스킨)을 불러옵니다.
|
|
// HTML, CSS, JS가 모두 포함되어 있어 이 한 줄로 기능이 작동합니다.
|
|
// 💡 [핵심 수정] 테마별 문의하기 스킨 동적 로드
|
|
$theme_contact_skin_path = G5_THEME_PATH.'/skin/contact/'.$config['cf_theme'].'/contact.skin.php';
|
|
//$theme_contact_skin_path = G5_THEME_PATH.'/rb.custom/contact/'.$config['cf_theme'].'/module.php';
|
|
//$basic_contact_skin_path = G5_THEME_PATH.'/rb.custom/contact/basic/module.php';
|
|
|
|
if (file_exists($theme_contact_skin_path)) {
|
|
include_once($theme_contact_skin_path);
|
|
} else {
|
|
// 기본 스킨이 없으면 아무것도 로드하지 않거나, 기본 경로를 지정
|
|
// include_once($basic_contact_skin_path);
|
|
}
|
|
|
|
include_once(G5_THEME_PATH."/tail.sub.php");
|
|
?>
|