@php $setting = \App\Setting::first(); @endphp
Dice + Mines
Банк {{$setting->dice_bank}}
Заработок {{$setting->dice_profit}}
Mines
Банк {{$setting->mines_bank}}
Заработок {{$setting->mines_profit}}
x30
Банк {{$setting->wheel_bank}}
Заработок {{$setting->wheel_profit}}
Стата GamePay
Общий баланс кошельков 100000 * Информация обновляется раз в 5 минут
Онлайн
Пользователей всего
{{\App\User::count()}} ( {{\App\User::where('ban', 1)->count()}} )
Пользователей за сегодня
22 ( 1 )
Пользователей за неделю
22 ( 1 )
Пользователей за месяц
22 ( 1 )
Пользователей за год
22 ( 1 )
* Красным цветом обозначаются забаненные пользователи
Игр всего
22
Игр за сегодня
22
Игр за неделю
22
Игр за месяц
22
Игр за год
22
Топ 5 богатых писек @php $user_bogat = \App\User::orderBy('balance', 'desc')->where('admin', '!=', 1)->limit(5)->get(); @endphp @foreach($user_bogat as $u)
{{$u->name}}
{{$u->balance}}
@endforeach
Топ 5 рефоводов по рефералам @php $user_refs = \App\User::orderBy('refs', 'desc')->limit(5)->get(); @endphp @foreach($user_refs as $u)
{{$u->name}}
{{$u->refs}} рефералов
@endforeach
Топ 5 рефоводов по заработку @php $user_profit = \App\User::orderBy('profit', 'desc')->limit(5)->get(); @endphp @foreach($user_profit as $u)
{{$u->name}}
{{$u->profit}} p.
@endforeach
@php $deps = \App\Payment::where('status', 1)->sum('sum'); $withdraws = \App\Withdraw::where('status', 1)->sum('sum'); $profit = round($deps - $withdraws ,2); $deps_today = \App\Payment::where('status', 1)->whereDate('created_at', \Carbon\Carbon::today())->sum('sum'); $withdraws_today = \App\Withdraw::where('status', 1)->whereDate('created_at', \Carbon\Carbon::today())->sum('sum'); $profit_today = round($deps_today - $withdraws_today ,2); $deps_yesterday = \App\Payment::where('status', 1)->whereDate('created_at', \Carbon\Carbon::yesterday())->sum('sum'); $withdraws_yesterday = \App\Withdraw::where('status', 1)->whereDate('created_at', \Carbon\Carbon::yesterday())->sum('sum'); $profit_yesterday = round($deps_yesterday - $withdraws_yesterday ,2); $deps_week = \App\Payment::where('status', 1)->whereBetween('created_at', [\Carbon\Carbon::now()->startOfWeek(), \Carbon\Carbon::now()->endOfWeek()])->sum('sum'); $withdraws_week = \App\Withdraw::where('status', 1)->whereBetween('created_at', [\Carbon\Carbon::now()->startOfWeek(), \Carbon\Carbon::now()->endOfWeek()])->sum('sum'); $profit_week = round($deps_week - $withdraws_week ,2); $deps_month = \App\Payment::where('status', 1)->whereMonth('created_at', \Carbon\Carbon::now()->month)->sum('sum'); $withdraws_month = \App\Withdraw::where('status', 1)->whereMonth('created_at', \Carbon\Carbon::now()->month)->sum('sum'); $profit_month = round($deps_month - $withdraws_month ,2); $deps_year = \App\Payment::where('status', 1)->whereYear('created_at', \Carbon\Carbon::now()->year)->sum('sum'); $withdraws_year = \App\Withdraw::where('status', 1)->whereYear('created_at', \Carbon\Carbon::now()->year)->sum('sum'); $profit_year = round($deps_year - $withdraws_year ,2); @endphp
Профит {{$profit}} ₽
Пополнений всего
{{$deps}} ₽
Выводов всего
{{$withdraws}} ₽
Профит всего
{{$profit}} ₽
Пополнений за сегодня
{{$deps_today}} ₽
Выводов за сегодня
{{$withdraws_today}} ₽
Профит за сегодня
{{$profit_today}} ₽
Пополнений за вчера
{{$deps_yesterday}} ₽
Выводов за вчера
{{$withdraws_yesterday}} ₽
Профит за вчера
{{$profit_yesterday}} ₽
Пополнений за неделю
{{$deps_week}} ₽
Выводов за неделю
{{$withdraws_week}} ₽
Профит за неделю
{{$profit_week}} ₽
Пополнений за месяц
{{$deps_month}} ₽
Выводов за месяц
{{$withdraws_month}} ₽
Профит за месяц
{{$profit_month}} ₽
Пополнений за год
{{$deps_year}} ₽
Выводов за год
{{$withdraws_year}} ₽
Профит за год
{{$profit_year}} ₽