"Солнце можно захватить рукой" 

Брони

* * 2. And replace it with: *

* * 3. Find the second following HTML code in corresponding booking form: * Change/Cancel reservation » * * 4. And replace it with: * Change/Cancel reservation » * * When replacing the line just above DON'T forget to replace lang variable (lang=en) according to the language! * * Repeat these steps for all booking forms and test it in your php evironment: * - booking_form_en.html * - booking_form_rs.html * * Now you have completely functioning iframe! * ------------------------------------------------------------------------------------------------------------- * * MANDATORY VARIABLES (examples): * company_id = 6589b5fba29e9b526acf7bf2b2c57f3f (32 character hash) * * OPTIONAL VARIABLES (Basic): * hotel = 11a532c6c63ee8acec44aexxxxxxxxxx (32 character hash) * lang = en (Frontend language) * date = 2012-04-26 (Arrival date in YYYY-MM-DD format) * or * check_in_day = 19 (Arrival day) * check_in_month = 03 (Arrival month) * check_in_year = 2012 (Arrival year) * nights = 3 (Number of nights) * rate = 12345 (Rateplan internal code) * package = 20111 (Package internal code) * partners_access = AGENCY2012 (Arbitrary code) * view_cancel = 1 (Used when modifying or canceling reservation) * ------------------------------------------------------------------------------------------------------------- */ //VARS $path = 'https://secure.phobs.net/booking.php'; $company_id = '?company_id=6589b5fba29e9b526acf7bf2b2c57f3f'; $hotel_id = ''; $date = ''; $nights = ''; $lang = ''; $partners_access = ''; $package = ''; $rate = ''; $booking = ''; //COMPANY if($_POST['company_id']) $company_id = '?company_id='.$_POST['company_id']; if($_GET['company_id']) $company_id = '?company_id='.$_GET['company_id']; //HOTEL if($_POST['hotel']) $hotel_id = '&hotel='.$_POST['hotel']; if($_GET['hotel']) $hotel_id = '&hotel='.$_GET['hotel']; //DATE if($_POST['check_in_day'] && $_POST['check_in_month'] && $_POST['check_in_year']) $date = '&date='.$_POST['check_in_year'].'-'.$_POST['check_in_month'].'-'.$_POST['check_in_day']; if($_GET['date']) $date = '&date='.$_GET['date']; //LANG if($_POST['lang']) $lang = '&lang='.$_POST['lang']; if($_GET['lang']) $lang = '&lang='.$_GET['lang']; //NIGHTS if($_POST['nights']) $nights = '&nights='.$_POST['nights']; if($_GET['nights']) $nights = '&nights='.$_GET['nights']; //PACKAGE if($_POST['package']) $package = '&package='.$_POST['package']; if($_GET['package']) $package = '&package='.$_GET['package']; //RATE if($_POST['rate']) $rate = '&rate='.$_POST['rate']; if($_GET['rate']) $rate = '&rate='.$_GET['rate']; //PARTNERS ACCESS if($_POST['partners_access']) $partners_access = '&partners_access='.$_POST['partners_access']; if($_GET['partners_access']) $partners_access = '&partners_access='.$_GET['partners_access']; //DISTRIBUTION CHANNEL ID if($_POST['distribution_channel_id']) $distribution_channel_id = '&distribution_channel_id='.$_POST['distribution_channel_id']; if($_GET['distribution_channel_id']) $distribution_channel_id = '&distribution_channel_id='.$_GET['distribution_channel_id']; //CURRENCY if($_POST['currency']) $currency = '¤cy='.$_POST['currency']; if($_GET['currency']) $currency = '¤cy='.$_GET['currency']; //MODIFY/CANCEL RESERVATION if ($_GET['view_cancel'] == '1') { $booking = $path.$company_id.$lang.'&view_cancel=1'; } else { //FINAL $booking = $path.$company_id.$hotel_id.$date.$nights.$lang.$partners_access.$distribution_channel_id.$package.$rate.$currency; } ?>Online Booking

My Hotel

Online Booking - iframe example


Visual display of booking steps will be adjusted by PHOBS support team so it can completely look like the integral part of your website.

Please wait!
Loading booking information

Нравится ли вам наше предложение? Бронируйте сейчас!        

ГАЛЕРЕЯ

Facebook

Twitter

Бюллетень

Kontakt

Impol Seval President d.o.o.
HOTEL PRESIDENT
Naselje Kamalj bb
31315 Zlatibor
tel: +381 (0)31 841-386
fax: +381 (0)31 841-946
hotel.president@impol.rs
recepcija.president@impol.rs