One Hat Cyber Team
Your IP :
3.144.29.148
Server IP :
50.28.103.30
Server :
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
nginx/1.24.0
PHP Version :
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
globify.live
/
layouts
/
entry_page
/
Edit File:
user_online_status.php
<?php if (Registry::load('current_user')->logged_in) { session_write_close(); $current_user_id = Registry::load('current_user')->id; $raw_post = json_decode(file_get_contents('php://input'), true); $update_data = ['last_seen_on' => Registry::load('current_user')->time_stamp]; if (!empty($raw_post) && isset($raw_post['offline'])) { $update_data['online_status'] = 0; } else { $update_data['online_status'] = 1; } DB::connect()->update("site_users", $update_data, ["user_id" => $current_user_id]); exit; }
Simpan