Connect(); // CLASSE LAYOUT require_once "../class_layout.php"; $myobj = new pagina; $url="../"; $title=$home[4].""; // TESTATA $meta=" "; $myobj->testa($url, $title, $meta); // CANALI (menu a sinistra) ?>
canali($url,""); ?>

Home >






Sponsor

= '150' AND idBox='$home[0]' "); $banners=array(); while($banner=mysql_fetch_array($b)): $banners[]=$banner['codice']; endwhile; shuffle($banners); ?>

0 ){ echo $banners[0]; } ?>
= (UNIX_TIMESTAMP()-31556926) "; $rs = @mysql_query($q1); $tot = mysql_num_rows($rs); $n_page = ceil($tot/$max); $from = (is_numeric($_GET['p'])) ? ($_GET['p']-1)*$n_page : 0; $q = " SELECT DISTINCT v.username, c.nomeCliente, e.titolo, e.idElemento, v.sitoscheda, e.giorno FROM vtr_Vetrine as v, vtr_Clienti as c, vtr_Elementi as e, vtr_Clienti_Categorie as cc WHERE c.idCliente = v.idCliente AND c.oscura='n' AND v.idVetrina = e.idVetrina AND e.oscura = 'n' AND c.idCliente = cc.idCliente AND e.idTipoElemento = '3' AND c.idProvincia ='34' AND cc.idCategoria ='3' AND e.giorno >= (UNIX_TIMESTAMP()-31556926) GROUP BY v.username ORDER BY e.giorno DESC LIMIT ".$from.",".$max.""; $rs = @mysql_query($q); //echo $q; ?>
commenti("homepage",$home[0],$home[4]); // coda $myobj->coda($url); ?>