include("library/funzioni.php"); include("library/funzioni_stringhe.php"); include("library/class/gallery.php"); $galleria=new gallery(); ############################################################################## ## Pagine ## ############################################################################## $link_it="http://www.assisi.com/"; $link_en="http://www.assisi.com/indexen.htm"; $link_jp="#"; $link_fr="#"; $link_de="#"; $link_es="#"; $link_cn="#"; $link_ru="#"; ############################################################################################################### ### Prende i contenuti ### ############################################################################################################### $ds=$db->query("SELECT * FROM contenuti WHERE tipo=1 AND inhome AND en AND attivo ORDER BY id DESC LIMIT 0,1",1); $nw=mysql_fetch_assoc($ds); $ds=$db->query("SELECT * FROM contenuti WHERE tipo=2 AND inhome AND en AND attivo ORDER BY id DESC LIMIT 0,1",1); $ev=mysql_fetch_assoc($ds); $ds=$db->query("SELECT * FROM contenuti WHERE tipo=3 AND inhome AND en AND attivo ORDER BY id DESC LIMIT 0,1",1); $lm=mysql_fetch_assoc($ds); $ds=$db->query("SELECT * FROM contenuti WHERE tipo=4 AND inhome AND en AND attivo ORDER BY id DESC LIMIT 0,1",1); $ap=mysql_fetch_assoc($ds); $ds=$db->query("SELECT * FROM contenuti WHERE tipo=5 AND inhome AND en AND attivo ORDER BY id DESC LIMIT 0,1",1); $of=mysql_fetch_assoc($ds); ############################################################################################################### ?>