@extends('admin.layouts.master') @section('title',__('Admin Dashboard')) @section('breadcum') @endsection @section('maincontent')
@csrf

{{ $userss }}

{{ __('Users') }}

{{ $courses }}

{{ __('Courses') }}

{{ $categories }}

{{ __('Categories') }}

{{ $coupon }}

{{ __('Coupons') }}

@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 }}

{{ __('BBL 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') }}

{{ $instructor }}

{{ __('Instructors') }}

{{ $orders }}

{{ __('Orders') }}

{{ $refund }}

{{ __('Refund Orders') }}

{{ $follower }}

{{ __('Followers') }}

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

{{ $topusers->email }}

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

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

{{ $topinstructors->email }}

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

@endforeach
{{ __('Recent Courses') }}
@foreach($topcourses as $topcourses)
@if($topcourses['preview_image'] !== NULL && $topcourses['preview_image'] !== '') @else @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
{{ __('Recent Orders') }}
@foreach($toporder as $toporders) @if(!is_null($toporders->user))
{{ $toporders->user->fname }}

{{ $toporders->payment_method }}

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

@endif @endforeach
{{ __('Monthly Registred Users in 2022') }}
{{ __('Total Orders in 2022') }}
{{ __('User 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 Image @else Course Image @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 {{ __('adminstaticword.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)
user

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

{{ __('adminstaticword.Resume') }}: {{ __('adminstaticword.Download') }}
@endif @endforeach
@endif
@endsection @section('scripts') @endsection