Added search and browse functionality to allactivitites.php.