@extends('layouts.default', [
'activatedNavItem' => 'PROGRAMS',
])
@push('head')
@endpush
@section('content')
@yield('details')
@if (count($programs['relation']))
관련상품
@foreach ($programs['relation'] as $program)
@include('programs.item', ['program' => $program])
@endforeach
@endif
@if (isset($program['type']['code']))
@if ($program['type']['code'] == 'language-abroad')
@include('programs.review', ['reviewList'=>$languageReviewList])
@elseif($program['type']['code'] == 'university-abroad')
@include('programs.review', ['reviewList'=>$universityReviewList])
@elseif($program['type']['code'] == 'junior-abroad')
@include('programs.review', ['reviewList'=>$juniorReviewList])
@elseif($program['type']['code'] == 'camp')
{{--
--}}
{{-- @include('programs.review', ['reviewList'=>$campReviewList])--}}
@else
@endif
@if (count($uainfo_contentList) && ($program['type']['code'] == 'university-abroad'))
@include('programs.univ-abroad-info')
@endif
@if ($program['type']['code'] == 'language-abroad' && count($faq_contentList_language) != 0)
유학 FAQ
@include('programs.uhak-faq', ['faq_contentList'=>$faq_contentList_language])
@elseif($program['type']['code'] == 'university-abroad' && count($faq_contentList_university) != 0)
유학 FAQ
@include('programs.uhak-faq', ['faq_contentList'=>$faq_contentList_university])
@elseif($program['type']['code'] == 'junior-abroad' && count($faq_contentList_junior) != 0)
유학 FAQ
@include('programs.uhak-faq', ['faq_contentList'=>$faq_contentList_junior])
@elseif($program['type']['code'] == 'working-holiday' && count($faq_contentList_working) != 0)
유학 FAQ
@include('programs.uhak-faq', ['faq_contentList'=>$faq_contentList_working])
@elseif($program['type']['code'] == 'art-uhak' && count($faq_contentList_art) != 0)
유학 FAQ
@include('programs.uhak-faq', ['faq_contentList'=>$faq_contentList_art])
@else
@endif
@endif
{{-- @if (count($programs['popular']))--}}
{{--
--}}
{{--
edm유학센터 인기프로그램
--}}
{{--
--}}
{{--
--}}
{{-- @foreach ($programs['popular'] as $program)--}}
{{--
--}}
{{-- @include('programs.item', ['program' => $program])--}}
{{--
--}}
{{-- @endforeach--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{-- @endif--}}
{{-- --}}
@endsection