ADD hotels - hotellook

This commit is contained in:
Krivchikov Dmitry 2016-04-16 14:08:50 +03:00
parent fdb0a0bdb5
commit c1314e8504
1 changed files with 162 additions and 154 deletions

View File

@ -81,7 +81,8 @@ $index = 0;
<th colspan="2">Дополнительная информация:</th>
</tr>
</thead>
<?php foreach ($extraParams as $extraParam) {
<?php
foreach ($extraParams as $extraParam) {
print '<tr>';
print '<td>' . $extraParam->name . '</td>';
if (false && $point->isPaid()) {
@ -128,12 +129,12 @@ $index = 0;
window.TP_FORM_SETTINGS["394e02eacac3a5c9b000360787c2d5d2"] = {
"handle": "394e02eacac3a5c9b000360787c2d5d2",
"widget_name": "Поисковая форма — точка",
"border_radius": "2",
"border_radius": "3",
"additional_marker": null,
"width": null,
"show_logo": true,
"show_hotels": false,
"form_type": "avia",
"form_type": "avia_hotel",
"locale": "ru",
"currency": "rub",
"sizes": "default",
@ -141,15 +142,22 @@ $index = 0;
"active_tab": "avia",
"search_host": "hydra.aviasales.ru",
"hotels_host": "hotellook.ru/search",
"hotel": "",
"hotel_alt": "",
"avia_alt": "",
"hotel": {
"name": "<?= $pointsAirport->cityRu?>",
"location": "<?= $pointsAirport->countryRu?>",
"hotels_count": "89",
"search_id": "12104",
"search_type": "city",
"country_name": "Россия"
},
"hotel_alt": "Hotellook — Поиск дешёвых отелей!",
"avia_alt": "Aviasales — Поиск дешёвых авиабилетов!",
"retargeting": true,
"trip_class": "economy",
"depart_date": null,
"depart_date": "<?= date('Y-m-d', strtotime('+7 days')) ?>",
"return_date": null,
"check_in_date": null,
"check_out_date": null,
"check_in_date": "<?= date('Y-m-d', strtotime('+7 days')) ?>",
"check_out_date": "<?= date('Y-m-d', strtotime('+10 days')) ?>",
"id": 70240,
"marker": 52337,
"origin": {
@ -157,7 +165,7 @@ $index = 0;
"iata": "<?= $usersAirport->iata?>"
},
"destination": {
"name": "<?= '';//$pointsAirport->cityRu?>",
"name": "<?= $pointsAirport->cityRu?>",
"iata": "<?= $pointsAirport->iata?>"
},
"color_scheme": {
@ -197,7 +205,7 @@ $index = 0;
"hotel_marker_format": "marker=",
"hotelscombined_marker": null,
"responsive": true,
"height": 194
"height": 245
};
</script>
<script charset="utf-8" src="//www.travelpayouts.com/widgets/394e02eacac3a5c9b000360787c2d5d2.js?v=727" async></script>