Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Prossima revisione
Revisione precedente
l:nat:87:87_4155_ldkks_l31 [2019/07/01 11:08] – creata Daniele Neronil:nat:87:87_4155_ldkks_l31 [2021/05/14 21:31] (versione attuale) – modifica esterna 127.0.0.1
Linea 36: Linea 36:
  
 ===== note ===== ===== note =====
-  * Diverse unità unite in coppia permanentemente.+  * Diverse unità trasformate in maniera permanente in [[l:nat:87:87_4354_laadrs_l32|]].
  
  
Linea 43: Linea 43:
 ===== immagini ===== ===== immagini =====
 |  <php> |  <php>
-$cat_id = 170;+$cat_id = 0;
 $per_page = 6; $per_page = 6;
  
 $site = "https://gallery.carrimerci.it/ws.php?format=php&method=" ; //CONFIG: your site Api address $site = "https://gallery.carrimerci.it/ws.php?format=php&method=" ; //CONFIG: your site Api address
-$get_api = $site . "pwg.categories.getImages&recursive=true&cat_id=$cat_id&order=date_available&per_page=$per_page";+$get_api = $site . "pwg.categories.getImages&recursive=true&cat_id=$cat_id&order=date_upload&per_page=$per_page";
 $resp_arr = unserialize(file_get_contents($get_api)); //get the response and put to array $resp_arr = unserialize(file_get_contents($get_api)); //get the response and put to array
 foreach ($resp_arr["result"]["images"] as $value) { foreach ($resp_arr["result"]["images"] as $value) {
  • Ultima modifica: 2021/05/14 21:31