@if (!empty($getPopulerCategories))

{{ __('messages.details.hot_categories') }}

@foreach (array_slice($getPopulerCategories, 0, 10) as $category)
@endforeach
@endif @if (!empty(array_filter($getPopularNews))) @endif @if ($getRecommendedPost->count() > 0) @endif @if (count($getPopularTags)) @endif @if (!empty($getPoll->count()))

{{ __('messages.details.voting_poll') }}

@php $styleCss = 'style'; @endphp @foreach ($getPoll as $poll)

{!! $poll['question'] !!}

@csrf
@foreach ($getOption as $option) @if (!empty($poll->$option))
@endif @endforeach
{{ __('messages.details.view_results') }}
@php $vote = getPollStatistics($poll->id) @endphp @foreach ($vote['optionAns'] as $pollName => $statistic)

{{ $pollName }}

{{ $statistic }}%
@endforeach
{{ __('messages.poll.total_vote') }}:{{ $vote['totalPollResults'] }} {{ __('messages.details.view_options') }}

@endforeach
@endif