@extends('upgrade.layouts.home') @section('content') @php $title_var = "title_" . app()->getLocale(); $title_var2 = "title_" . config('app.fallback_locale','en'); $details_var = "details_" . app()->getLocale(); $details_var2 = "details_" . config('app.fallback_locale','en'); if ($Topic->$title_var != "") { $title = $Topic->$title_var; } else { $title = $Topic->$title_var2; } if ($details_var = $Topic->$details_var != "") { $details = $details_var; } else { $details = optional($Topic)->$details_var2; } $section = ""; try { if ($Topic->section->$title_var != "") { $section = $Topic->section->$title_var; } else { $section = $Topic->section->$title_var2; } } catch (Exception $e) { $section = ""; } @endphp

{!! $Topic->details !!}

@if ($Topic->photos->count())
@foreach($Topic->photos as $photo)
@endforeach
@foreach($Topic->photos as $photo)
@endforeach
@endif
شارك الخبر
@if($Topic->approvedComments->count())
@foreach($Topic->approvedComments as $comment) @php( $dtformated = date('d M Y h:i A', strtotime($comment->date)) )
{$comment->name}}

{!! nl2br(strip_tags($comment->comment)) !!}


@endforeach
@endif @if($WebmasterSection->comments_status)

قم باضافة تعليق

{{Form::open(['route'=>['commentSubmit'],'method'=>'POST','class'=>'form-c'])}}
@if(env('NOCAPTCHA_STATUS', false))
{!! NoCaptcha::renderJs(app()->getLocale()) !!} {!! NoCaptcha::display() !!}
@endif
{{Form::close()}}
@endif @endsection @push('js') @endpush