@php $browser = Agent::browser(); $version = Agent::version($browser); $oldie = $browser === 'IE' && intval($version) <= 9; //$menu = Menu::where('enable', 'Y')->orderByRaw('left_id ASC')->get()->toTree(); //$defaultMenu = ['MAIN', 'PROGRAMS', 'MYPAGE']; //if (empty($activatedNavItem) || in_array($activatedNavItem, $defaultMenu)) { // $activatedNavItem = 'LANGUAGE'; //} // ▼ canonical $https = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 'https://':'http://'; $canonical = $https.$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]; $urls = explode("?", $canonical); // ▲ canonical // ▼ /school/ 하위에 metaTag - title 내용 추가 $schoolMeta = ""; if(strpos($_SERVER['REQUEST_URI'], "/school/") !== false) { $schoolMeta .= isset($result) ? (isset($result['sc']) ? $result['sc']->country_name." " : "") : ""; $schoolMeta .= isset($uhakType) ? $uhakType." - " : ""; } // ▲ /school/ 하위에 metaTag - title 내용 추가 @endphp {{ metaData('title') }} @if((!empty(metaData('meta_description')) || !empty($metaDescription)) && strpos($_SERVER['REQUEST_URI'], "/school/") === false) @endif @if (substr(str_replace('http://', 'https://', $urls[0]), -1) == '/') @else @endif {{-- --}} @include('camp.analytics.header') @stack('head')
@contentManager('COMMON', 'HEADER-BANNERS')
@if ($banner = contentItems('COMMON', 'HEADER-BANNERS')->first())
@include('components.contents.item', ['item' => $banner, 'close' => 'enable'])
@endif
@include('camp/layouts.header', [$activatedNavItem])
{{-- @include('camp/layouts.lnb')--}} @yield('content')
{{-- @include('camp/layouts.sitemap')--}}
@include('camp.analytics.footer')