include("funciones.php"); include("../mantenimiento/conecta.php"); // desconectado temporalmente // include 'http://www.bqhoteles.com/Estadistica/include.inc'; // EscribeEstadistica('ES', $code); //PREPARAR DATOS DE LA OFERTA $sql='select oferta_titulo, oferta_texto, oferta_titulo_en, oferta_texto_en, oferta_titulo_de, oferta_texto_de, oferta_desde, oferta_hasta from bq_datos_oferta'; $res = send_sql($db,$sql); $datos = mysql_fetch_array($res); $desde = $datos[6]; $hasta = $datos[7]; // variables de idioma if ($idioma==3){ $reservar="CLIC HERE TO RESERVE"; $validez="OFFER BEEN WORTH FOR RESERVATIONS DONE BEFORE"; $descuento="DISCOUNT"; $txtoferta="OFFER"; $imatge="Offers_Ncristalcitybanner.jpg"; $textof="Offer's reservation"; $titulo = $datos[2]; $texto = $datos[3]; } else if ($idioma==2){ $reservar="PULSE AQUÍ PARA APROVECHAR LA OFERTA"; $validez="OFERTA VALIDA PARA RESERVAS HECHAS ANTES DE"; $descuento="DESCUENTO"; $txtoferta="OFERTA"; $imatge="Ofertas_Ncristalcitybanner.jpg"; $textof="Reserva oferta"; $titulo = $datos[0]; $texto = $datos[1]; } else { $reservar="Klicken Sie hier zur Reservieren"; $validez="Gültiges Angebot für die Reservierung erfolgt vor "; $descuento="Rabatt"; $txtoferta="Angebot"; //$imatge="Ofertasde_Ncristalcitybanner.jpg"; $imatge="Angebote_Ncristalcitybanner.jpg"; $textof="Angebot Reservieren"; $titulo = $datos[4]; $texto = $datos[5]; } ?>
// desconectado temporalmente // include 'http://www.bqhoteles.com/Estadistica/include.inc'; // EscribeEstadistica('ES', $code); $hotel="africamar"; $sql = "select * from hoteles where code='$hotel'"; $res=send_sql($db,$sql); $row = mysql_fetch_array($res); // cambiado de $id a $hotel $hotel = $row["id"]; $code = $row["code"]; // cambiado de $hotel a $ nombre $nombre =$row["hotel"]; $texto = $row["texto"]; $imagenes = $row["imagenes"]; $tourvirtual = $row["tourvirtual"]; $anyactual=Date("Y"); // Según de dónde venga la entrada, cargamos la página correspondiente // viene directamente de la página web /*echo "";*/ echo ""; //variables para reservas mysql_free_result($res); ?>