@php $subpages=getter('sub_pages')->setLang(app()->getLocale())->condition('main_page','=',$ser_id)->get(); $bemaac=getter('bemaac')->setLang(app()->getLocale())->condition('page','=',$ser_id)->get(); @endphp @extends('layouts.main',[ 'compact'=>'compact' ]) @if(isset($painter)) @section('title') {{ucfirst(Str::title($ser_label)) }} | {{env('APP_NAME')}} @endsection @section('content')
{{ucfirst(Str::title($ser_label)) }}
{{-- The Lebanese Ministry of Culture Collection--}} {{-- --}} @if(isset($subpages) && count($subpages)>0) @foreach($subpages as $sub) @if($sub->link=='internal') {{$sub->label}} @else {{$sub->label}} @endif @endforeach @endif @if(isset($bemaac) && isset($bemaac->id)) BEMAAC @endif
getLocale()=='ar') style="transform: rotate(180deg)" @endif class="fas fa-chevron-left">Back
{{$painter->{'name_'.app()->getLocale()} }}
{!! $painter->{'description_'.app()->getLocale()} !!}
@if(count($painter->paintings)>0) @php $c=0; @endphp @foreach($paintings as $painting) @if($painting->cancelled==0) @php $c++; @endphp
{{$painting->{'label_'.app()->getLocale() } }}
{{$painting->{'medium_'.app()->getLocale() } }}
@endif @endforeach @endif
@if($c>0) {!! $paintings->links('includes.pagination') !!} @endif
@endsection @endif