Risorse
"); if (mysql_num_rows($res) > 0) { while ($arr = mysql_fetch_array($res)) { $urlid = $arr["id_sito"]; $clr_titrec=str_replace(array("\'",'\"'),array("'",'"'),$arr["tit_rec"] ); $clr_titsit=str_replace(array("\'",'\"'),array("'",'"'),$arr["tit_sit"] ); $clr_url=str_replace(array("\'",'\"'),array("'",'"'),$arr["indirizzo"] ); $clr_abst=str_replace(array("\'",'\"'),array("'",'"'),$arr["abstract"] ); $clr_aut=str_replace(array("\'",'\"'),array("'",'"'),$arr["autore"] ); $added = $arr["data"] ;//. " GMT (" . (get_elapsed_time(sql_timestamp_to_unix_timestamp( $arr["added"]))) . " ago)"; $eng= $arr["n_eng"]; $acc = $arr["accesso"]; if ($acc=='libero') {$accesso="\"Accesso"; } elseif ($acc=='restrizioni') {$accesso="\"Accesso"; } else{$accesso="\"Accesso"; } print(""); print("\n"); print("\n"); print("\n"); print("\n"); print("
n. $eng$clr_titrec
$accesso
scheda
$clr_titsit
$clr_url
$clr_abst
($clr_aut)

"); } } else print("Spiacente, Nessuna recensione disponibile!"); print("
"); print("
    "); //elenco risorse if (mysql_num_rows($ris) > 0) { while ($arr = mysql_fetch_array($ris)) { $risid = $arr["id_ris"]; $clr_titris=str_replace(array("\'",'\"'),array("'",'"'),$arr["ris_titolo"] ); $clr_link=str_replace(array("\'",'\"'),array("'",'"'),$arr["ris_link"] ); //tabella risorse print("
  • $clr_titris\n"); } }else print("Spiacente, Nessuna risorsa disponibile!"); db_close(); print("
"); include ("stile/piede.php"); ?>