@php $mapText = $Template->text('지도 텍스트 여부'); @endphp

찾아오시는길

@php $maps = $Template->customList('네이버, 구글 지도 선택'.$cont->cnt, [ 'naver', 'google' ]); @endphp @if(!empty($maps)) @foreach($maps as $mapsCon) @if(!empty($mapsCon->google)) @php $map = $Template->text('위도', '경도'); @endphp
@endif @if(!empty($mapsCon->naver)) @php $map = $Template->text('위도', '경도'); @endphp
@endif @endforeach @endif
@php $text = $Template->text('위치', '전화번호'); @endphp

{!! $text->str !!} @if($text->lnk != "#") {!! $text->lnk !!} @endif

@if ($mapText->str == "지도 텍스트 여부")
@php $list = $Template->customList('찾아오시는길'.$cont->cnt, [ 'title', 'text', 'linkText', 'link', ]); @endphp @if(!empty($list)) @foreach($list as $cont)
@if(!empty($cont->title))
{{$cont->title}}
@endif @if(!empty($cont->text))
{!! $cont->text !!} @if(!empty($cont->linkText)) @endif
@endif
@endforeach @endif
@endif