@extends('frontLayout.frontlayout') @section('content') {{$page->breadcrumb_title}} {{strtok($page['title']," ")}} {{strstr($page['title']," ")}} {!! nl2br($page['short_description']) !!} @php $decImages = $page['image'] ? json_decode($page['image'], true) : []; @endphp @if(isset($decImages) && $decImages) @if(isset($decImages[0]) && $decImages[0] ) @include('frontend.partials.fileRender', ['file' => $decImages[0], 'size' => "large"]) @endif @if(isset($decImages[1]) && $decImages[1] ) @include('frontend.partials.fileRender', ['file' => $decImages[1], 'size' => "large"]) @endif @endif @if(isset($decImages) && count($decImages) > 2 ) @if(isset($decImages[2]) && $decImages[2] ) @include('frontend.partials.fileRender', ['file' => $decImages[2], 'size' => "large"]) @endif @if(isset($decImages[3]) && $decImages[3] ) @include('frontend.partials.fileRender', ['file' => $decImages[3], 'size' => "large"]) @endif @if(isset($decImages[4]) && $decImages[4] ) @include('frontend.partials.fileRender', ['file' => $decImages[4], 'size' => "large"]) @endif @endif {!! nl2br($page['description']) !!} @if(isset($history) && ( $history->title || $history->description ) ) @php $hisDes = $history->description ? json_decode($history->description, true) : []; @endphp @if($hisDes) {{$history->title}} @php $numItems = count($hisDes); $count = 1; $i = 0; @endphp @foreach($hisDes as $hd) @if($hd['year'] || $hd['description']) @if ($count%2 == 1) @else @endif {{$hd['year']}} {!! nl2br($hd['description']) !!} @if(++$i != $numItems) @if ($count%2 == 1) @else @endif @endif @endif @php $count++; @endphp @endforeach @endif @endif @if(isset($mission) && ( $mission->title || $mission->description || $mission->image) && $mission->is_active == 1 ) @include('frontend.partials.fileRender', ['file' => $mission->image, 'size' => "large"]) {{$mission->title}} {!! nl2br($mission->description) !!} @endif @if(isset($team) && $team) {{$team->title}} {{$team->short_description}} @foreach($teams as $t) @include('frontend.partials.fileRender', ['file' => $t['image'], 'size' => "large"]) {{$t['name']}} {{$t['designation']}} {!! Str::limit(nl2br($t['description']),80,' ') !!} Read more.. @endforeach @endif @endsection
{!! nl2br($page['short_description']) !!}
{!! nl2br($hd['description']) !!}
{!! nl2br($mission->description) !!}
{{$team->short_description}}
{{$t['designation']}}
{!! Str::limit(nl2br($t['description']),80,' ') !!}
Read more..