@extends("admin.admin_app") @section("content")
@if(Auth::User()->usertype=="Admin")

{{trans('words.trending_now')}}

{{trans('words.based_on_30_days')}}

{{trans('words.top_country')}}

{{trans('words.based_on_30_days')}}

@foreach($top_country as $country_data)

 {{$country_data->country}} {{number_format_short($country_data->count_row)}}

@endforeach

{{trans('words.os')}}

{{trans('words.based_on_30_days')}}

{{trans('words.latest_suggestions')}}

@foreach($suggestion_list as $suggestion_data) @endforeach
{{trans('words.title')}} {{trans('words.image')}} {{trans('words.date')}} {{trans('words.name')}}  
{{Str::limit(stripslashes($suggestion_data->title),100)}} @if($suggestion_data->image) @endif {{ date('m-d-Y h:i a',$suggestion_data->date) }} {{\App\User::getUserInfo($suggestion_data->user_id)->name}}
@else

{{trans('words.latest_suggestions')}}

@foreach($suggestion_list as $suggestion_data) @endforeach
{{trans('words.title')}} {{trans('words.image')}} {{trans('words.date')}} {{trans('words.name')}}  
{{Str::limit(stripslashes($suggestion_data->title),100)}} @if($suggestion_data->image) @endif {{ date('m-d-Y h:i a',$suggestion_data->date) }} {{\App\User::getUserInfo($suggestion_data->user_id)->name}}
@endif
@include("admin.copyright")
@endsection