@extends('layout.page-app') @section('page_title', __('label.dashboard')) @section('content') @include('layout.sidebar')
@include('layout.header')

{{__('label.dashboard')}}

{{$UserCount ?? 0}} {{__('label.user')}}

{{$CategoryCount ?? 0}} {{__('label.category')}}

{{$VideoCount ?? 0}} {{__('label.video')}}

{{$ArtisCount ?? 0}} {{__('label.artist')}}

{{currency_code()}}{{no_format($EarningsCount ?? 0)}} {{__('label.earnings')}}

{{currency_code()}}{{no_format($CurrentMounthCount ?? 0)}} {{__('label.this_month')}}

{{$PackageCount ?? 0}} {{__('label.package')}}

{{__('label.recently_join_user')}}

{{__('label.view_all')}}
@if(isset($recent_user)) @foreach ($recent_user as $value) @endforeach @endif
{{__('label.full_name')}} {{__('label.email')}} {{__('label.mobile_number')}} {{__('label.type')}} {{__('label.date')}}
@if(isset($value->full_name) && $value->full_name != "") {{$value->full_name}} @else - @endif @if($value->email) {{$value->email}} @else($value->email == 'null') - @endif @if($value->mobile_number) {{$value->country_code}}{{$value->mobile_number}} @else($value->mobile_number == 'null') - @endif @if ($value->type == 1) {{__('label.otp')}} @elseif($value->type == 2) {{__('label.social')}} @elseif($value->type == 3) {{__('label.normal')}} @else - @endif {{ date("Y-m-d", strtotime($value->created_at));}}

{{__('label.popular_artist')}}

{{__('label.view_all')}}
@if(isset($popular_artist) && $popular_artist != null) @foreach ($popular_artist as $value)

{{$value->name}}

{{$value->bio}}

@endforeach @endif

{{__('label.most_view_video')}}

{{__('label.view_all')}}
@if(isset($most_view_video) && $most_view_video != null)
{{ $most_view_video['name']}}
{{no_format($most_view_video['v_view'])}}
{{ string_cut($most_view_video['description'],110) }}
@endif
@endsection