Calendario de precios bajos
<script src = "//www.travelpayouts.com/calendar_widget/iframe.js?marker=36242.&origin ... async> </script>
clase TravelpayoutsParamsSuggester
{
static $ url = 'https://www.travelpayouts.com/widgets_suggest_params?q=';
función pública sugerir ($ consulta) {
$ Url = self :: $ url. urlencode ($ consulta);
volver self :: get_json ($ url);
}
get_json función privada ($ url) {
$ Ch = curl_init ();
curl_setopt ($ ch, CURLOPT_URL, $ url);
curl_setopt ($ ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ ch, CURLOPT_FAILONERROR, 1);
$ Respuesta = curl_exec ($ ch);
curl_close ($ ch);
volver json_decode ($ respuesta);
}
}
$ widget_params = TravelpayoutsParamsSuggester :: sugerir ("De Moscú a Zurich");
?>
window.TP_FORM_SETTINGS = window.TP_FORM_SETTINGS || {};
window.TP_FORM_SETTINGS["4677677a69f7a4291f985e1c4ce13cb7"] = {
"handle": "4677677a69f7a4291f985e1c4ce13cb7",
"widget_name": "Formulario de búsqueda n. ° 10",
"border_radius": "2",
"additional_marker": nulo,
"ancho": 620,
"show_logo": verdadero,
"show_hotels": verdadero,
"form_type": "avia_hotel",
"locale": "ru",
"moneda": "frotar",
"tamaños": "predeterminado",
"search_target": "_blank",
"active_tab": "avia",
"search_host": "engine.aviasales.ru",
"hotels_host": "hotellook.ru/search",
"hotel": "",
"hotel_alt": "",
"avia_alt": "",
"id": 29551,
"marcador": 16886,
"origen": {
"nombre": " ",
"iata": " "
},
"destino": {
"nombre": " ",
"iata": " "
},
"esquema de colores": {
"nombre": "blanco_azul",
"icons": "icons_blue",
"fondo": "#ffffff",
"color": "# 000000",
"border_color": "# c1c1c1",
"botón": "# 1b9ed9",
"button_text_color": "#ffffff"
},
"hotels_type": "hotellook_host",
"mejor oferta": {
"locale": "ru",
"moneda": "frotar",
"marcador": 16886,
"search_host": "engine.aviasales.ru",
"offers_switch": verdadero,
"api_url": "//www.travelpayouts.com/minimal_prices/offers.json ",
"rutas": [
{
"one_way": falso,
"origen": {
"nombre": ""
},
"destino": {
"nombre": ""
}
}
]
},
"hotel_logo_host": "hotellook.ru",
"search_logo_host": "www.aviasales.ru ",
"hotel_marker_format": "marcador =",
"hotelscombined_marker": nulo,
"altura": 361
};
<script charset="UTF-8" src="//www.travelpayouts.com/widgets/4677677a69f7a4291f985e1c4ce13cb7.js?v=270"...
Mapa
<Iframe src = "// maps.avs.io/flights/?auto_fit_map=true&hide_sidebar=true&hide_reformal=true&disable_googlemaps_ui=true&zoom=3&show_filters_icon=true&redirect_on_click=true&small_spinner=true&hide_logo=true&direct=true&lines_type=TpLines&cluster_manager=TpWidgetClusterManager&marker=36242.map&show_tutorial=false&locale=ru&host= map.aviasales.ru & origin_iata = MOW "width =" 690px "height =" 500px "scrolling =" no "frameborder =" 0 "> </iframe>
Destinos populares
<script async src = "//www.travelpayouts.com/weedle/widget.js?width=400px&marker=36242 & ... charset = "UTF-8"> </script>
<! - Informador de Gismeteo INICIO ->
<link rel = "stylesheet" type = "text / css" href = "https://www.gismeteo.ua/static/css/informer2/gs_informerClient.min.css"&... />
<div id = "gsInformerID-E0SdS1OYb73qK2" class = "gsInformer" style = "ancho: 690 px; alto: 193 px">
<div class = "gsIContent">
<div id = "cityLink">
<a href = "https://www.gismeteo.ua/weather-sochi-adler-13028/" target = "_ blank"> Tiempo Sochi (Adler) (a / p) </a>
</div>
<div class = "gsLinks">
<tabla>
<tr>
<td>
<div class = "leftCol">
<a href = "https://www.gismeteo.ua" target = "_blank">
<img alt = "Gismeteo" title = "Gismeteo" src = "https://www.gismeteo.ua/static/images/informer2/logo-mini2.png" alinear = "absmiddle" border = "0" />
<span> Gismeteo </span>
</a>
</div>
<div class = "rightCol">
<a href = "https://www.gismeteo.ua/weather-sochi-adler-13028/14-days/" target = "_ blank"> Clima durante 2 semanas </a>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
<script src = "https://www.gismeteo.ua/ajax/getInformer/?hash=E0SdS1OYb73qK2" type = "text / javascript"> </script>
<! - Informador de Gismeteo FIN ->
Tarjeta de hotel
<iframe src="//maps.avs.io/hotels?color=%2300b1dd&locale=ru&marker=36242.hotelsmap&changeflag=1&draggable=true&map_styled=false&map_color=%2300b1dd&contrast_color=%23FFFFFF&disable_zoom=false&base_diameter=16&scrollwheel=true&host=hotellook.ru&lat=55.75676596308399&lng=37.72694829711918&zoom=12" height="390px" width="690px" scrolling="no" frameborder="0"></iframe></p>
Hotel
<script async src = "//www.travelpayouts... com / chansey / iframe.js? width = 500 & hotel_id = 34738853 & locale = ru & host = hotellook.ru% 2Fsearch & marker = 36242. & currency = rub "> </script>
<script async src = "//www.travelpayouts. com/subscription_widget/widget.js?width=690px&backgroundColor=%2300b1dd&marker=36242&host=hydra.aviasales.ru&originIata=MOW&originName=%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B0&destinationIata=BKK&destinationName=%D0%91%D0%B0%D0%BD%D0%B3%D0%BA%D0%BE%D0%BA"></script></p>