���Root Mod By V1rus_Alfa
User / IP
:
216.73.216.158
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
portal-cutunix
/
app
/
Livewire
/
Admin
/
Pages
/
Table
/
Dashboard
/
Viewing: Admin.php
<?php namespace App\Livewire\Admin\Pages\Table\Dashboard; use Livewire\Component; use Livewire\WithPagination; use Modules\Project\Models\OrderLog; class Admin extends Component { use WithPagination; public $search = ''; public $order_id; public $em; public function render() { $result = OrderLog:: where('order_id', $this->order_id) ->orderBy('order_logs.id', 'desc') ->when($this->search, function ($q) { $q->where(function ($q) { $q->whereHas('user', function ($q) { $q->where('users.first_name', 'like', '%' . $this->search . '%') ->orWhere('users.last_name', 'like', '%' . $this->search . '%'); })->orWhere('text', 'like', '%' . $this->search . '%'); }); }) ->when($this->em, function ($q) { $q->where('type', 'employee'); }, function ($q) { $q->where('type', 'services'); }) ->paginate(10); return view('livewire.admin.pages.table.dashboard.admin', ['result' => $result]); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa