query('SELECT enter_game FROM users WHERE id = ?i',$_SESSION['uid'])->getNumRows() ?? 0; if (empty($userLoginStatus)) {header("Location: index.php");} else {db::c()->query('UPDATE `users` SET `enter_game` = 0 WHERE `enter_game` = 1 AND `id` = ?i', $_SESSION['uid']);} ?>