|
@if(Auth::check() && Auth::user()->type == "user")
{{$article->title}}
@if($article->updated_at->diffInHours(Carbon\Carbon::now()->toDateTimeString()) <= 72)
New
@endif
@if($article->is_read_count)
read
@else
unread
@endif
@else
{{$article->title}}
@if($article->updated_at->diffInHours(Carbon\Carbon::now()->toDateTimeString()) <= 72)
New
@endif
@endif
|
Source : {{$article->sourcedata->descriptive_name}}
|
@if($article->first_published_date != NULL && (!empty($article->first_published_date)))
{{$article->first_published_date}}
@endif
@if($article->doi != NULL && (!empty($article->first_published_date)))
{{$article->doi}}
@endif
@if(isset($article->publication_type[0]) && (!empty($article->publication_type[0])))
Publication Type : {{$article->publication_type[0]}}
@endif
|
Keywords :
@foreach($article->articleKeywords as $kekey=>$articlekeyword)
{{$articlekeyword->keyword_en}}
@if ($kekey != count($article->articleKeywords)-1)
,
@endif
@endforeach
|
{{str_limit(strip_tags($article->body),200)}} |
@if(count($article->articleCountries) > 0)
@foreach($article->articleCountries as $ckey=>$articleCountry)
{{$articleCountry->name}}
@if ($ckey != count($article->articleCountries)-1)
,
@endif
@endforeach
|
@endif
@if(Auth::check())
@if(in_array($article->id, $favourites))
{!!$isFavorite!!}
@else
{!!$addTofav!!}
@endif
@endif
|
{!!Share::page($article["href"], 'Share') ->facebook() ->twitter() ->linkedin() ->whatsapp()!!}
|
@endforeach