Pesaro
$today"; ?> h:$time"; ?>
 
  Pesaro Turismo  
 
 
  Locals & Companies
 
 After 8 p.m.
 
  Services
 
 Add to favourites
 
  Events in Pesaro and its outskirts:


The list of the Events, News and Demonstrations:

  Search events and performances:
Commune: 
Typology: 
Month: 
Entry: 

Warning: The date of Beginning is superior to the date of End Period."; else: if (isset($_POST[cerca])){ $query = "SELECT *"; $query .= " FROM eventi WHERE (datainizio)>=(CURDATE()) "; while (list ($key, $val) = each ($HTTP_POST_VARS)){ if ($key=="mese") {if ($val=="tutte") {$query .="";}else { $query .=" AND MONTH(datainizio)='$val'";}} if ($key=="tipologia") {if ($val=="tutte") {$query .="";} else {$query .=" AND $key='$val' ";}} if ($key=="comune") {if ($val=="tutte") {$query .="";} else {$query .=" AND $key='$val' ";}} if ($key=="ingresso") {if ($val=="tutte") {$query .="";} else {$query .=" AND $key='$val' ";}} } $query .=" ORDER BY datainizio ASC"; $db = mysql_connect($db_host, $db_user, $db_password); if ($db == FALSE) die ("Error in the connection. "); mysql_select_db($db_name, $db) or die ("Error in the selection of the database."); $result = mysql_query($query, $db); if ($nr = mysql_num_rows($result)==0) { echo"
.: Nessun evento trovato :.
";} else{ while ($row = mysql_fetch_array($result)){ $data_dal=explode("-",$row[datainizio]); $data_dalok="$data_dal[2]/$data_dal[1]/$data_dal[0]"; $data_al=explode("-",$row[datafine]); $data_alok="$data_al[2]/$data_al[1]/$data_al[0]"; $tipologia=ucwords($row[tipologia]); echo"
Comune: $row[comune]
Periodo: Dal: $data_dalok Al: $data_alok
Ingresso: $row[ingresso]
» $row[titolo]
"; }} mysql_close($db); } if (isset($_GET[id])){ $query = "SELECT * FROM eventi WHERE id='$_GET[id]'"; $db = mysql_connect($db_host, $db_user, $db_password); if ($db == FALSE) die ("Error in the connection. "); mysql_select_db($db_name, $db) or die ("Error in the selection of the database."); $result = mysql_query($query, $db); while ($row = mysql_fetch_array($result)){ $temp=ucwords($row[tipologia]); $comune=ucwords($row[comune]); $data_dal=explode("-",$row[datainizio]); $data_dalok="$data_dal[2]-$data_dal[1]-$data_dal[0]"; $data_al=explode("-",$row[datafine]); $data_alok="$data_al[2]-$data_al[1]-$data_al[0]"; $row[descrizione] = stripslashes($row[descrizione]); echo"
.: $comune :.

Durata dell' evento: dal: $data_dalok al: $data_alok

Tipologia: $temp     Tipo di Entrata: $row[ingresso]

» $row[titolo]

$row[descrizione]


Autore: $row[autore]  
 
"; } } endif;?>
 


 
Mattioli Service Provider - Tutti i diritti riservati - © Copyright 2005 - [email protected]