Niedrigpreiskalender
<script src="//www.travelpayouts.com/calendar_widget/iframe.js?marker=36242.&origin... async></script>
Klasse TravelpayoutsParamsSuggester
{
static $url = 'https://www.travelpayouts.com/widgets_suggest_params?q=';
öffentliche Funktion suggest($query) {
$url = self::$url . URL-Code($query);
return self::get_json($url);
}
private Funktion get_json($url) {
$ Ch = curl_init ();
curl_setopt ($ ch, CURLOPT_URL, $ url);
curl_setopt ($ ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
$answer = curl_exec($ch);
curl_close ($ ch);
return json_decode($answer);
}
}
$widget_params = TravelpayoutsParamsSuggester::suggest("Von Moskau nach Zürich");
?>
window.TP_FORM_SETTINGS = window.TP_FORM_SETTINGS || {};
window.TP_FORM_SETTINGS["4677677a69f7a4291f985e1c4ce13cb7"] = {
"handle": "4677677a69f7a4291f985e1c4ce13cb7",
„widget_name“: „Suchformular Nr. 10“,
"border_radius": "2",
„additional_marker“: null,
Breite: 620
„show_logo“: wahr
„show_hotels“: wahr
„form_type“: „avia_hotel“,
"locale": "en",
„Währung“: „rub“,
„Größen“: „Standard“,
„search_target“: „_blank“,
„active_tab“: „avia“,
„search_host“: „engine.aviasales.ru“,
„hotels_host“: „hotellook.ru/search“,
"Hotel": "",
„hotel_alt“: „“,
„avia_alt“: „“,
„id“: 29551,
„Marker“: 16886,
"Herkunft": {
"Name": " ",
„iata“: „ "
},
Ziel: {
"Name": " ",
„iata“: „ "
},
"Farbschema": {
„name“: „white_blue“,
„icons“: „icons_blue“,
„Hintergrund“: „#ffffff“,
„Farbe“: „#000000“,
„border_color“: „#c1c1c1“,
„button“: „#1b9ed9“,
„button_text_color“: „#ffffff“
},
„hotels_type“: „hotellook_host“,
"bestes Angebot": {
"locale": "en",
„Währung“: „rub“,
„Marker“: 16886,
„search_host“: „engine.aviasales.ru“,
„offers_switch“: wahr,
"api_url": "//www.travelpayouts.com/minimal_prices/offers.json“,
"Routen": [
{
„one_way“: falsch
"Herkunft": {
"Name": ""
},
Ziel: {
"Name": ""
}
}
]
},
„hotel_logo_host“: „hotellook.com“,
„search_logo_host“: „www.aviasales.ru",
"hotel_marker_format": "marker=",
„hotelscombined_marker“: null,
Höhe: 361
};
<script charset="UTF-8" src="//www.travelpayouts.com/widgets/4677677a69f7a4291f985e1c4ce13cb7.js?v=270"...
Karte
<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=TpLine s&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>
Beliebte Reiseziele
<script async src="//www.travelpayouts.com/weedle/widget.js?width=400px&marker=36242&... charset="UTF-8"></script>
<!-- Gismeteo informer START -->
<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="width:690px;height:193px">
<div class="gsIContent">
<div id="cityLink">
<a href="https://www.gismeteo.ua/weather-sochi-adler-13028/" target="_blank">Wetter Sotschi (Adler) (Flughafen)</a>
</div>
<div class="gsLinks">
<Tabelle>
<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" align="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">Wetter für 2 Wochen</a>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
<script src="https://www.gismeteo.ua/ajax/getInformer/?hash=E0SdS1OYb73qK2" type="text/javascript"></script>
<!-- Gismeteo-Informer ENDE -->
Hotelkarte
<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.¤cy=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>