is_admin($conn, $_SESSION["id"])) { $user_id = $_POST['id']; } elseif (empty($_POST['id'])) { $user_id = $_SESSION["id"]; } else { ?>