repositories]"; $repo=get_query_var('repo'); $package=get_query_var('package'); $arch=get_query_var('arch'); if ($repo == "") { // // Repositories // echo "

Available repositories:

"; $request = wp_remote_get('https://push.openmamba.org/openmamba/distroquery/api/v1/repositories'); $j = json_decode($request["body"],true); foreach ($j as $repository) { $repository_url = $url_prefix . $repository["tag"]; echo "". $repository["tag"] . ": " . $repository["description"] . "
"; } } else if ($package == "") { // // Repository // echo "

List of packages:

"; $request = wp_remote_get('https://push.openmamba.org/openmamba/distroquery/api/v1/repository/' . $repo); $j = json_decode($request["body"],true); } else if ($package != "") { // // Package // $request = wp_remote_get('https://push.openmamba.org/openmamba/distroquery/api/v1/package/'. $repo . "/" . $package . "/" . $arch); $j = json_decode($request["body"],true); ?>

" width="24" height="24"> :

Name:
Release:
Architecture:
Group:
Description:
Size:
URL:" target=_blank>
Download:" target=_blank>
Sources:" target=_blank>
Brothers:". $brother . " "; } ?>
Provides: