getMembers(9999); $usernames = array(); foreach ($group_members as $key => $group_member) { $usernames[] = $group_member->guid; } $sort_val = "created"; //default sort term if ( get_input('sortValue') ) { $sort_val = get_input('sortValue'); $_SESSION['sortTerm'] = $sort_val; } else if ( $_SESSION['sortTerm'] ) { $sort_val = $_SESSION['sortTerm']; } $ids = getCommunityResources($usernames, $sort_val); /*translation:Group members materials*/ $title = elgg_echo("koolielu:title_group_members_materials"); $area2 = "