fetch(PDO::FETCH_ASSOC); if (isset($_POST["actions"]) && isset($_POST["userID"])) { changeUserStatusByID($_POST["userID"], $_POST["actions"]); } else if (isset($_POST["actions"]) && isset($_POST["groupID"])) { changeGroupStatusByID($_POST["groupID"], $_POST["actions"]); } else if (isset($_POST["batchactions"]) && isset($_POST["checkbox-user"])) { if ($userinfo['role'] == 'owner') { changeMultipleUserStatusByID($_POST["checkbox-user"], $_POST["batchactions"]); } else { changeMultipleUserStatusByIDAdmin($_POST["checkbox-user"], $_POST["batchactions"]); } } else if (isset($_POST["groupbatchactions"]) && isset($_POST["checkbox-group"])) { changeMultipleGroupStatusByID($_POST["checkbox-group"], $_POST["groupbatchactions"]); } else if (isset($_POST['bancommentuserID']) && isset($_POST['bancommenttext'])) { editBanCommentByID($_POST['bancommentuserID'], $_POST['bancommenttext']); }