';
echo ' ';
include ("izq.php");
echo ' | ';
echo ' ';
$link = mysql_connect($SERVER, $USER, $PASSWORD);
mysql_select_db($DATABASE, $link);
$sql = "SELECT * FROM ".$TABLE." WHERE id=".$_GET['id']." ORDER BY ciudad";
//echo $sql;
$result = mysql_query($sql, $link);
$encontrados = mysql_num_rows($result);
//echo "encontrados= ".$encontrados;
$j=0;
while ($row = mysql_fetch_array($result))
{
if (!mysql_data_seek ($result, $j))
{
printf ("Cannot seek to row %d\n", $j);
continue;
}
if(!($row = mysql_fetch_object ($result)))
continue;
echo '';
echo '';
echo ''."\n";
echo ' '."\n";
echo ' | '."\n";
echo ' '."\n";
echo " ".$row->day . " de " . $util->getMonthName($row->month) . " de " . $row->year."\n";
echo ' | '."\n";
echo ' | '."\n";
echo ' '."\n";
echo ' '."\n";
echo ' '."\n";
echo ' '."\n";
echo ' '."\n";
$imagen = substr($row->urlImagen,23);
$Thumb->setStyle("border", "2px solid black");
//$Thumb->setDescription($row->campo5);
//$Thumb->setLink_Netfilia($row->campo3);
$Thumb->setAmpliationLink(false);
//$Thumb->setArtista($row->campo1);
//$Thumb->setTitulo($row->campo4);
echo " ".$Thumb->create("../".$imagen)." | \n";
echo ' '."\n";
echo ' '."\n";
echo ' Fecha | '."\n";
echo " ".$row->day."/".$row->month."/".$row->year." | \n";
echo ' '."\n";
echo ' '."\n";
echo ' Artista | '."\n";
echo " ".$row->artista." | \n";
echo ' '."\n";
echo ' '."\n";
echo ' Ciudad | '."\n";
echo " ".$row->ciudad." | \n";
echo ' '."\n";
echo ' '."\n";
echo ' Recinto | '."\n";
echo " ".$row->recinto." | \n";
echo ' '."\n";
echo ' '."\n";
echo ' Hora | '."\n";
echo " ".$row->hora." | \n";
echo ' '."\n";
echo ' '."\n";
echo ' Precio | '."\n";
echo " ".$row->precio." | \n";
echo ' '."\n";
if (strlen($row->linkCompra)>0){
echo ' '."\n";
echo ' Venta Entradas | '."\n";
echo " ".$row->textoLinkCompra." | \n";
echo ' '."\n";
}
else{
echo ' '."\n";
echo ' Venta Entradas | '."\n";
echo " ".$row->textoLinkCompra." | \n";
echo ' '."\n";
}
if (strlen($row->linkNoticia)>0){
echo ' '."\n";
echo ' Noticia | '."\n";
echo " ".$row->textoLinkNoticia." | \n";
echo ' '."\n";
}
else{
echo ' '."\n";
echo ' Noticia | '."\n";
echo " ".$row->textoLinkNoticia." | \n";
echo ' '."\n";
}
$j++;
}
mysql_free_result ($result);
echo ' '."\n";
echo ' | '."\n";
echo ' '."\n";
echo ' '."\n";
echo ' | ';
//echo $cal->getMonthView($month, $year);
echo ' | ';
echo ' ';
?>
|