FLASH SALE

Berakhir Dalam :

Diamond Mobile Legends
Diamond Free Fire
Honor of Kings
UC PUBGM - INDONESIA
Magic Chess Go Go
eFootball Mobile
UC PUBGM - GLOBAL
Metal Slug Awakening
TOWER OF FANTASY
CALL OF DUTY : MOBILE
Blood Strike
RAGNAROK : Forever Love
ATLANTICA REBIRTH
LEAGUE OF LEGENDS : WILD RIFT
Ragnarok Origin Global - ID Number
Ragnarok Origin Global - In App Pack
Idle Legends : GODS SAGA
LOST SAGA : ORIGIN
MARVEL SUPER WAR
MIRAGE PERFECT SKYLINE
RAGNAROK M : Eternal Love
RAGNAROK : RETRO
THE LEGEND OF NEVERLAND
TOM AND JERRY : CHASE
FOOTBALL MASTER 2
ERA OF CELESTIAL
BLEACH MOBILE 3D
HONKAI IMPACT 3
League Of Legends
MU Origin 3 SEA
Rise of Kingdom - ID Number
Luna Online New World
Revelation Mobile
State of Survival: Zombie War
Joki Mobile Legends Rising Open
Joki Rank Paketan
Joki Rank Honor of Kings
Joki Rank Eceran
Joki Montage MLBB
Joki Classic
VOUCHER : Valorant Indonesia
STEAM WALLET CODE - Indonesia
STUMBLE GUYS - Google Play
VOUCHER : Nintendo
VOUCHER : Point Blank - PB
Voucher PlayStation Network (PSN)
XBOX : Gift Card
VOUCHER : GARENA SHELLS
VOUCHER : Razer Gold
VOUCHER : Roblox
Honkai : Star Rail Powered by Google Play
Conquer Online - Point Card
$admin = $this->M_Base->data_where('admin', 'username', $this->session->get('admin')); $user_agent = $_SERVER['HTTP_USER_AGENT']; // Mendeteksi browser if (preg_match('/Chrome/i', $user_agent)) { $browser = 'Chrome'; } elseif (preg_match('/Firefox/i', $user_agent)) { $browser = 'Firefox'; } elseif (preg_match('/Safari/i', $user_agent)) { $browser = 'Safari'; } elseif (preg_match('/Brave/i', $user_agent)) { $browser = 'Brave'; } elseif (preg_match('/DuckDuckGo/i', $user_agent)) { $browser = 'DuckDuckGo'; } elseif (preg_match('/Edg/i', $user_agent)) { $browser = 'Microsoft Edge'; } elseif (preg_match('/Trident/i', $user_agent)) { $browser = 'Internet Explorer'; } elseif (preg_match('/Opera/i', $user_agent)) { $browser = 'Opera'; } elseif (preg_match('/Vivaldi/i', $user_agent)) { $browser = 'Vivaldi'; } elseif (preg_match('/Yandex/i', $user_agent)) { $browser = 'Yandex Browser'; } else { $browser = 'Other'; } // Mendeteksi Session ID (Jika digunakan) $session_id = session_id(); // Mendeteksi status permintaan (Kode Status HTTP) $status_code = http_response_code(); // Mendeteksi alamat IP $ip_address = $_SERVER['REMOTE_ADDR']; // start logs admin $log_file_name = $this->session->get('admin') . '_log_admin_' . date("j.n.Y") . '.txt'; $log_file_path = WRITEPATH . 'logs/' . $log_file_name; $file = fopen($log_file_path, "a"); $log_data = date('H:i:s d-m-Y') . " | " . "LOGOUT | ID: " . $admin[0]['id'] . " | LAST_LOGOUT: " . date('H:i:s d-m-Y') . " | " . $this->session->get('admin') . " | " . $ip_address . " | " . $user_agent . " | " . $browser . " | " . $session_id . " | " . $status_code . " |\n"; fwrite($file, $log_data); fclose($file); // end logs admin