@extends('frontend.layouts.template') @section('stylesheet') @php if( $news_category ){ echo ''; } @endphp @endsection @section('content')
@if ($services) @foreach ($services as $item)
{{ $item->name }}
{!! $item->description !!}
@endforeach @endif
@if ($centre)
{{ $centre->subject }}
@php $detail = @json_decode( $centre->detail ); @endphp {!! $detail->content !!}
@endif @if ($about) @php $about_detail = @json_decode($about->detail); @endphp
@endif
@if ($articles) @foreach ($articles as $idx => $item) @if ($idx%2)
{{ $item->subject }}
{{ $item->description }}
@else
{{ $item->subject }}
{{ $item->description }}
@endif @endforeach @endif
NEWS AND EVENT
@if ($news) @foreach ($news as $item)
{{ $item->subject }}
{!! $item->description !!}
{{ date('d-m-Y', strtotime( $item->created_at ) ) }}   |   {{ $item->viewed }} views
{{ $item->news_category->name }}
@endforeach @endif
@endsection @section('modals') @if ($news_popup) @php $news_detail = @json_decode($news_popup->detail); @endphp
{{ $news_popup->subject }}
{!! $news_detail->content !!}
Go To Link
X
@endif @endsection @section('javascript') @if ( !Session::has('intro') ) @endif @endsection