@extends('site.layout.master') @section('content')
@php $z = 1 @endphp @if(count($record->pageima) > 0) @if($z < 6)
@foreach($record->pageima as $topImage) @if($z == 1) @php $value = "one" @endphp @endif @if($z == 2) @php $value = "two" @endphp @endif @if($z == 3) @php $value = "three" @endphp @endif @if($z == 4) @php $value = "logo" @endphp @endif @if($z == 5) @php $value = "four" @endphp @endif
{{ $record->sitepage->title }}
@php $z++ @endphp @endforeach
@endif @endif
@if($record->sitepage->short_text_2 != "")

{!! $record->sitepage->short_text_2 !!}

@endif @if($record->sitepage->short_text_3 != "")

{!! $record->sitepage->short_text_3 !!}

@endif
@csrf
@if($record->sitepage->short_text_4 != "")
{!! $record->sitepage->short_text_4 !!}
@endif @if($record->sitepage->short_text_5 != "")

{!! $record->sitepage->short_text_5 !!}

@endif
@if($record->sitepage->short_text_6 != "")
{!! $record->sitepage->short_text_6 !!}
@endif @if($record->sitepage->short_text_7 != "")

{!! $record->sitepage->short_text_7 !!}

@endif
@if($record->sitepage->short_text_8 != "")
{!! $record->sitepage->short_text_8 !!}
@endif @if($record->sitepage->short_text_9 != "")

{!! $record->sitepage->short_text_9 !!}

@endif
@if($record->sitepage->short_text_10 != "")

{!! $record->sitepage->short_text_10 !!}

@endif @if($record->sitepage->short_text_11 != "")

{!! $record->sitepage->short_text_11 !!}

@endif
@if(count($record->countsub) > 0)
@php $r = 1 @endphp @php $f = 1 @endphp @foreach($record->countsub as $cSub) @if($r == 1)

{{ $cSub->sitepage->title }}

{!! $cSub->sitepage->short_text !!}
{!! $cSub->sitepage->text !!}
@if($cSub->image != "") {{ $cSub->sitepage->title }} @else {{ $cSub->sitepage->title }} @endif
@else
@if($cSub->image != "") {{ $cSub->sitepage->title }} @else {{ $cSub->sitepage->title }} @endif

{{ $cSub->sitepage->title }}

{!! $cSub->sitepage->short_text !!}
{!! $cSub->sitepage->text !!}
@endif @php $r++ @endphp @if($r == 3) @php $r = 1 @endphp @endif @php $f++ @endphp @endforeach
@endif
@if($record->sitepage->short_text_12 != "")

{!! $record->sitepage->short_text_12 !!}

@endif @if($record->sitepage->text != "")
{!! $record->sitepage->text !!}
@endif
@include('site.layout.footerTop') @section('css') @endsection @section('js') @endsection @endsection