⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
audiostanding.com
/
resources
/
views
/
admin
/
View File Name :
dashboard.blade.php
@extends('admin.master_layout') @section('title')
{{ __('Dashboard') }}
@endsection @section('admin-content')
{{-- Show Credentials Setup Alert --}} @if (Route::is('admin.dashboard') && ($checkCrentials = checkCrentials())) @if ($checkCrentials->status)
{{ $checkCrentials->message }}
{{ $checkCrentials->description }}
{{ __('Update') }}
@endif @endif @if ($setting->is_queable == 'active' && Cache::get('corn_working') !== 'working')
{{ __('Corn Job Is Not Running! Many features will be disabled and face errors') }}
@endif
{{ __('Dashboard') }}
@if(checkAdminHasPermission('course.management'))
{{ __('Total Order') }}
{{ $data['total_orders'] }}
{{ __('Pending Order') }}
{{ $data['total_pending_orders'] }}
{{ __('Total Courses') }}
{{ $data['total_course'] }}
{{ __('Pending Courses') }}
{{ $data['total_pending_course'] }}
{{ __('Total Earnings') }}
{{ currency($data['total_earning']) }}
{{ __('This Years Earnings') }}
{{ currency($data['this_years_earning']) }}
{{ __('This Month Earnings') }}
{{ currency($data['this_months_earning']) }}
{{ __('Todays Earnings') }}
{{ currency($data['todays_earning']) }}
{{ __('Sales In') }} {{ request()->has('year') && request()->has('month') ? Carbon\Carbon::createFromFormat('Y-m', request('year') . '-' . request('month'))->format('F, Y') : date('F, Y') }}
@php $currentYear = Carbon\Carbon::now()->year; $currentMonth = Carbon\Carbon::now()->month; $selectYear = request('year') ?? $currentYear; $selectMonth = request('month') ?? $currentMonth; @endphp @for ($i = $data['oldestYear']; $i <= $data['latestYear']; $i++)
{{ $i }}
@endfor
@php for ($month = 1; $month <= 12; $month++) { $monthNumber = str_pad($month, 2, '0', STR_PAD_LEFT); $monthName = Carbon\Carbon::createFromFormat('m', $month)->format('M'); echo '
' . $monthName . '
'; } @endphp
@endif
@if(checkAdminHasPermission('course.management'))
{{ __('Recent Courses') }}
({{ $data['pending_courses'] }}) {{ __('Courses are pending') }}
@foreach ($data['recent_courses'] as $course)
{{ truncate($course->title, 50) }}
{{ $course->instructor->name }}
{{ $course->is_approved }}
{{ $course->created_at->diffForHumans() }}
@endforeach
{{ __('View All') }}
@endif @if(checkAdminHasPermission('blog.view'))
{{ __('Recent Blogs') }}
({{ $data['pending_blogs'] }}) {{ __('Blogs are pending') }}
@foreach ($data['recent_blogs'] as $blog)
{{ truncate($blog->translation->title, 50) }}
{{ $blog->author->name }}
{{ $blog->status == 1 ? __('Approved') : __('Pending') }}
{{ $blog->created_at->diffForHumans() }}
@endforeach
{{ __('View All') }}
@endif @if(checkAdminHasPermission('contect.message.view'))
{{ __('Recent Contacts') }}
{{ __('Here is your recent contacts messages') }}
@foreach ($data['recent_contacts'] as $contact)
{{ truncate($contact->subject, 50) }}
{{ $contact->name }}
{{ $contact->email }}
{{ $contact->created_at->diffForHumans() }}
@endforeach
{{ __('View All') }}
@endif
@endsection @push('js') @endpush