⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.162
Server IP:
147.93.29.146
Server:
Linux server.tagooz.co 5.14.0-503.15.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 28 07:25:19 EST 2024 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
webstoremaker
/
public_html
/
app
/
Models
/
View File Name :
PaymentGateway.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class PaymentGateway extends Model { protected $fillable = ['title', 'details', 'subtitle', 'name', 'type', 'information', 'keyword']; public $timestamps = false; public function convertAutoData() { return json_decode($this->information, true); } public function getAutoDataText() { $text = $this->convertAutoData(); return end($text); } public function showKeyword() { $data = $this->keyword == null ? 'other' : $this->keyword; return $data; } public function showForm() { $show = ''; $data = $this->keyword == null ? 'other' : $this->keyword; $values = ['paypal']; if (in_array($data, $values)) { $show = 'no'; } else { $show = 'yes'; } return $show; } }