Inserisci evento passato '; $tpl= ereg_replace("",$linkcreaarch,$tpl); $foot=file_get_contents("$template/footeventlog.html"); $headl=file_get_contents("$template/headlog.html"); $tuttetutte = 'Guarda tutte le foto
'; //Guarda tutte le foto a tua disposizione $tuttepresente = 'Tutte le foto dei tuoi eventi
'; //Guarda tutte le foto a tua disposizione $tuttefoto = $tuttetutte.'
'.$tuttepresente; // vota($_GET['vota']); // } } else { $foot=file_get_contents("$template/footpagnolog.html"); if (isset($_GET['vota'])) { header("Location: in_programma.php"); } } //------------------contenuto pagina di default //$tpl2 = contenuto_proposte($template,$foot,$step,$_GET['tipo']); //$tpl2=contenuto_archivio($template,$foot,$mese,$anno); //---------menu laterale-------------------- $elencoarchivio = archivio_eventi($template,$step); $tpl = ereg_replace("",'Archivio per data',$tpl); $tpl = ereg_replace("",$elencoarchivio,$tpl); $elencoarchivio=archivio_proposte($template,$step); $tpl= ereg_replace("",'Archivio per categorie',$tpl); $tpl= ereg_replace("",$elencoarchivio,$tpl); //$elencoarchivio = archivio_eventi($template,$step); $tpl = ereg_replace("",$tuttefoto,$tpl); $mese_name = leggi_mese($_GET['mese']); $titolo_pagina = '

Elenco eventi '.$mese_name.' '.$_GET['anno'].'

'; //---------------------------contenuto pagina in base a switch switch ($_GET['view']) { case 'archivi': //visualizza il contenuto della categoria scelta if (isset($_GET['tipo'])) { $tpl2 =contenuto_proposte($template,$foot,$step,$_GET['tipo']); } else { $tpl2=contenuto_archivio($template,$foot,$_GET['mese'],$_GET['anno']); } break; //case 'programmi': //visualizza il contenuto della data scelta //$tpl2=contenuto_programmi($template,$foot,$headl,$step,$_GET['anno']); //break; case 'single': //visualizza proposta singola $pp = contenuto_evento($template,$foot,$headl,$step,$_GET['eventi_id']); $tpl2 = $pp[0]; $tpl2 = ereg_replace("",$mepiace,$tpl2); $titoletto = ' - '.$pp[1]; break; case '': $mese = date('n'); $anno = date('Y'); header("Location: archivio.php?view=archivi&anno=".$anno."&mese=".$mese); break; //$tpl2=contenuto_archivio($template,$foot,$mese,$anno); default: header("Location: archivio.php?view="); break; } //--------------visualizza contenuto della pagina----------------------- $tpl2 = $titolo_pagina.'
'.$tpl2; $tpl = ereg_replace("",$tpl2,$tpl); $tpl = ereg_replace("",$titoletto,$tpl); echo $tpl; ?>