Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
sdgamatya /
app /
Http /
ViewComposers /
[ HOME SHELL ]
Name
Size
Permission
Action
NotificationComposer.php
1.55
KB
-rw-r--r--
NotificationComposer_backup.ph...
1.61
KB
-rw-r--r--
SettingsComposer.php
289
B
-rw-r--r--
SidebarComposer.php
941
B
-rw-r--r--
SloganComposer.php
497
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : NotificationComposer.php
<?php namespace App\Http\ViewComposers; use Illuminate\View\View; use Sentinel; use App\Model\Receive; use App\Model\Repair; class NotificationComposer{ protected $notifications = []; protected $unreads = []; protected $no_pending_cylinders = 0; protected $no_pending_confirmation = 0; public function __construct() { $this->notifications = Sentinel::getUser()->notifications()->paginate(10); $this->unreads = Sentinel::getUser()->unreadNotifications; $unapprovedReceives = Receive::whereNull('group_id')->get(); $total_count = 0; foreach ($unapprovedReceives as $receive) { $repair = Repair::with('repair_details')->where(['receive_id'=>$receive->id])->first(); $repair_details_count = $repair->repair_details ? $repair->repair_details->count() :0 ; if($receive->total_cylinder == $repair_details_count){ $total_count+=1; } } $this->no_pending_cylinders = $total_count; $this->no_pending_confirmation = Receive::where(['status'=>4])->count(); } /** * Bind data to the view. * * @param View $view * @return void */ public function compose(View $view) { $allNotifications['notifications'] =$this->notifications; $allNotifications['unreads'] =$this->unreads; $allNotifications['no_pending_cylinders'] =$this->no_pending_cylinders; $allNotifications['no_pending_confirmation'] =$this->no_pending_confirmation; // dd($allNotifications['no_pending_cylinders']); $view->with('allNotifications',$allNotifications); } }
Close