@extends('admin.layouts.master') @section('title',__('Admin Dashboard')) @section('maincontent') @include('admin.layouts.topbar')
@can('dashboard.manage')

{{ $userss }}

{{ __('Users') }}

{{ $instructor }}

{{ __('Instructors') }}

{{ $courses }}

{{ __('Courses') }}

{{ $categories }}

{{ __('Categories') }}

@if(isset($zoom_enable) && $zoom_enable == 1)

{{ $zoom }}

{{ __('Zoom Meetings') }}

@if(Route::has('zoom.setting')) @endif
@endif @if(isset($gsetting) && $gsetting->bbl_enable == 1)

{{ $bbl }}

{{ __('BB Meetings') }}

@if(Route::has('bbl.setting'))
@endif
@endif @if(isset($gsetting) && $gsetting->jitsimeet_enable == 1)

{{ $jitsi }}

{{ __('Jitsi Meetings') }}

@if(Route::has('jitsi.dashboard'))
@endif
@endif @if(isset($gsetting) && $gsetting->googlemeet_enable == 1)

{{ $googlemeet }}

{{ __('Google Meetings') }}

@if(Route::has('googlemeet.index'))
@endif
@endif

{{ $faq }}

{{ __('Faq\'s') }}

{{ $pages }}

{{ __('Pages') }}

{{ $blogs }}

{{ __('Blogs') }}

{{ $testimonial }}

{{ __('Testimonials') }}

{{ $coupon }}

{{ __('Coupons') }}

{{ $orders }}

{{ __('Orders') }}

{{ $refund }}

{{ __('Refund Orders') }}

{{ $follower }}

{{ __('Followers') }}

@if (!empty($topuser))
{{ __('Recent Users') }}
@foreach($topuser as $topusers)
@if($topusers['user_img'] != null && $topusers['user_img'] !='' && @file_get_contents('images/user_img/'.$topusers['user_img'])) {{$topusers->fname}} @else {{$topusers->fname}} @endif
{{ $topusers->fname }}

{{ $topusers->email }}

{{ __('Verified') }}:{{ $topusers['verified'] }}

@endforeach
@endif @if (!empty($topinstructor))
{{ __('Recent Instructors') }}
@foreach($topinstructor as $topinstructors)
{{$topinstructors->fname}}
{{ $topinstructors->fname }}

{{ $topinstructors->email }}

{{ __('Verified') }}:{{ $topinstructors->verified }}

@endforeach
@endif @if (!empty($topcourses))
{{ __('Recent Courses') }}
@foreach($topcourses as $topcourses)
@if($topcourses['preview_image'] !== NULL && $topcourses['preview_image'] !== '') {{$topcourses->title}} @else {{$topcourses->title}} @endif
{{ str_limit($topcourses->title, $limit = 15, $end = '...') }}

{{ optional($topcourses->category)->title }}

@if($topcourses->discount_price == NULL) {{ __('Price') }}:{{ $topcourses->price }} @else {{ __('Price') }}:{{ $topcourses->discount_price }} @endif

@endforeach
@endif @if (!empty($toporder))
{{ __('Recent Orders') }}
@foreach($toporder as $toporders) @if(!is_null($toporders->user))
{{$toporders->user->fname}}
{{ $toporders->user->fname }}

{{ $toporders->payment_method }}

{{ __('Price') }}:{{ $toporders->total_amount}}

@endif @endforeach
@endif
{{ __('Monthly Registered Users in') }} {{date("Y")}}
{{ __('Total Orders in') }} {{date("Y")}}
{{ __('Users Distribution') }}
{{ __('Recent Courses') }}
@php $courses = App\Course::limit(5)->orderBy('id', 'DESC')->get() @endphp @if(!$courses->isEmpty()) @foreach($courses as $course) @endforeach
@if($course['preview_image'] !== NULL && $course['preview_image'] !== '') {{$course->title}} @else {{$course->title}} @endif

{{ str_limit($course['title'], $limit = 25, $end = '...') }}
{{ str_limit($course->short_detail, $limit = 40, $end = '...') }}

@if( $course->type == 1) @if($course->discount_price == !NULL) @if($gsetting['currency_swipe'] == 1) {{ $course['discount_price'] }} @else {{ $course['discount_price'] }} @endif @else @if($gsetting['currency_swipe'] == 1) {{ $course['price'] }} @else {{ $course['price'] }} @endif @endif @else {{ __('Free') }} @endif
@endif
@php $instructors = App\Instructor::limit(3)->orderBy('id', 'DESC')->get(); @endphp @if( !$instructors->isEmpty() )
@foreach($instructors as $instructor) @if($instructor->status == 0)
{{ $instructor['fname'] }}

{{ $instructor['fname'] }} {{ $instructor['lname'] }}
{{ str_limit($instructor['detail'], $limit = 130, $end = '...') }}

{{ __('Resume') }}: {{ __('Download') }}
@endif @endforeach
@endif
@else

{{ auth()->user()->getRoleNames()[0] }} {{ __('Dashboard') }}

{{ __('Welcome') }}, {{ Auth::user()->fname}}

"{{ __('May the sun shine brightest, Today') }}"

@endcan
@endsection @section('scripts') @endsection