"; //blocco centrale echo "
Inizio

Il sito degli oggetti in regalo!

"; //messaggio sotto il titolo echo "
Questa pagina riporta le ultime chiavi utilizzate per la ricerca degli annunci sul sito

"; //Google Plus + mi piace Facebook require ("facebook_plus1.inc"); //formatto contenuti echo "
"; //titolo interno echo "

Ultime ricerche effettuate tra gli annunci del sito TeLoRegalo.it!

"; //query per estrarre ordinati per letture $q="select * from cercalog where goals<>0 order by datains DESC limit 100"; $ri=mysql_query($q, $id) or die(mysql_error()); $num=mysql_num_rows($ri); //annuncio //include ("annuncio_300x250.inc"); if ($num>0) { echo "

"; $i=0; while ($r=mysql_fetch_array($ri)) { if ($i==0) include ("annuncio_300x250.inc"); if ($i==20) include ("annuncio_160x600.inc"); echo substr(iso2data($r["datains"]), 0, 10).", ".$r["stringa"].", risultati: ".$r["goals"]."
"; $i++; } echo "

"; } //chiudo div contenuti echo "
"; //chiudo la predisposizione del blocco centrale echo "
"; //footer con note legali echo "

TeLoRegalo.it è un servizio di Officine Informatiche Srl P.IVA 01928990603 - Note legali

"; //chiudo il center echo "
"; echo " "; function iso2data($data) { if (ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})", $data, $regs)) { $r="$regs[3]-$regs[2]-$regs[1]"; } else { $r=""; } if (strcmp($data,"0000-00-00")==0) $r=""; return $r; }