Last 24 hours

{{__("Users registered")}}: {{\App\Providers\DashboardServiceProvider::getLast24HoursRegisteredUsersCount()}}

{{__("New posts")}}: {{\App\Providers\DashboardServiceProvider::getLast24HoursPostsCount()}}

{{__("New subscriptions")}}: {{\App\Providers\DashboardServiceProvider::getLast24HoursSubscriptionsCount()}}

{{__("Total earned")}}: {{\App\Providers\SettingsServiceProvider::getWebsiteCurrencySymbol()}}{{\App\Providers\DashboardServiceProvider::getLast24HoursTotalEarned()}}

{{__("Go to users")}} ››

Payments

{{__("Active subscriptions")}}: {{\App\Providers\DashboardServiceProvider::getActiveSubscriptionsCount()}}

{{__("Subscriptions revenue")}}: {{\App\Providers\SettingsServiceProvider::getWebsiteCurrencySymbol()}}{{\App\Providers\DashboardServiceProvider::getTotalSubscriptionsRevenue()}}

{{__("Total transactions")}}: {{\App\Providers\DashboardServiceProvider::getTotalTransactionsCount()}}

{{__("Total amount earned")}}: {{\App\Providers\SettingsServiceProvider::getWebsiteCurrencySymbol()}}{{\App\Providers\DashboardServiceProvider::getTotalEarned()}}

{{__("Go to payments")}} ››

Content

{{__("Total posts")}}: {{\App\Providers\DashboardServiceProvider::getPostsCount()}}

{{__("Post attachments")}}: {{\App\Providers\DashboardServiceProvider::getPostAttachmentsCount()}}

{{__("Post comments")}}: {{\App\Providers\DashboardServiceProvider::getPostCommentsCount()}}

{{__("Total reactions")}}: {{\App\Providers\DashboardServiceProvider::getReactionsCount()}}

{{__("Go to content")}} ››
@include('elements.admin.value_card', [ 'name' => 'newUsersValue', 'route' => 'admin.metrics.new.users.value', 'size' => 'col-xs-12 col-sm-12 col-md-6 col-lg-6', 'title' => __('New users'), 'form' => [ 'trans' => [ucfirst(trim(str_replace('1 ','',trans_choice('days', 1,['number'=>1])))), ucfirst(trim(str_replace('2 ','',trans_choice('days', 2,['number'=>2]))))], 'function' => 'count', 'ranges' => [1, 7, 14, 30, 60, 90], 'range' => 30 ] ]) @include('elements.admin.partition_card', [ 'name' => 'rolesPerUser', 'chart' => [ 'size' => 180, 'color' => '203, 12, 159', 'total' => true ], 'route' => 'admin.metrics.new.users.partition', 'size' => 'col-xs-12 col-sm-12 col-md-6 col-lg-6', 'title' => __('Users roles'), 'form' => [ 'function' => 'count', ] ])
@include('elements.admin.trend_card', [ 'name' => 'newUsersTrend', 'chart' => [ 'size' => 100, 'color_start' => 'rgba(255, 105, 220)', 'color_stop' => 'rgba(207, 60, 172, 0.5)', 'border_color' => 'rgba(203, 12, 159, 0.7)', 'point_radius' => 10, 'total' => true ], 'route' => 'admin.metrics.new.users.trend', 'size' => 'col-12 col-lg-12 mb-4', 'title' => __('Registered users'), 'form' => [ 'trans' => [ucfirst(trim(str_replace('1 ','',trans_choice('months', 1,['number'=>1])))), ucfirst(trim(str_replace('2 ','',trans_choice('months', 2,['number'=>2]))))], 'function' => 'count', 'unit' => 'month', 'ranges' => [3, 6, 12], 'range' => 12 ] ])