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

{{ $student }}

Student

{{ $instructor }}

{{ __('Instructor') }}

{{ $parent }}

Parent

{{ $admin }}

Admin

{{ $courses }}

{{ __('Courses') }}

{{ $institute }}

Institute

{{ $categories }}

{{ __('Categories') }}

{{ __('Top Student') }}
@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
{{ __('Top Instructors') }}
@foreach($topinstructor as $topinstructors)
{{ $topinstructors->fname }}

{{ $topinstructors->email }}

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

@endforeach
{{ __('Top 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
{{ __('Top Institute') }}
@foreach($topinstitute as $toporders)
{{ $toporders->title }}

{{ $toporders->detail }}

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

@endforeach
{{ __('Monthly Registred Student in 2021') }}
@endsection @section('scripts') @endsection