One Hat Cyber Team
Your IP :
18.216.82.12
Server IP :
162.241.123.123
Server :
Linux sh016.hostgator.in 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Server Software :
Apache
PHP Version :
8.2.25
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home1
/
saicsazq
/
joybell.in
/
app
/
View File Name :
ActorDirector.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class ActorDirector extends Model { protected $table = 'actor_director'; protected $fillable = ['ad_name', 'ad_slug', 'ad_image']; public $timestamps = false; public static function getActorDirectorInfo($id,$field_name) { $ad_info = ActorDirector::where('id',$id)->first(); if($ad_info) { return $ad_info->$field_name; } else { return ''; } } public static function getActorDirectorID($field_name) { $ad_info = ActorDirector::where('ad_name',$field_name)->first(); if($ad_info) { return $ad_info->id; } else { return ''; } } }