@if ($method=='edit')
지사, 후기 넣을수 있는 방법입니다.

지사추가, 후기추가 -
branch : 아무거나 쓰면 지사를 넣을수 있습니다. review에 아무거나 적어도 후기는 안나옵니다.
review : 아무거나 쓰면 후기 추가 할수 있습니다. branch에 아무거나 쓰면 지사가 나옵니다.

지사 추가
이미지 슬라이드 - 슬라이드는 계속 추가가 가능합니다. 그치만 권장 슬라이드는 5개
파일선택 : 슬라이드될 이미지를 넣습니다.
art : 이미지에 art값을 넣을수 있습니다. art값이 없으면 안넣으셔도 됩니다.

후기 추가
파일선택 : 슬라이드 총5개 넣을수 있습니다.
name : 후기 쓴 사람 이름입니다.
review : 후기 종류입니다.
text : 후기 글 입니다.
@endif @php $list = $Template->customList('지사 추가, 후기 추가'.$cnt, [ 'branch', 'review' ]); @endphp @if(!empty($list)) @foreach($list as $cont) @if(!empty($cont->branch))
@php $cont = $Template->text('지사 h2 부분'.$cnt,'서브 텍스트'); @endphp

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

@php $list = $Template->customList('지사 이미지 슬라이드 리스트'.$cnt, [ 'IMAGE' => 'Image', 'alt' ]); @endphp
    @foreach($list as $cont) @if(!empty($cont->IMAGE))
  • alt))alt="{{ $cont->alt }}"@endif>
  • @endif @endforeach
@php $text = $Template->text('지사 소개 텍스트'.$cnt); @endphp

{!! $text->str !!}

    @php $list = $Template->customList('지사 텍스트 리스트'.$cnt, [ 'text', ]); @endphp @foreach($list as $cont) @if(!empty($cont->text))
  • {{ $cont->text }}

  • @endif @endforeach
@php $link = $Template->text('지사 자세히보기 링크 밑에'.$cnt,'링크 주소'); @endphp @if(!empty($link->lnk)) 자세히보기 @endif
@endif @if(!empty($cont->review))
@php $cont = $Template->text('후기 h2 부분'.$cnt,'서브 텍스트'); @endphp

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

@php $list = $Template->customList('지사 후기 리스트'.$cnt, [ 'IMAGE1' => 'Image', 'IMAGE2' => 'Image', 'IMAGE3' => 'Image', 'IMAGE4' => 'Image', 'IMAGE5' => 'Image', 'name', 'review', 'text', ]); @endphp @foreach($list as $cont)
@if(!empty($cont->IMAGE1))
  • @if(!empty($cont->IMAGE2))
  • @endif @if(!empty($cont->IMAGE3))
  • @endif @if(!empty($cont->IMAGE4))
  • @endif @if(!empty($cont->IMAGE5))
  • @endif
@endif
@if(!empty($cont->name))

{{ $cont->name }} @if(!empty($cont->review)){{ $cont->review }}@endif

@endif @if(!empty($cont->text))

{{ $cont->text }}

@endif
@endforeach
@endif @endforeach @endif