fetch_assoc()) { $row['move_date'] = substr($row['last_moved'], 0, 10); $groups[] = $row; } print_header('Package Groups'); print_listing($groups, true, 'group'); print_footer(); die(); } if (count($uri_parts) != 1) throw_http_error(422, 'Unprocessable Entity'); $group = $uri_parts[0]; $group_filter = '`install_targets`.`name`=from_base64("' . base64_encode($group) . '")'; $packages = query_package_listing( mysql_join_binary_packages_install_target_providers() . mysql_join_install_target_providers_install_targets() . ' WHERE ' . $arch_filter . ' AND ' . $group_filter, '', array(), false, true ); if (count($packages) == 0) throw_http_error(404, 'Not Found'); print_header('Group Details'); print "
" . count($packages) . " packages found.
\n"; print "\n"; print " " . $sort['label'] . "\n"; print " | \n"; } print "
---|