@extends('layouts.main') @section('title') {{ __('dashboard') }} @endsection @section('content')

{{ __('dashboard') }}

{{ __('category_wise_news') }}

{{ __('language_wise_news') }}

{{ __('latest_category') }}

@if (count($recent_categories) == 0)

{{ __('could_not_find_data') }}

{{ __('make_alteast_entry') }}

@else
@foreach ($recent_categories as $row)
@if ($row->image) category @endif {{ $row->category_name }}
@endforeach
@endif

{{ __('most_viewed_news') }}

@if (count($news_view) == 0)

{{ __('could_not_find_data') }}

{{ __('make_alteast_entry') }}

@else @foreach ($news_view as $item)
@if ($item->image) ... @endif
{{ $item->title }}
@endforeach @endif

{{ __('language_wise_survey') }}

{{ __('latest_comment') }}

@if (count($recent_comments) == 0)

{{ __('could_not_find_data') }}

{{ __('make_alteast_entry') }}

@else
@foreach ($recent_comments as $row)
@if ($row->user->profile) User Image @endif
{{ $row->user->name }} {{ $row->date }} {{ $row->message }}
@endforeach
@endif
@endsection @section('css') @endsection @section('js') @endsection @section('script') @endsection