@extends('sidebar-template') @section('body_classes') fixed-layouts @stop @section('content')

{!! $singleNews->name !!}

Posted on | By {{$singleNews->user->first_name}} {{$singleNews->user->last_name}}
@foreach ($singleNews->images()->where('is_trix_image','!=', 1)->orderBy('is_main', 'DESC')->get() as $image) {!! Html::image(imagePath('items/' . $singleNews->id . '/' . urlencode($image->name)), $image->name, array('data-caption' => $image->description)) !!} @endforeach
@if ($singleNews->youtube_video_url)

@endif @if ($singleNews->news_show_address)
@php // if {{$singleNews->region->name}} in any case register contains "All {countryName}" or "all {countryName}", // $regionAndCountryName = $singleNews->region->country->name // else $regionAndCountryName = $singleNews->region->name, $singleNews->region->country->name $regionIncludesAllCountry = stripos($singleNews->region->name, 'All ' . $singleNews->region->country->name); if ($regionIncludesAllCountry !== false) { $regionAndCountryName = $singleNews->region->country->name; } else { $regionAndCountryName = $singleNews->region->name . ', ' . $singleNews->region->country->name; } @endphp {{$regionAndCountryName}}
@endif
{!! $singleNews->description !!}
@foreach ($singleNews->linkedToItems()->orderBy('id', 'desc')->get() as $link)

{{ Html::link(generateLinkByItemId($link->item_id), $link->linkedFromItem->name, array('target' => '_blank')) }} {{$link->linkedFromItem->adCategory->name}} {{$link->linkedFromItem->created_at->format('d M Y')}}

@endforeach @if ($singleNews->url1 && $singleNews->url1_link_name) {{$singleNews->url1_link_name}} @endif
@if ($singleNews->url2 && $singleNews->url2_link_name) {{$singleNews->url2_link_name}} @endif @if($story = $singleNews->story_types()->first())

Story Type: {{ $story->name }}

@endif
@stop @section('sidebar') @include('salvonews._google_calendar') @stop