Complete getActivity.php