spanishMonths[$i-1]; } } $util = new Util(); echo ''."\n"; echo ''."\n"; echo ''."\n"; include("header.php"); require_once 'class.thumb.php'; $Thumb = new PowerThumb(); echo '
'; echo ''; echo ' '; echo ' '; echo '
'; include ("izq.php"); 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 '
'; echo ''."\n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; 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"; $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 " \n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo " \n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo " \n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo " \n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo " \n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo " \n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo " \n"; echo ' '."\n"; if (strlen($row->linkCompra)>0){ echo ' '."\n"; echo ' '."\n"; echo " \n"; echo ' '."\n"; } else{ echo ' '."\n"; echo ' '."\n"; echo " \n"; echo ' '."\n"; } if (strlen($row->linkNoticia)>0){ echo ' '."\n"; echo ' '."\n"; echo " \n"; echo ' '."\n"; } else{ echo ' '."\n"; echo ' '."\n"; echo " \n"; echo ' '."\n"; } $j++; } mysql_free_result ($result); echo '
".$Thumb->create("../".$imagen)."
Fecha".$row->day."/".$row->month."/".$row->year."
Artista".$row->artista."
Ciudad".$row->ciudad."
Recinto".$row->recinto."
Hora".$row->hora."
Precio".$row->precio."
Venta Entradas".$row->textoLinkCompra."
Venta Entradas".$row->textoLinkCompra."
Noticia".$row->textoLinkNoticia."
Noticia".$row->textoLinkNoticia."
'."\n"; echo '
'."\n"; echo '
'; //echo $cal->getMonthView($month, $year); echo '
'; ?>