⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.142
Server IP:
217.76.53.76
Server:
Linux vmi1397931.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
extra.spread.com.ng
/
app
/
Models
/
View File Name :
Pages.php
orderBy('cid', 'desc')->get(); return $value; } public static function getpageData() { $value=DB::table('pages')->orderBy('page_id', 'desc')->get(); return $value; } public static function menupageData() { $value=DB::table('pages')->where('page_status','=','1')->where('main_menu','=','1')->orderBy('menu_order', 'asc')->get(); return $value; } public static function footermenuData() { $value=DB::table('pages')->where('page_status','=','1')->where('footer_menu','=','1')->orderBy('menu_order', 'asc')->get(); return $value; } public static function insertpageData($data){ DB::table('pages')->insert($data); } public static function deletePagedata($page_id){ DB::table('pages')->where('page_id', '=', $page_id)->delete(); } public static function deleteContact($id){ DB::table('contact')->where('cid', '=', $id)->delete(); } public static function editpageData($page_id){ $value = DB::table('pages') ->where('page_id', $page_id) ->first(); return $value; } public static function updatepageData($page_id,$data){ DB::table('pages') ->where('page_id', $page_id) ->update($data); } public static function totalpageData() { $get=DB::table('pages')->where('page_status','=','1')->get(); $value = $get->count(); return $value; } public static function totalcontactData() { $get=DB::table('contact')->orderBy('cid', 'desc')->get(); $value = $get->count(); return $value; } /* pages */ }