@extends('layouts.app') @section('content') {!! $bannerHeader[0]->header_code !!} @if (isset($parents[6])) @endif @if (isset($parents[7])) @endif @if (isset($parents[4])) @endif @if (isset($parents[5])) @if ($parents[5]->status == 1) @if ($parents[5]->desktop == 1) {!! $parents[5]->bscript !!} @endif @else @endif @endif @if (isset($parents[1])) @if ($parents[1]->status == 1) @if ($parents[1]->desktop == 1) {!! $parents[1]->bscript !!} @endif @else @endif @endif @if (isset($parents[2])) @if ($parents[2]->status == 1) @if ($parents[2]->mobile == 1) {!! $parents[2]->bscript !!} @endif @else @endif @endif @if (isset($parents[3])) @if ($parents[3]->status == 1) @if ($parents[3]->mobile == 1) {!! $parents[3]->bscript !!} @endif @else @endif @endif

{{ $article->title }}

{{ $article->summary }}

@php $defaultImage = Config::get('constants.Sitethumbnail') . 'album/defaultnew.png'; @endphp
Author

@if ($article->authorname == 'NATIVE CONTENT') @else by @endif @if (strpos($article->author_id, ',') !== false) @if (!empty($article->authorname)) @foreach (explode(',', $article->author_id) as $k => $au) @if (!empty($au)) @php $re = \App\Models\Author::find($au); @endphp @if (!empty($re?->name)) @if ($k == 1) & @endif {{ $re->name }} @endif @else Exchange4media Staff @endif @endforeach @endif @else @if (!empty($article->authorname)) {{ $article->authorname }} @endif @endif

Published: {{ \Carbon\Carbon::parse($article->publish_date . ' ' . $article->publish_time)->format('M j, Y g:i A') }}  
@php // Estimate reading time $wordCount = str_word_count(strip_tags($article->description)); $minutes = floor($wordCount / 200); $seconds = floor(($wordCount % 200) / (200 / 60)); if ($minutes == 0) { $readTime = '1 min read'; } elseif ($seconds >= 10) { $readTime = $minutes + 1 . ' min read'; } else { $readTime = $minutes . ' min read'; } @endphp {{ $readTime }} @if ($article->authorname == 'NATIVE CONTENT') | Advertorial @endif

@if (!empty($article->video)) @else {{ $article->phototitle }} @endif

{!! $content !!}

@if ($article->related_articles !== null) @endif {{-- story disclaimer --}} @if (isset($article) && !empty($article)) {!! $article->story_disclaimer !!} @endif @if (isset($ArrTageListing) && !empty($ArrTageListing))
Tags: @foreach (explode(',', $ArrTageListing) as $tag) {{ $tag }} @endforeach
@endif
@include('article.rightsidebar')