@php
if(sizeof($top_artist) > 0){
@endphp
{{ __("frontWords.top_artist") }}
@php
$artists_id = json_decode($top_artist[0]->top_artist);
if(!empty($artists_id)){
foreach($artists_id as $artist_id){
$getArtist = select(['column' => '*', 'table'=>'artists', 'where'=>['id'=>$artist_id] ]);
if(!empty($getArtist)){
foreach($getArtist as $artist){
@endphp
@if($artist->image != '' && file_exists(public_path('images/artist/'.$artist->image)))
 }})
@else
 }})
@endif
@php
}
}
}
}
@endphp
@php
}else{
echo '
'.__("frontWords.top_artist").'
'.__("frontWords.no_artist").'
';
}
@endphp