Linux spg1.cloudpowerdns.com 5.14.0-611.34.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 18 05:51:10 EST 2026 x86_64
LiteSpeed
Server IP : 176.9.63.151 & Your IP : 216.73.217.60
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
Game source /
core /
app /
Traits /
Delete
Unzip
Name
Size
Permission
Date
Action
ApiQuery.php
850
B
-rw-r--r--
2024-05-09 05:39
GlobalStatus.php
1.32
KB
-rw-r--r--
2024-05-09 05:39
SupportTicketManager.php
12.82
KB
-rw-r--r--
2025-06-22 10:28
UserNotify.php
4.42
KB
-rw-r--r--
2024-05-09 05:39
Save
Rename
<?php namespace App\Traits; use App\Constants\Status; trait UserNotify { public static function notifyToUser(){ return [ 'allUsers' => 'All Users', 'selectedUsers' => 'Selected Users', 'kycUnverified' => 'Kyc Unverified Users', 'kycVerified' => 'Kyc Verified Users', 'kycPending' => 'Kyc Pending Users', 'withBalance' => 'With Balance Users', 'emptyBalanceUsers' => 'Empty Balance Users', 'twoFaDisableUsers' => '2FA Disable User', 'twoFaEnableUsers' => '2FA Enable User', 'hasDepositedUsers' => 'Deposited Users', 'notDepositedUsers' => 'Not Deposited Users', 'pendingDepositedUsers' => 'Pending Deposited Users', 'rejectedDepositedUsers' => 'Rejected Deposited Users', 'topDepositedUsers' => 'Top Deposited Users', 'hasWithdrawUsers' => 'Withdraw Users', 'pendingWithdrawUsers' => 'Pending Withdraw Users', 'rejectedWithdrawUsers' => 'Rejected Withdraw Users', 'pendingTicketUser' => 'Pending Ticket Users', 'answerTicketUser' => 'Answer Ticket Users', 'closedTicketUser' => 'Closed Ticket Users', 'notLoginUsers' => 'Last Few Days Not Login Users', ]; } public function scopeSelectedUsers($query) { return $query->whereIn('id', request()->user ?? []); } public function scopeAllUsers($query) { return $query; } public function scopeEmptyBalanceUsers($query) { return $query->where('balance', '<=', 0); } public function scopeTwoFaDisableUsers($query) { return $query->where('ts', Status::DISABLE); } public function scopeTwoFaEnableUsers($query) { return $query->where('ts', Status::ENABLE); } public function scopeHasDepositedUsers($query) { return $query->whereHas('deposits', function ($deposit) { $deposit->successful(); }); } public function scopeNotDepositedUsers($query) { return $query->whereDoesntHave('deposits', function ($q) { $q->successful(); }); } public function scopePendingDepositedUsers($query) { return $query->whereHas('deposits', function ($deposit) { $deposit->pending(); }); } public function scopeRejectedDepositedUsers($query) { return $query->whereHas('deposits', function ($deposit) { $deposit->rejected(); }); } public function scopeTopDepositedUsers($query) { return $query->whereHas('deposits', function ($deposit) { $deposit->successful(); })->withSum(['deposits'=>function($q){ $q->successful(); }], 'amount')->orderBy('deposits_sum_amount', 'desc')->take(request()->number_of_top_deposited_user ?? 10); } public function scopeHasWithdrawUsers($query) { return $query->whereHas('withdrawals', function ($q) { $q->approved(); }); } public function scopePendingWithdrawUsers($query) { return $query->whereHas('withdrawals', function ($q) { $q->pending(); }); } public function scopeRejectedWithdrawUsers($query) { return $query->whereHas('withdrawals', function ($q) { $q->rejected(); }); } public function scopePendingTicketUser($query) { return $query->whereHas('tickets', function ($q) { $q->whereIn('status', [Status::TICKET_OPEN, Status::TICKET_REPLY]); }); } public function scopeClosedTicketUser($query) { return $query->whereHas('tickets', function ($q) { $q->where('status', Status::TICKET_CLOSE); }); } public function scopeAnswerTicketUser($query) { return $query->whereHas('tickets', function ($q) { $q->where('status', Status::TICKET_ANSWER); }); } public function scopeNotLoginUsers($query) { return $query->whereDoesntHave('loginLogs', function ($q) { $q->whereDate('created_at', '>=', now()->subDays(request()->number_of_days ?? 10)); }); } public function scopeKycVerified($query) { return $query->where('kv', Status::KYC_VERIFIED); } }