���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
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
/
cutunix
/
app
/
Livewire
/
Forms
/
admin
/
Analyze
/
Viewing: Materials.php
<?php namespace App\Livewire\Forms\admin\Analyze; use Livewire\Form; use Illuminate\Validation\Rule; use App\Models\AnalyzeMaterial; class Materials extends Form { public ?AnalyzeMaterial $query; public function rules() { return [ 'wood_thickness' => 'required', 'wood_type' => 'required', 'sort' => 'required', 'color' => 'required', 'title' => 'required', 'title_en' => 'required', ]; } public $wood_thickness = '3'; public $wood_type = 'نئوپان'; public $color = '1'; public $sort = 0; public $title = ''; public $title_en = ''; public function setData(AnalyzeMaterial $model) { $this->query = $model; $this->wood_thickness = $model->wood_thickness; $this->wood_type = $model->wood_type; $this->sort = $model->sort; $this->color = $model->color; $this->title = $model->title; $this->title_en = $model->title_en; } public function store() { $this->validate(); AnalyzeMaterial::create([ 'wood_thickness'=>$this->wood_thickness, 'wood_type'=>$this->wood_type, 'sort'=>$this->sort, 'color'=>$this->color, 'title'=>$this->title, 'title_en'=>$this->title_en, ]); $this->reset(); } public function update() { $this->validate(); $this->query->update([ 'wood_thickness'=>$this->wood_thickness, 'wood_type'=>$this->wood_type, 'sort'=>$this->sort, 'color'=>$this->color, 'title'=>$this->title, 'title_en'=>$this->title_en, ]); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa