├── LICENSE ├── README.md ├── barcode.php ├── book_ajax.php ├── booking_complete.php ├── booking_complete_print.php ├── booking_payment.php ├── booking_summary.php ├── booking_tickets.php ├── booking_voucher.php ├── calendar.php ├── calendar_day.php ├── calendar_month.php ├── captcha_verify.php ├── cart_ajax.php ├── check.php ├── countries_list.php ├── edit_pax.php ├── error.php ├── favicon.ico ├── frame.php ├── gift_card.php ├── gift_card_ajax.php ├── gift_card_details.php ├── gift_card_not_found.php ├── gift_card_print.php ├── gift_card_receipt.php ├── htaccess-default ├── index.php ├── index_ajax.php ├── js ├── ie8.polyfils.map ├── ie8.polyfils.min.js ├── iframeResizer.contentWindow.map ├── iframeResizer.contentWindow.min.js ├── iframeResizer.map └── iframeResizer.min.js ├── license.txt ├── modal.php ├── page_404.php ├── page_about.php ├── page_book.php ├── page_contact.php ├── page_content.php ├── page_cookies.php ├── page_details.php ├── page_order.php ├── page_privacy.php ├── page_review.php ├── page_terms.php ├── page_waiver.php ├── pickup_ajax.php ├── recaptchalib.php ├── reviews_ajax.php ├── rezgo ├── include │ ├── class.rezgo.php │ ├── config.rezgo.php-default │ ├── countries_list.php │ ├── fetch.rezgo.php │ └── page_header.php ├── paypal │ ├── cancel.php │ └── return.php ├── php_paypal │ ├── includes │ │ ├── config.inc.php │ │ └── global_config.inc.php │ ├── index.php │ ├── ipn │ │ └── ipn.php │ └── process.php └── templates │ └── default │ ├── 404page.php │ ├── about.php │ ├── book.php │ ├── booking_complete.php │ ├── booking_complete_print.php │ ├── booking_order.php │ ├── booking_order_print.php │ ├── booking_payment.php │ ├── booking_tickets.php │ ├── booking_voucher.php │ ├── calendar_day.php │ ├── calendar_month.php │ ├── contact.php │ ├── content_page.php │ ├── css │ ├── bootstrap-datepicker.min.css │ ├── bootstrap-modal.css │ ├── bootstrap-select.css │ ├── bootstrap-select.min.css │ ├── bootstrap-theme.css │ ├── bootstrap-theme.min.css │ ├── bootstrap.css │ ├── bootstrap.min.css │ ├── chosen.css │ ├── chosen.min.css │ ├── cookieconsent.css │ ├── font-awesome-ie7.css │ ├── font-awesome.css │ ├── font-awesome.min.css │ ├── header.css │ ├── intlTelInput.css │ ├── responsive-calendar.css │ ├── responsive-calendar.rezgo.css │ ├── rez-narrow.css │ ├── rezgo-ie9.css │ ├── rezgo-modal.css │ ├── rezgo.css │ └── signature-pad.css │ ├── edit_pax.php │ ├── error.php │ ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff │ ├── footer.php │ ├── frame_footer.php │ ├── frame_header.php │ ├── gift_card.php │ ├── gift_card_details.php │ ├── gift_card_not_found.php │ ├── gift_card_print.php │ ├── gift_card_receipt.php │ ├── gift_card_redeem.php │ ├── header.php │ ├── img │ ├── chosen-sprite.png │ ├── chosen-sprite@2x.png │ ├── cvv_cards.png │ ├── flags.png │ ├── flags@2x.png │ ├── logos │ │ ├── american express.png │ │ ├── american express.svg │ │ ├── diners.png │ │ ├── discover.png │ │ ├── discover.svg │ │ ├── mastercard.png │ │ ├── mastercard.svg │ │ ├── paypal.png │ │ ├── paypal.svg │ │ ├── paypal_pay.png │ │ ├── ta-ratings │ │ │ ├── s0.5-MCID-0.gif │ │ │ ├── s1.0-MCID-0.gif │ │ │ ├── s1.5-MCID-0.gif │ │ │ ├── s2.0-MCID-0.gif │ │ │ ├── s2.5-MCID-0.gif │ │ │ ├── s3.0-MCID-0.gif │ │ │ ├── s3.5-MCID-0.gif │ │ │ ├── s4.0-MCID-0.gif │ │ │ ├── s4.5-MCID-0.gif │ │ │ └── s5.0-MCID-0.gif │ │ ├── tmt-logo.png │ │ ├── tripadvisor.png │ │ ├── visa.png │ │ └── visa.svg │ └── rezgo-logo.svg │ ├── index.php │ ├── index_ajax.php │ ├── js │ ├── bootstrap-birthday.js │ ├── bootstrap-select.js │ ├── bootstrap-select.min.js │ ├── bootstrap.js │ ├── bootstrap.min.js │ ├── chosen.jquery.js │ ├── chosen.jquery.min.js │ ├── html5shiv.min.js │ ├── intlTelInput │ │ ├── intlTelInput.js │ │ ├── intlTelInput.min.js │ │ └── utils.js │ ├── jquery.form.js │ ├── jquery.history.js │ ├── jquery.min.js │ ├── jquery.readmore.min.js │ ├── jquery.selectboxes.js │ ├── jquery.selectboxes.min.js │ ├── jquery.selectboxes.pack.js │ ├── jquery.validate.min.js │ ├── respond.min.js │ ├── responsive-calendar.js │ ├── responsive-calendar.min.js │ ├── signature_pad.min.js │ └── signature_pad_remove_blank.js │ ├── modal.php │ ├── order.php │ ├── privacy.php │ ├── review_list.php │ ├── terms.php │ ├── topbar_order.php │ ├── tour_details.php │ ├── waiver.php │ └── waiver_print.php ├── robots.php ├── shorturl_ajax.php ├── sitemap.php ├── waiver_ajax.php └── waiver_print.php /README.md: -------------------------------------------------------------------------------- 1 | # Rezgo Parser 2 | 3 | VERSION 4 | 3.0.2 5 | 6 | AUTHOR 7 | Kevin Campbell 8 | John McDonald 9 | Drishti Trivedi 10 | 11 | INSTALL INSTRUCTIONS 12 | 13 | Decompress the Rezgo Parser into the web root directory. 14 | Rename the /rezgo/include/config.rezgo.php-default to config.rezgo.php. 15 | Edit the config.rezgo.php file and add your CID and API_KEY, as well as your recaptcha API keys if desired. 16 | Rename htaccess-default to .htaccess 17 | (you may need to edit this file further if you are installing in a sub-directory) 18 | Make sure your apache config Options allow MultiViews. 19 | 20 | VERSION HISTORY 21 | 22 | 3.0.5 23 | - Removing GA code 24 | 3.0.4 25 | - Bug fixes 26 | 3.0.3 27 | - Version fix 28 | 3.0.2 29 | - Fixes to pages and reviews 30 | 3.0.1 31 | - Bug fixes 32 | 3.0.0 33 | - Updates to bring parser inline with white label 34 | 2.5.0 35 | - Bug fixes and updates 36 | 2.4.0 37 | - Initial release. 38 | -------------------------------------------------------------------------------- /book_ajax.php: -------------------------------------------------------------------------------- 1 | sendBooking(null, 'a=get_paypal_token&paypal_return_url=https://'.$_SERVER['HTTP_HOST'].REZGO_DIR.'/paypal'); 15 | } else { 16 | $result = $site->sendBookingOrder(null, 'get_paypal_tokenhttps://'.$_SERVER['HTTP_HOST'].REZGO_DIR.'/paypal'); 17 | } 18 | 19 | $response = ($site->exists($result->paypal_token)) ? $result->paypal_token : 0; 20 | 21 | } elseif($_POST['rezgoAction'] == 'book') { 22 | 23 | $result = $site->sendBookingOrder(); 24 | 25 | if ( $result->status == 1 ) { 26 | 27 | // start a session so we can save the analytics code 28 | session_start(); 29 | 30 | $response = 'TXID|*|' . $site->encode($result->trans_num); 31 | 32 | // Set a session variable for the analytics to carry to the receipt's first view 33 | $_SESSION['REZGO_CONVERSION_ANALYTICS'] = $result->analytics_convert; 34 | 35 | // Add a blank script tag so that this session is detected on the receipt 36 | $_SESSION['REZGO_CONVERSION_ANALYTICS'] .= ''; 37 | 38 | } else { 39 | 40 | // this booking failed, send a status code back to the requesting page 41 | if ($result->message == 'Availability Error') { // || $result->message == 'Fatal Error' 42 | $response = 2; 43 | } else if ($result->message == 'Payment Declined' || $result->message == 'Invalid Card Checksum' || $result->message == 'Invalid Card Expiry') { 44 | $response = 3; 45 | } else if ($result->message == 'Account Error') { 46 | // hard system error, no commit requests are allowed if there is no valid payment method 47 | $response = 5; 48 | } else if ($result->message == 'Fatal Error' && $result->error == 'Expected total did not match actual total.') { 49 | $response = 6; 50 | } else { 51 | $response = 4; 52 | } 53 | 54 | } 55 | 56 | } 57 | 58 | if (!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') { 59 | // ajax response if we requested this page correctly 60 | echo $response; 61 | } else { 62 | // if, for some reason, the ajax form submit failed, then we want to handle the user anyway 63 | 64 | die ('Something went wrong during booking. Your booking may have still been completed.'); 65 | 66 | if ($result->status == 1) { 67 | $site->sendTo("/complete/".$trans_num); 68 | } else { 69 | echo 'ERROR: '.$result->message; 70 | } 71 | } 72 | ?> -------------------------------------------------------------------------------- /booking_complete.php: -------------------------------------------------------------------------------- 1 | decode($_REQUEST['trans_num']); 11 | 12 | // send the user home if they shoulden't be here 13 | if(!$trans_num) $site->sendTo($site->base."/booking-not-found"); 14 | 15 | // start a session so we can grab the analytics code 16 | session_start(); 17 | 18 | // empty the cart 19 | $site->clearCart(); 20 | 21 | $site->setMetaTags(''); 22 | 23 | ?> 24 | 25 | getTemplate('frame_header')?> 26 | 27 | 28 | 29 | 30 | getTemplate('booking_order')?> 31 | 32 | getBookingCurrency()."' 39 | }); 40 | "; 41 | ?> 42 | 43 | 44 | 45 | getTemplate('booking_complete')?> 46 | 47 | 48 | 49 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /booking_complete_print.php: -------------------------------------------------------------------------------- 1 | decode($_REQUEST['trans_num']); 11 | 12 | // send the user home if they shoulden't be here 13 | if(!$trans_num) $site->sendTo($site->base."/booking-not-found"); 14 | 15 | $site->setMetaTags(''); 16 | 17 | ?> 18 | 19 | getTemplate('booking_complete_print.php')*/?> 20 | 21 | 22 | 23 | getTemplate('booking_order_print.php')?> 24 | 25 | 26 | 27 | getTemplate('booking_complete_print.php')?> 28 | 29 | 30 | -------------------------------------------------------------------------------- /booking_payment.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | getTemplate('booking_payment')?> -------------------------------------------------------------------------------- /booking_tickets.php: -------------------------------------------------------------------------------- 1 | setMetaTags(''); 10 | ?> 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | Booking Tickets 19 | 20 | 21 | 22 | 23 | 24 | 25 | exists($site->getStyles())) { echo ''; } ?> 26 | 27 | 28 | 29 | 30 |
31 |
32 | Print Tickets 33 |
34 | 35 | getTemplate('booking_tickets')?> 36 | 37 | -------------------------------------------------------------------------------- /booking_voucher.php: -------------------------------------------------------------------------------- 1 | setMetaTags(''); 10 | ?> 11 | 12 | getTemplate('booking_voucher')?> -------------------------------------------------------------------------------- /calendar.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | getTemplate('calendar')?> -------------------------------------------------------------------------------- /calendar_day.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | getTemplate('calendar_day')?> -------------------------------------------------------------------------------- /calendar_month.php: -------------------------------------------------------------------------------- 1 | getTours('t=com&q='.$_REQUEST['com'].'&d='.$_REQUEST['date'].'&limit=1', 0); 15 | 16 | // if the item does not exist, we want to generate an error message and change the page accordingly 17 | if(!$item) { 18 | $item = new stdClass(); 19 | $item->unavailable = 1; 20 | $item->name = 'Item Not Available'; 21 | } 22 | 23 | ?> 24 | 25 | getTemplate('calendar_month')?> -------------------------------------------------------------------------------- /captcha_verify.php: -------------------------------------------------------------------------------- 1 | REZGO_CAPTCHA_PRIV_KEY, 'response' => $captcha_token); 15 | 16 | // initialize connection 17 | $ch = curl_init($captcha_endpoint); 18 | // standard i/o streams 19 | curl_setopt($ch, CURLOPT_VERBOSE, 1); 20 | // turn off the server and peer verification 21 | curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); 22 | curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); 23 | // set to return data to string ($response) 24 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 25 | // regular post 26 | curl_setopt($ch, CURLOPT_POST, 1); 27 | 28 | // send the query 29 | // curl_setopt($ch, CURLOPT_POSTFIELDS, $captcha_token); 30 | curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($captcha_params)); 31 | 32 | // execute cUrl session 33 | $response = curl_exec($ch); 34 | 35 | // check if any error occurred 36 | if(!curl_errno($ch)) { 37 | return $response; 38 | } 39 | 40 | curl_close($ch); 41 | 42 | } 43 | 44 | echo verify_captcha($_REQUEST['token']); 45 | 46 | ?> -------------------------------------------------------------------------------- /cart_ajax.php: -------------------------------------------------------------------------------- 1 | getCompanyDetails(); 8 | 9 | $response = ''; 10 | 11 | $pax_totals = array( 12 | 'adult_num' => 'price_adult', 13 | 'child_num' => 'price_child', 14 | 'senior_num' => 'price_senior', 15 | 'price4_num' => 'price4', 16 | 'price5_num' => 'price5', 17 | 'price6_num' => 'price6', 18 | 'price7_num' => 'price7', 19 | 'price8_num' => 'price8', 20 | 'price9_num' => 'price9' 21 | ); 22 | 23 | // get reviews 24 | if($_REQUEST['action'] == 'cart') { 25 | 26 | $pickup_split = explode("-", $_REQUEST['pickup_id']); 27 | $pickup = $pickup_split[0]; 28 | 29 | $cart_update = $site->pickupCart(($_REQUEST['book_id'] - 1), $pickup); 30 | 31 | $cart = $site->getCart(1); 32 | 33 | foreach($cart as $item) { 34 | 35 | $site->readItem($item); 36 | 37 | if ((int) $item->uid == $_REQUEST['item_id'] && (int) $item->num == $_REQUEST['book_id']) { 38 | 39 | $response .= ' 40 | 41 | 42 | 43 | '; 44 | 45 | $line_items = $site->getTourLineItems(); 46 | 47 | foreach($line_items as $line) { 48 | unset($label_add); 49 | 50 | if($site->exists($line->percent) || $site->exists($line->multi)) { 51 | $label_add = ' ('; 52 | 53 | if($site->exists($line->percent)) { 54 | $label_add .= $line->percent.'%'; 55 | } 56 | 57 | if($site->exists($line->multi)) { 58 | 59 | if(!$site->exists($line->percent)) { 60 | $label_add .= $site->formatCurrency($line->multi); 61 | } 62 | 63 | if($site->exists($line->meta)) { 64 | 65 | $line_pax = 0; 66 | 67 | foreach ($pax_totals as $p_num => $p_rate) { 68 | 69 | if ( (int) $item->{$p_num} > 0 && ((float) $item->date->{$p_rate} > (float) $line->meta)) { 70 | $line_pax += (int) $item->{$p_num}; 71 | } 72 | 73 | } 74 | 75 | $label_add .= ' x '.$line_pax; 76 | 77 | } else { 78 | 79 | $label_add .= ' x '.$item->pax; 80 | 81 | } 82 | 83 | } 84 | 85 | $label_add .= ')'; 86 | } 87 | 88 | $response .= ' 89 | 90 | 91 | '; 92 | if ($line->source == 'bundle') { 93 | $response .= ' '.$line->label.''.$label_add.''; 94 | } else { 95 | $response .= ''.$line->label.''.$label_add.''; 96 | } 97 | 98 | $response .= ' 99 | 100 | 101 | '.$site->formatCurrency($line->amount).' 102 | 103 | 104 | '; 105 | } 106 | 107 | } 108 | 109 | } 110 | 111 | } 112 | 113 | if(!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') { 114 | // ajax response if we requested this page correctly 115 | echo $response; 116 | } else { 117 | // if, for some reason, the ajax form submit failed, then we want to handle the user anyway 118 | die ('Something went wrong getting reviews.'); 119 | } 120 | 121 | ?> -------------------------------------------------------------------------------- /check.php: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /edit_pax.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | getTemplate('edit_pax')?> -------------------------------------------------------------------------------- /error.php: -------------------------------------------------------------------------------- 1 | setPageTitle('System Error'); 11 | ?> 12 | 13 | getTemplate('frame_header')?> 14 | 15 | getTemplate('error')?> 16 | 17 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/favicon.ico -------------------------------------------------------------------------------- /frame.php: -------------------------------------------------------------------------------- 1 | getCompanyDetails(); 11 | // remove the 'mode=page_type' from the query string we want to pass on 12 | $_SERVER['QUERY_STRING'] = preg_replace("/([&|?])?mode=([a-zA-Z_]+)/", "", $_SERVER['QUERY_STRING']); 13 | 14 | // set a default page title 15 | $site->setPageTitle((($_REQUEST['title']) ? $_REQUEST['title'] : ucwords(str_replace("page_", "", $_REQUEST['mode'])))); 16 | 17 | if ($_REQUEST['mode'] == 'page_details') { 18 | /* 19 | this query searches for an item based on a com id (limit 1 since we only want one response) 20 | then adds a $f (filter) option by uid in case there is an option id, and adds a date in case there is a date set 21 | */ 22 | 23 | $item = $site->getTours('t=com&q='.$_REQUEST['com'].'&f[uid]='.$_REQUEST['option'].'&d='.$_REQUEST['date'].'&limit=1', 0); 24 | 25 | // if the item does not exist, we want to generate an error message and change the page accordingly 26 | if (!$item) { 27 | $item = new stdClass(); 28 | $item->unavailable = 1; 29 | $item->name = 'Item Not Available'; 30 | } 31 | 32 | if ($item->seo->seo_title != '') { 33 | $page_title = $item->seo->seo_title; 34 | } else { 35 | $page_title = $item->item; 36 | } 37 | 38 | if ($item->seo->introduction != '') { 39 | $page_description = $item->seo->introduction; 40 | } else { 41 | $page_description = strip_tags($item->details->overview); 42 | } 43 | 44 | $site->setPageTitle($page_title); 45 | 46 | $site->setMetaTags(' 47 | 48 | 49 | 50 | 51 | 52 | 53 | '); 54 | } elseif ($_REQUEST['mode'] == 'page_content') { 55 | $title = $site->getPageName($page); 56 | 57 | $site->setPageTitle($title); 58 | 59 | } elseif ($_REQUEST['mode'] == 'index') { 60 | 61 | // expand to include keywords and dates 62 | $site->setPageTitle((($_REQUEST['tags']) ? ucwords($_REQUEST['tags']) : 'Home')); 63 | 64 | } 65 | 66 | $_SERVER['QUERY_STRING'] .= '&title=' . $site->pageTitle; 67 | 68 | // output site header 69 | echo $site->getTemplate('header'); 70 | 71 | if ($site->config('REZGO_COUNTRY_PATH')) { 72 | include(REZGO_COUNTRY_PATH); 73 | } else { 74 | include($site->path.'/include/countries_list.php'); 75 | } 76 | 77 | ?> 78 | 93 | 94 | country, $eu_countries)) { ?> 95 | 96 | 105 | 106 | 107 | 108 | 109 | 110 | 111 |
112 | 113 |
114 | 115 | 116 | 117 | 129 | 130 | 131 | 132 | 133 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | getTemplate('footer')?> 159 | -------------------------------------------------------------------------------- /gift_card.php: -------------------------------------------------------------------------------- 1 | getTemplate('frame_header'); 9 | 10 | echo $site->getTemplate('gift_card'); 11 | 12 | echo $site->getTemplate('frame_footer'); -------------------------------------------------------------------------------- /gift_card_ajax.php: -------------------------------------------------------------------------------- 1 | sendGiftOrder($_POST); 10 | 11 | if ($result->status == 'Card created') { 12 | $_SESSION["GIFT_CARD_KEY"] = $result->card; 13 | 14 | $result->response = 1; 15 | } 16 | else { 17 | // this booking failed, send a status code back to the requesting page 18 | if ($result->message == 'Availability Error' || $result->mesage == 'Fatal Error') 19 | { 20 | $result->response = 2; 21 | } 22 | else if ( 23 | $result->message == 'Payment Declined' || $result->message == 'Invalid Card Checksum' || $result->message == 'Invalid Card Expiry') 24 | { 25 | $result->response = 3; 26 | } 27 | else if ($result->message == 'Account Error') 28 | { 29 | // hard system error, no commit requests are allowed if there is no valid payment method 30 | $result->response = 5; 31 | } 32 | else 33 | { 34 | $result->response = 4; 35 | } 36 | } 37 | 38 | $json = json_encode((array)$result); 39 | echo '|||' . $json; 40 | } 41 | 42 | if ($_POST['rezgoAction'] == 'getGiftCard') { 43 | $result = $site->getGiftCard($_POST['gcNum']); 44 | 45 | if (array_key_exists('card', $result)) { 46 | $result->card->status = 1; 47 | 48 | $result->card->number = $site->cardFormat($result->card->number); 49 | } 50 | else { 51 | $result->card->status = 0; 52 | } 53 | 54 | echo '|||' . json_encode($result->card); 55 | } 56 | ?> -------------------------------------------------------------------------------- /gift_card_details.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | getTemplate('frame_header')?> 10 | 11 | getTemplate('gift_card_details')?> 12 | 13 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /gift_card_not_found.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | getTemplate('frame_header')?> 10 | 11 | getTemplate('gift_card_not_found')?> 12 | 13 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /gift_card_print.php: -------------------------------------------------------------------------------- 1 | 8 | 9 | getTemplate('gift_card_print')?> -------------------------------------------------------------------------------- /gift_card_receipt.php: -------------------------------------------------------------------------------- 1 | sendTo($site->base."/gift-card"); 11 | } 12 | ?> 13 | 14 | getTemplate('frame_header')?> 15 | 16 | getTemplate('gift_card_receipt')?> 17 | 18 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /htaccess-default: -------------------------------------------------------------------------------- 1 | # ------------------------------------------------- 2 | # Custom HTTP error pages 3 | # ------------------------------------------------- 4 | ErrorDocument 404 /frame.php?mode=page_404&title=Page+not+found 5 | 6 | # ------------------------------------------------- 7 | # Add MIME types for video uploads 8 | # ------------------------------------------------- 9 | 10 | # AddType video/webm .webm 11 | # AddType video/mp4 .mp4 12 | # AddType video/ogg .ogv 13 | 14 | AddType video/mp4 mp4 m4v 15 | AddType audio/mp4 m4a 16 | AddType video/ogg ogv 17 | AddType audio/ogg ogg oga 18 | AddType video/webm webm 19 | 20 | RewriteEngine on 21 | 22 | # ------------------------------------------------- 23 | # Rules for the new parser addresses 24 | # ------------------------------------------------- 25 | 26 | # root page 27 | RewriteRule ^/?$ frame.php?mode=index [QSA] 28 | 29 | # bounce for old content pages to new locations 30 | RewriteRule ^content/([^.]+)(.php)?$ $1 [L,R=301] 31 | 32 | # bounce for old tour pages to details pages 33 | RewriteRule ^tour/([0-9]+)/([^\/]+)/?$ details/$1/$2 [L,QSA,R=301] 34 | RewriteRule ^tour/([0-9]+)/([^\/]+)/([0-9]+)/([^\/]+)/?$ details/$1/$2/$3/$4 [L,QSA,R=301] 35 | 36 | # pre made content pages 37 | RewriteRule ^contact/?$ frame.php?mode=page_contact&title=Contact+Us [QSA] 38 | RewriteRule ^terms/?$ frame.php?mode=page_terms&title=Booking+Terms [QSA] 39 | RewriteRule ^privacy/?$ frame.php?mode=page_privacy&title=Privacy+Policy [QSA] 40 | RewriteRule ^about/?$ frame.php?mode=page_about&title=About+Us [QSA] 41 | 42 | # all custom created content pages 43 | RewriteRule ^page/([^\/]*)/?$ frame.php?mode=page_content&page=$1 [QSA] 44 | 45 | # searches for tag and keyword with optional attached query string 46 | RewriteRule ^tag/([^\/]*)/?$ frame.php?mode=index&tags=$1 [QSA] 47 | RewriteRule ^keyword/([^\/]*)/?$ frame.php?mode=index&search_in=smart&search_for=$1 [QSA] 48 | 49 | # searches for items by company ID (vendor only) 50 | RewriteRule ^supplier/([^\/]*)/?$ frame.php?mode=index&cid=$1 [QSA] 51 | 52 | # details pages 53 | RewriteRule ^details/([0-9]+)/([^\/]+)/?$ frame.php?mode=page_details&com=$1 [QSA] 54 | RewriteRule ^details/([0-9]+)/([^\/]+)/([0-9]+)/([^\/]+)/?$ frame.php?mode=page_details&com=$1&option=$3&date=$4 [QSA] 55 | 56 | # order and booking pages 57 | RewriteRule ^order/?$ frame.php?mode=page_order [QSA] 58 | RewriteRule ^book/?$ frame.php?mode=page_book&sec=1&title=Book+Now [QSA] 59 | 60 | # complete print and complete display page 61 | RewriteRule ^complete/([^\/]*)/print/?$ booking_complete_print.php?trans_num=$1&title=Booking+Receipt [QSA] 62 | RewriteRule ^complete/([^\/]*)/pdf/?$ booking_complete_pdf.php?trans_num=$1&title=Booking+Receipt [QSA] 63 | RewriteRule ^complete/([^\/]*)/?$ frame.php?mode=booking_complete&trans_num=$1&title=Booking+Receipt [QSA] 64 | 65 | # gift pages 66 | RewriteRule ^gift-card/?$ frame.php?mode=gift_card&sec=1 [QSA] 67 | RewriteRule ^gift-card/([^\/]*) frame.php?mode=gift_card_details&card=$1 [QSA] 68 | RewriteRule ^gift-receipt/?$ frame.php?mode=gift_card_receipt [QSA] 69 | RewriteRule ^gift-print/([^\/]*) gift_card_print.php?mode=gift_card_print&card=$1 [QSA] 70 | RewriteRule ^gift-not-found/?$ frame.php?mode=gift_card_not_found [QSA] 71 | 72 | # voucher page 73 | RewriteRule ^voucher/([^\/]*)/?$ booking_tickets.php?trans_num=$1&title=Booking+Voucher [QSA] 74 | 75 | # tickets page 76 | RewriteRule ^tickets/([^\/]*)/?$ booking_tickets.php?trans_num=$1&title=Booking+Tickets [QSA] 77 | RewriteRule ^tickets/([^\/]*)/print/?$ booking_tickets.php?trans_num=$1&title=Booking+Tickets&print=1 [QSA] 78 | 79 | # waiver page 80 | RewriteRule ^waiver/?$ frame.php?mode=page_waiver&sec=1&title=Waiver [QSA] 81 | RewriteRule ^waiver/([^\/]*)/?$ frame.php?mode=page_waiver&sec=1&trans_num=$1&title=Waiver [QSA] 82 | # RewriteRule ^waiver/print/?$ waiver_print.php?title=Waiver [QSA] 83 | RewriteRule ^waiver/([^\/]*)/print/?$ waiver_print.php?trans_num=$1&title=Waiver [QSA] 84 | 85 | # review pages 86 | RewriteRule ^reviews/?$ frame.php?mode=page_review&title=Reviews [QSA] 87 | RewriteRule ^reviews/([^\/]*)/?$ frame.php?mode=page_review&trans_num=$1&title=Reviews [QSA] 88 | RewriteRule ^reviews/item/([^\/]*)/?$ frame.php?mode=page_review&com=$1&title=Reviews [QSA] 89 | 90 | # summary page (for back-end use) 91 | RewriteRule ^summary/([^\/]*)/?$ booking_summary.php?trans_num=$1&title=Booking+Summary [QSA] 92 | 93 | # cookie policy for EU suppliers 94 | RewriteRule ^cookie-policy/?$ frame.php?mode=page_cookies&title=Cookie+Policy [QSA] 95 | 96 | # modal 97 | # RewriteRule ^modal/?$ modal.php [QSA] 98 | 99 | # dynamic robots.txt 100 | RewriteRule ^robots\.txt$ /robots.php 101 | 102 | # dynamic sitemap.xml 103 | RewriteRule ^sitemap\.xml$ /sitemap.php 104 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | sendTo($_COOKIE['rezgo_search']); 12 | } 13 | 14 | // some code to handle the pagination 15 | if(!$_REQUEST['pg']) $_REQUEST['pg'] = 1; 16 | 17 | $start = ($_REQUEST['pg'] - 1) * REZGO_RESULTS_PER_PAGE; 18 | 19 | // we only want 11 responses, starting at our page number times item number 20 | $site->setTourLimit(REZGO_RESULTS_PER_PAGE + 1, $start); 21 | ?> 22 | 23 | getTemplate('frame_header')?> 24 | 25 | getTemplate('index')?> 26 | 27 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /index_ajax.php: -------------------------------------------------------------------------------- 1 | saveSearch(); 13 | } 14 | 15 | // some code to handle the pagination 16 | if(!$_REQUEST['pg']) $_REQUEST['pg'] = 1; 17 | 18 | $start = ($_REQUEST['pg'] - 1) * REZGO_RESULTS_PER_PAGE; 19 | 20 | // we only want 11 responses, starting at our page number times item number 21 | $site->setTourLimit(REZGO_RESULTS_PER_PAGE + 1, $start); 22 | 23 | echo $site->getTemplate('index_ajax'); 24 | ?> -------------------------------------------------------------------------------- /js/ie8.polyfils.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"ie8.polyfils.min.js","sources":["../src/ie8.polyfils.js"],"names":["Array","prototype","forEach","fun","this","TypeError","t","Object","len","length","thisArg","arguments","i","call","Function","bind","oThis","aArgs","slice","fToBind","fNOP","fBound","apply","concat","win","doc","docHijack","p","old","v","addListen","addEvent","on","fn","self","attachEvent","e","event","preventDefault","returnValue","stopPropagation","cancelBubble","obj","addEventListener","Element","all","window","document"],"mappings":";;AAOMA,MAAMC,UAAUC,UACrBF,MAAMC,UAAUC,QAAU,SAASC,GAClC,YACA,IAAa,SAATC,MAA4B,OAATA,MAAgC,kBAARD,GAAoB,KAAM,IAAIE,UAO7E,KAAK,GAJJC,GAAIC,OAAOH,MACXI,EAAMF,EAAEG,SAAW,EACnBC,EAAUC,UAAUF,QAAU,EAAIE,UAAU,GAAK,OAEzCC,EAAI,EAAOJ,EAAJI,EAASA,IACpBA,IAAKN,IACRH,EAAIU,KAAKH,EAASJ,EAAEM,GAAIA,EAAGN,KAK1BQ,SAASb,UAAUc,OACtBD,SAASb,UAAUc,KAAO,SAASC,GACjC,GAAoB,kBAATZ,MAGT,KAAM,IAAIC,WAAU,uEAGtB,IAAIY,GAAUjB,MAAMC,UAAUiB,MAAML,KAAKF,UAAW,GAChDQ,EAAUf,KACVgB,EAAU,aACVC,EAAU,WACR,MAAOF,GAAQG,MAAMlB,eAAgBgB,GAAOhB,KAAOY,EAC5CC,EAAMM,OAAOvB,MAAMC,UAAUiB,MAAML,KAAKF,aAMrD,OAHAS,GAAKnB,UAAYG,KAAKH,UACtBoB,EAAOpB,UAAY,GAAImB,GAEhBC,IAMX,SAAUG,EAAKC,GAGb,QAASC,GAAUC,GACjB,GAAIC,GAAMH,EAAIE,EACdF,GAAIE,GAAK,SAASE,GAChB,MAAOC,GAAUF,EAAIC,KAIzB,QAASE,GAASC,EAAIC,EAAIC,GACxB,OAAQA,EAAO9B,MAAM+B,YAAY,KAAOH,EAAI,SAASI,GACnDA,EAAIA,GAAKZ,EAAIa,MACbD,EAAEE,eAAkBF,EAAEE,gBAAmB,WAAWF,EAAEG,aAAc,GACpEH,EAAEI,gBAAkBJ,EAAEI,iBAAmB,WAAWJ,EAAEK,cAAe,GACrER,EAAGpB,KAAKqB,EAAME,KAIlB,QAASN,GAAUY,EAAK9B,GAEtB,GADAA,EAAI8B,EAAIjC,OACF,KAAMG,KAAK8B,EAAI9B,GAAG+B,iBAAmBZ,MACtCW,GAAIC,iBAAmBZ,CAC5B,OAAOW,GAtBNlB,EAAImB,mBAyBPb,GAAWL,EAAKD,IACb,WAAaA,GAAIA,EAAIoB,QAAQ3C,UAAU0C,iBAAmBZ,GAE3DN,EAAIU,YAAY,qBAAsB,WAAWL,EAAUL,EAAIoB,OAC/DnB,EAAU,wBACVA,EAAU,kBACVA,EAAU,iBACVI,EAAUL,EAAIoB,QAEfC,OAAQC","sourcesContent":["/*\n * IE8 Polyfils for iframeResizer.js\n *\n * Public domain code - Mozilla Contributors\n * https://developer.mozilla.org/\n */\n\n if (!Array.prototype.forEach){\n\tArray.prototype.forEach = function(fun /*, thisArg */){\n\t\t\"use strict\";\n\t\tif (this === void 0 || this === null || typeof fun !== \"function\") throw new TypeError();\n\n\t\tvar\n\t\t\tt = Object(this),\n\t\t\tlen = t.length >>> 0,\n\t\t\tthisArg = arguments.length >= 2 ? arguments[1] : void 0;\n\n\t\tfor (var i = 0; i < len; i++)\n\t\t\tif (i in t)\n\t\t\t\tfun.call(thisArg, t[i], i, t);\n\t};\n}\n\n\nif (!Function.prototype.bind) {\n Function.prototype.bind = function(oThis) {\n if (typeof this !== 'function') {\n // closest thing possible to the ECMAScript 5\n // internal IsCallable function\n throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable');\n }\n\n var aArgs = Array.prototype.slice.call(arguments, 1),\n fToBind = this,\n fNOP = function() {},\n fBound = function() {\n return fToBind.apply(this instanceof fNOP ? this : oThis,\n aArgs.concat(Array.prototype.slice.call(arguments)));\n };\n\n fNOP.prototype = this.prototype;\n fBound.prototype = new fNOP();\n\n return fBound;\n };\n}\n\n\n//addEventListener polyfill 1.0 / Eirik Backer / MIT Licence\n(function(win, doc){\n if(win.addEventListener) return; //No need to polyfill\n\n function docHijack(p){\n var old = doc[p];\n doc[p] = function(v){\n return addListen(old(v));\n };\n }\n\n function addEvent(on, fn, self){\n return (self = this).attachEvent('on' + on, function(e){\n e = e || win.event;\n e.preventDefault = e.preventDefault || function(){e.returnValue = false;};\n e.stopPropagation = e.stopPropagation || function(){e.cancelBubble = true;};\n fn.call(self, e);\n });\n }\n\n function addListen(obj, i){\n i = obj.length;\n if(i) while(i--) obj[i].addEventListener = addEvent;\n else obj.addEventListener = addEvent;\n return obj;\n }\n\n addListen([doc, win]);\n if('Element' in win)win.Element.prototype.addEventListener = addEvent; //IE8\n else{ //IE < 8\n doc.attachEvent('onreadystatechange', function(){addListen(doc.all);}); //Make sure we also init at domReady\n docHijack('getElementsByTagName');\n docHijack('getElementById');\n docHijack('createElement');\n addListen(doc.all); \n }\n})(window, document);"]} 2 | -------------------------------------------------------------------------------- /js/ie8.polyfils.min.js: -------------------------------------------------------------------------------- 1 | // IE8 polyfils for iframeResizer.js 2 | 3 | Array.prototype.forEach||(Array.prototype.forEach=function(a){"use strict";if(void 0===this||null===this||"function"!=typeof a)throw new TypeError;for(var b=Object(this),c=b.length>>>0,d=arguments.length>=2?arguments[1]:void 0,e=0;c>e;e++)e in b&&a.call(d,b[e],e,b)}),Function.prototype.bind||(Function.prototype.bind=function(a){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var b=Array.prototype.slice.call(arguments,1),c=this,d=function(){},e=function(){return c.apply(this instanceof d?this:a,b.concat(Array.prototype.slice.call(arguments)))};return d.prototype=this.prototype,e.prototype=new d,e}),function(a,b){function c(a){var c=b[a];b[a]=function(a){return e(c(a))}}function d(b,c,d){return(d=this).attachEvent("on"+b,function(b){b=b||a.event,b.preventDefault=b.preventDefault||function(){b.returnValue=!1},b.stopPropagation=b.stopPropagation||function(){b.cancelBubble=!0},c.call(d,b)})}function e(a,b){if(b=a.length)for(;b--;)a[b].addEventListener=d;else a.addEventListener=d;return a}a.addEventListener||(e([b,a]),"Element"in a?a.Element.prototype.addEventListener=d:(b.attachEvent("onreadystatechange",function(){e(b.all)}),c("getElementsByTagName"),c("getElementById"),c("createElement"),e(b.all)))}(window,document); 4 | //# sourceMappingURL=ie8.polyfils.map 5 | -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-2015, Rezgo (A Division of Sentias Software Corp.) 2 | All rights reserved. 3 | 4 | Redistribution and use in source form, with or without modification, 5 | is permitted provided that the following conditions are met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Neither the name of Rezgo, Sentias Software Corp, nor the names of 10 | its contributors may be used to endorse or promote products derived 11 | from this software without specific prior written permission. 12 | * Source code is provided for the exclusive use of Rezgo members who 13 | wish to connect to their Rezgo XMP API. Modifications to source code 14 | may not be used to connect to competing software without specific 15 | prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- /modal.php: -------------------------------------------------------------------------------- 1 | setPageTitle($_REQUEST['title'] ? $_REQUEST['title'] : 'Waiver'); 10 | ?> 11 | 12 | getTemplate('frame_header')?> 13 | 14 | getTemplate('modal')?> 15 | 16 | getTemplate('frame_footer')?> 17 | -------------------------------------------------------------------------------- /page_404.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | getTemplate('frame_header')?> 12 | 13 | getTemplate('404page')?> 14 | 15 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /page_about.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | getTemplate('frame_header')?> 12 | 13 | getTemplate('about')?> 14 | 15 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /page_book.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | getTemplate('frame_header')?> 12 | 13 | getTemplate('book')?> 14 | 15 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /page_contact.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | getTemplate('frame_header')?> 13 | 14 | getTemplate('contact')?> 15 | 16 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /page_content.php: -------------------------------------------------------------------------------- 1 | getPageName($page); 10 | 11 | $site->setPageTitle($title); 12 | ?> 13 | 14 | getTemplate('frame_header')?> 15 | 16 | getTemplate('content_page')?> 17 | 18 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /page_details.php: -------------------------------------------------------------------------------- 1 | getTemplate('frame_header'); 11 | 12 | echo $site->getTemplate('tour_details'); 13 | 14 | echo $site->getTemplate('frame_footer'); 15 | ?> -------------------------------------------------------------------------------- /page_order.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | getTemplate('frame_header')?> 12 | 13 | getTemplate('order')?> 14 | 15 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /page_privacy.php: -------------------------------------------------------------------------------- 1 | getCompanyDetails(); 11 | 12 | ?> 13 | 14 | getTemplate('frame_header')?> 15 | 16 | getTemplate('privacy')?> 17 | 18 | getTemplate('frame_footer')?> 19 | -------------------------------------------------------------------------------- /page_review.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | getTemplate('frame_header')?> 13 | 14 | getTemplate('review_list')?> 15 | 16 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /page_terms.php: -------------------------------------------------------------------------------- 1 | getCompanyDetails(); 11 | 12 | ?> 13 | 14 | getTemplate('frame_header')?> 15 | 16 | getTemplate('terms')?> 17 | 18 | getTemplate('frame_footer')?> -------------------------------------------------------------------------------- /page_waiver.php: -------------------------------------------------------------------------------- 1 | getDomain(); 8 | $site->sendTo($domain.'.rezgo.com/waiver/'); 9 | 10 | // Page title 11 | $site->setPageTitle($_REQUEST['title'] ? $_REQUEST['title'] : 'Waiver'); 12 | ?> 13 | 14 | getTemplate('frame_header')?> 15 | 16 | getTemplate('waiver')?> 17 | 18 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /pickup_ajax.php: -------------------------------------------------------------------------------- 1 | getCompanyDetails(); 8 | 9 | $response = ''; 10 | 11 | // get reviews 12 | if($_REQUEST['action'] == 'item') { 13 | 14 | $pickup_split = explode("-", $_REQUEST['pickup_id']); 15 | $pickup = $pickup_split[0]; 16 | $source_id = $pickup_split[1]; 17 | 18 | $pickup_detail = $site->getPickupItem($_REQUEST['option_id'], $pickup); 19 | 20 | //if($pickup_detail->media && $site->exists($pickup_detail->lat)) { 21 | $cl = $cr = 6; 22 | /*} elseif($pickup_detail->media && !$site->exists($pickup_detail->lat)) { 23 | $cl = 11; 24 | $cr = 1; 25 | } elseif(!$pickup_detail->media && $site->exists($pickup_detail->lat)) { 26 | $cl = 1; 27 | $cr = 11; 28 | }*/ 29 | 30 | $p = 0; 31 | if ($pickup_detail->sources) { 32 | $pickup_sources = array(); 33 | foreach ($pickup_detail->sources->source as $source) { 34 | $pickup_sources[$p] = (string) $source->name; 35 | $p++; 36 | } 37 | } 38 | 39 | $pickup_name = $pickup_detail->name; 40 | 41 | if ($source_id != '') { 42 | $pickup_name .= ' - ' . $pickup_sources[(int) $source_id] . ''; 43 | } 44 | 45 | $response .= ' 46 |

Pick up is at '.$pickup_name.'

47 | 48 |
'; 49 | 50 | if((int) $pickup_detail->cost > 0) { 51 | $pickup_cost = $pickup_detail->cost; // (int) 52 | $response .= ' '.$site->formatCurrency($pickup_cost, $company); 53 | 54 | if ((int) $_REQUEST['pax_num'] > 1) { 55 | $response .= ' x ' . $_REQUEST['pax_num']; 56 | $pickup_cost = $pickup_cost * $_REQUEST['pax_num']; 57 | } 58 | 59 | $response .= '
'; 60 | } 61 | 62 | $response .= '
63 |
64 | '; 65 | 66 | $response .= '
'; 67 | 68 | if((int) $pickup_detail->pickup_time) { 69 | $response .= ' '.$pickup_detail->pickup_time.''; 70 | } 71 | 72 | $response .= ' 
'; 73 | 74 | if($pickup_detail->media) { 75 | 76 | $m = 0; 77 | foreach ($pickup_detail->media->image as $pickup_image) { 78 | $indicators .= '
  • '."\n"; 79 | $media_items .= ' 80 |
    81 | '.$pickup_image->caption.' 82 | 83 |
    84 | '; 85 | $m++; 86 | } 87 | 88 | $response .= ' 89 | 95 | '; 96 | 97 | } else { 98 | 99 | $response .= '
    '; 100 | 101 | if($pickup_detail->location_address != '') { 102 | $response .= ' 103 | 104 | '; 105 | } 106 | 107 | $response .= ' 
    '; 108 | 109 | if($site->exists($pickup_detail->lat)) { 110 | 111 | if(!$site->exists($pickup_detail->zoom)) { $map_zoom = 8; } else { $map_zoom = $pickup_detail->zoom; } 112 | 113 | if($pickup_detail->map_type != '') { 114 | $embed_type = strtolower($pickup_detail->map_type); 115 | if ( $embed_type == 'hybrid' ) { $embed_type = 'satellite'; } 116 | } else { 117 | $embed_type = 'roadmap'; 118 | } 119 | 120 | $response .= ' 121 |
    122 |
    123 | 124 |
    125 | '; 126 | 127 | $response .= ' 128 |
    129 | '; 130 | 131 | } 132 | 133 | } 134 | 135 | $response .= '
    '; 136 | 137 | if($pickup_detail->media) { 138 | 139 | $response .= '
    140 | '; 141 | 142 | $response .= '
    '; 143 | 144 | if($pickup_detail->location_address != '') { 145 | $response .= ' 146 | 147 | '; 148 | } 149 | 150 | $response .= ' 
    '; 151 | 152 | if($site->exists($pickup_detail->lat)) { 153 | 154 | if(!$site->exists($pickup_detail->zoom)) { $map_zoom = 8; } else { $map_zoom = $pickup_detail->zoom; } 155 | 156 | if($pickup_detail->map_type != '') { 157 | $embed_type = strtolower($pickup_detail->map_type); 158 | if ( $embed_type == 'hybrid' ) { $embed_type = 'satellite'; } 159 | } else { 160 | $embed_type = 'roadmap'; 161 | } 162 | 163 | $response .= ' 164 |
    165 |
    166 | 167 |
    168 | '; 169 | 170 | $response .= ' 171 |
    172 | '; 173 | 174 | } 175 | 176 | $response .= ' 177 |
    178 | '; 179 | 180 | if($pickup_detail->pick_up || $pickup_detail->drop_off) { 181 | $response .= ' 182 |
    '; 183 | 184 | if($pickup_detail->pick_up) { 185 | $response .= ' '.$pickup_detail->pick_up.''; 186 | } 187 | 188 | if($pickup_detail->drop_off) { 189 | $response .= ' '.$pickup_detail->drop_off.''; 190 | } 191 | 192 | $response .= ' 193 |
    194 | '; 195 | } 196 | 197 | } 198 | 199 | $response .= ''; 200 | 201 | } 202 | if(!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') { 203 | // ajax response if we requested this page correctly 204 | echo $response; 205 | } else { 206 | // if, for some reason, the ajax form submit failed, then we want to handle the user anyway 207 | die ('Something went wrong getting reviews.'); 208 | } 209 | 210 | ?> 211 | -------------------------------------------------------------------------------- /reviews_ajax.php: -------------------------------------------------------------------------------- 1 | getCompanyDetails(); 8 | 9 | $response = ''; 10 | 11 | // get reviews 12 | if ($_REQUEST['action'] == 'get') { 13 | 14 | $item_reviews = $site->getReview($_REQUEST['com'], $_REQUEST['type'], $_REQUEST['limit']); 15 | 16 | if (strpos($_REQUEST['limit'], ',') !== false) { 17 | $l = explode(',', $_REQUEST['limit']); 18 | $lower_limit = $l[0]; 19 | $upper_limit = $l[1]; 20 | } else { 21 | $lower_limit = 0; 22 | $upper_limit = $_REQUEST['limit']; 23 | } 24 | 25 | $counted = 0; 26 | 27 | $running_count = $lower_limit + 1; 28 | 29 | if($item_reviews->total >= 1) { 30 | 31 | foreach ($item_reviews->review as $review) { 32 | 33 | if ($review->item != '') { 34 | $item_link = $site->base.'/details/'.$review->com.'/'.$site->seoEncode($review->item); 35 | } 36 | 37 | $response .= '
    '; 38 | 39 | for($n=1; $n<=5; $n++) { 40 | $response .= ''; 41 | } 42 | 43 | $review_date = (int) $review->date; 44 | 45 | if (strpos($company->time_format, '-') === false) { 46 | $review_date += (int) $company->time_format * 3600; 47 | } else { 48 | $review_date -= (int) $company->time_format * 3600; 49 | } 50 | 51 | $response .= ' 52 |  '. $review->title .' 53 | '. ($_REQUEST['com'] == 'all' ? ' ( reviewing '.$review->item.' )' : '') . ' 54 |
    55 | 56 | '. ($review->name != '' ? ' by '. $review->name : '') . ' 57 | '. ($review->country != '' ? ' from '. $site->countryName($review->country) : '') . ' 58 | on '. date((string) $company->date_format, $review_date) . ' 59 |
    60 |
    '. nl2br($review->body); // 61 | 62 | if ($review->response && !$site->isVendor()) { 63 | 64 | $response_date = (int) $review->response->date; 65 | 66 | if (strpos($company->time_format, '-') === false) { 67 | $response_date += (int) $company->time_format * 3600; 68 | } else { 69 | $response_date -= (int) $company->time_format * 3600; 70 | } 71 | 72 | $response .= ' 73 |
     
    74 | Response by '.$company->company_name.' on '. date((string) $company->date_format, $response_date) .'
    75 |
    '. nl2br($review->response->body) .'
    '; // 76 | 77 | } 78 | 79 | $response .= ' 80 |
    81 |
    82 |
     
    83 | '; 84 | 85 | $counted++; 86 | $running_count++; 87 | 88 | } 89 | 90 | } 91 | 92 | if ( $counted > 0 ) { 93 | 94 | $response .= ' 95 | 103 | '; 104 | 105 | // link to full review list 106 | if ($_REQUEST['view'] == 'details' && $_REQUEST['total'] > 5) { 107 | $response .= ' 108 | 109 | View '.($_REQUEST['total'] - $_REQUEST['limit']).' more reviews for this item 110 | 111 | '; 112 | } 113 | 114 | // show the next page 115 | if ($_REQUEST['view'] == 'list' && ($counted == $upper_limit) && $running_count <= $_REQUEST['total']) { 116 | $response .= ' 117 |
    118 | 119 | 120 | 121 |
    122 | '; 123 | } 124 | 125 | } else { 126 | 127 | if ($lower_limit == 0) { 128 | $response .= '

    There are no reviews to show at this time. Please check back later.

    '; 129 | } else { 130 | $response .= '

    There are no more reviews available. Please check back later.

    '; 131 | } 132 | 133 | } // end if (counted) 134 | 135 | } 136 | 137 | if (!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') { 138 | // ajax response if we requested this page correctly 139 | echo $response; 140 | } else { 141 | // if, for some reason, the ajax form submit failed, then we want to handle the user anyway 142 | die ('Something went wrong getting reviews.'); 143 | } 144 | 145 | ?> -------------------------------------------------------------------------------- /rezgo/include/config.rezgo.php-default: -------------------------------------------------------------------------------- 1 | 145 | -------------------------------------------------------------------------------- /rezgo/include/fetch.rezgo.php: -------------------------------------------------------------------------------- 1 | error(curl_error($ch).' (outbound: '.$url.')'); 20 | } 21 | 22 | curl_close($ch); 23 | 24 | ?> -------------------------------------------------------------------------------- /rezgo/include/page_header.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | -------------------------------------------------------------------------------- /rezgo/paypal/return.php: -------------------------------------------------------------------------------- 1 | sendPartialCommit('a=get_paypal_transaction&paypal_token='.$token.'&paypal_payer_id='.$payerid); 12 | 13 | if($result->status == 1) { 14 | echo ''; 22 | } else { 23 | echo ''; 31 | } 32 | ?> 33 | 34 | 35 | -------------------------------------------------------------------------------- /rezgo/php_paypal/includes/config.inc.php: -------------------------------------------------------------------------------- 1 | >"; 51 | $paypal[background_color]=""; //""=white 1=black 52 | $paypal[display_shipping_address]="1"; //""=yes 1=no 53 | $paypal[display_comment]="1"; //""=yes 1=no 54 | 55 | 56 | //Product Settings 57 | $paypal[item_name]=stripslashes($_POST[item_name]); 58 | $paypal[item_number]=$_POST[item_number]; 59 | $paypal[amount]=$_POST[amount]; 60 | $paypal[on0]="$_POST[on0]"; 61 | $paypal[os0]="$_POST[os0]"; 62 | $paypal[on1]="$_POST[on1]"; 63 | $paypal[os1]="$_POST[os1]"; 64 | $paypal[quantity]=$_POST[quantity]; 65 | $paypal[edit_quantity]=""; //1=yes ""=no 66 | //$paypal[invoice]="$_POST[invoice]"; 67 | $paypal[invoice]=$_POST[item_number]; 68 | $paypal[tax]="$_POST[tax]"; 69 | 70 | //Shipping and Taxes 71 | $paypal[shipping_amount]="$_POST[shipping_amount]"; 72 | $paypal[shipping_amount_per_item]=""; 73 | $paypal[handling_amount]=""; 74 | $paypal[custom]=$_POST[paypal_signature]; 75 | 76 | //Customer Settings 77 | $paypal[firstname]="$_POST[firstname]"; 78 | $paypal[lastname]="$_POST[lastname]"; 79 | $paypal[address1]="$_POST[address1]"; 80 | $paypal[address2]="$_POST[address2]"; 81 | $paypal[city]="$_POST[city]"; 82 | $paypal[state]="$_POST[state]"; 83 | $paypal[country]="$_POST[country]"; 84 | $paypal[zip]="$_POST[zip]"; 85 | $paypal[email]="$_POST[email]"; 86 | $paypal[phone_1]="$_POST[phone]"; 87 | $paypal[phone_2]="$_POST[phone2]"; 88 | $paypal[phone_3]="$_POST[phone3]"; 89 | 90 | ?> -------------------------------------------------------------------------------- /rezgo/php_paypal/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rezgo/php_paypal/ipn/ipn.php: -------------------------------------------------------------------------------- 1 | query("INSERT INTO `ipn_log` SET 26 | `timestamp` = '$time', 27 | `query` = 'RAW', 28 | `request` = '".addslashes(print_r($_REQUEST, 1))."' 29 | "); 30 | 31 | header('HTTP/1.1 200 OK'); 32 | 33 | // clean the HTMLentity request array can validate the response with paypal 34 | // if the decoded htmlentities are present, paypal will reject the validation request 35 | foreach($_REQUEST as $k => $v) { 36 | $_REQUEST[$k] = htmlspecialchars_decode($v, ENT_QUOTES); 37 | } 38 | 39 | $site = new RezgoSite(secure); 40 | 41 | $trans = $_REQUEST['item_number']; 42 | $paypal_signature = md5($trans); 43 | $payer_email = $_REQUEST['payer_email']; 44 | $txn_id = $_REQUEST['txn_id']; 45 | $amount = $_REQUEST['mc_gross']; 46 | 47 | //decide which post method to use 48 | switch($paypal[post_method]) { 49 | 50 | case "libCurl": //php compiled with libCurl support 51 | 52 | $result=libCurlPost($paypal[url],$_REQUEST); 53 | 54 | 55 | break; 56 | 57 | 58 | case "curl": //cURL via command line 59 | 60 | $result=curlPost($paypal[url],$_REQUEST); 61 | 62 | break; 63 | 64 | 65 | case "fso": //php fsockopen(); 66 | 67 | $result=fsockPost($paypal[url],$_REQUEST); 68 | 69 | break; 70 | 71 | 72 | default: //use the fsockopen method as default post method 73 | 74 | $result=fsockPost($paypal[url],$_REQUEST); 75 | 76 | break; 77 | 78 | } 79 | 80 | //check the ipn result received back from paypal 81 | 82 | // Transaction info 83 | $cid = REZGO_CID; 84 | 85 | // SUCCESSFUL IPN RESPONSE 86 | if(eregi("VERIFIED",$result)) { 87 | $ipn_response_status = "VERIFIED"; 88 | 89 | if(isset($paypal['business']) && $_REQUEST['payment_status'] == 'Completed') { 90 | $transaction_response_status = "Transaction confirmed"; 91 | 92 | // Send Paypal Payment Verification to gateway 93 | $query = 'https://'.$site->xml_path.'&'; 94 | 95 | if ($cid && $paypal_signature) { 96 | $paypal_success_query = $query."i=commit&paypal_amount=".$amount."&signature=".$paypal_signature; 97 | 98 | $site->fetchXML($paypal_success_query); 99 | $gateway_paypal_xml_response = $site->get; 100 | 101 | if ($gateway_paypal_xml_response) { 102 | $gateway_paypal_response = "Payment acknowledged"; 103 | } 104 | } 105 | 106 | } 107 | else{ 108 | $transaction_response_status = "Transaction error"; 109 | } 110 | 111 | } 112 | // FAILED IPN RESPONSE 113 | else { 114 | $ipn_response_status = "INVALID"; 115 | } 116 | 117 | // Log 118 | $ipn_status = "IPN Response: ".$ipn_response_status." / Transaction Status Response: ".$transaction_response_status." / Gateway Paypal Response: ".$gateway_paypal_response; 119 | 120 | $pstr = "Business: ".$paypal[business]." / ". 121 | "Amount: ".$amount." / ". 122 | "cid: ".$cid." / ". 123 | "paypal_signature: ".$paypal_signature." / ". 124 | "Paypal Transaction ID: ".$txn_id." / ". 125 | "Paypal Success Query: ".$paypal_success_query." / ". 126 | "XML Response: ".$gateway_paypal_xml_response."\n\n"; 127 | 128 | $db->query("INSERT INTO `ipn_log` SET 129 | `trans` = '".addslashes($trans)."', 130 | `timestamp` = '".addslashes($time)."', 131 | `time` = '".addslashes(date("Y-m-d h:i:s A", $time))."', 132 | `query` = '".addslashes($ipn_status)."', 133 | `info` = '".addslashes($pstr)."', 134 | `request` = '".addslashes(print_r($_REQUEST, 1))."' 135 | "); 136 | ?> -------------------------------------------------------------------------------- /rezgo/php_paypal/process.php: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | Pay with a PayPal account 22 | 23 |
    24 | 28 |


    29 |
    30 | 31 | Processing Transaction . . .
    32 |
    33 | If you are not forwarded to PayPal in 5 seconds, please click here to continue. 34 |
    35 |
    36 | 37 |
    38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /rezgo/templates/default/404page.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 |
    4 |

    Page not found

    5 |

    Sorry, we could not find the page you were looking for.

    6 |

    Return to home

    7 |
    8 | 9 | Search the site 10 |
    11 |
    12 |
    13 | 14 | 15 | 16 | 17 |
    18 |
    19 |
    20 | 21 |
    22 | 23 | 24 |
    25 | 26 | -------------------------------------------------------------------------------- /rezgo/templates/default/about.php: -------------------------------------------------------------------------------- 1 |
    2 | 3 |
    4 | 5 |

    About Us

    6 |
    getPageContent('aboutus')?>
    7 | 8 |
    9 | 10 |
    -------------------------------------------------------------------------------- /rezgo/templates/default/booking_payment.php: -------------------------------------------------------------------------------- 1 | parent.creditConfirm("'.$_REQUEST['token'].'");'; 4 | } 5 | ?> 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | exists($site->getStyles())) { ?> 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 38 | 39 |
    40 | 41 | 42 |
    43 |
    44 |
    45 | 46 | 47 | 48 |
    49 | 50 |
    51 | 52 | 53 | 54 |
    55 | 56 |
    57 | 58 | 59 | 73 |
    74 | 75 |
    76 | 77 | 78 | 83 |
    84 | 85 | getCVV()) { ?> 86 |
    87 | 94 | 95 |
    96 | 97 | 98 |
    99 | 100 |
    101 |
    102 |
    103 | 104 | -------------------------------------------------------------------------------- /rezgo/templates/default/booking_tickets.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | decode($v); 6 | if(!$trans_num) $site->sendTo("/"); 7 | $booking = $site->getBookings($trans_num, 0); 8 | $checkin = (string) $booking->checkin; 9 | $availability_type = (string) $booking->availability_type; 10 | $checkin_state = $booking->checkin_state; 11 | $type = ((string) $booking->ticket_type != '' ? $booking->ticket_type : 'voucher'); 12 | ?> 13 | 14 | 15 | getTicketContent($trans_num, 0); ?> 16 | 17 | tickets as $ticket_list) { ?> 18 | 19 | '.$ticket.''; 22 | } 23 | ?> 24 |
    25 |
    26 | 27 |
    28 |
    29 |
    30 | 31 | 32 | 33 | status == 3) { ?> 34 |

    Booking has been cancelled, ticket is not available.

    35 | 36 |

    for Booking is not available until the booking has been confirmed.

    37 | 38 | 39 |
    40 | 41 | 42 | 43 |

    is not available for product purchase .

    44 |
    45 | 46 | 47 | 48 |
    49 | 50 | 1) { ?> 51 |
    52 | 53 | 54 | -------------------------------------------------------------------------------- /rezgo/templates/default/calendar_month.php: -------------------------------------------------------------------------------- 1 | getCalendar($_REQUEST['uid'], $_REQUEST['date']); 4 | 5 | $calendar_days = $site->getCalendarDays(); 6 | 7 | foreach ( $site->getCalendarDays() as $day ) { 8 | 9 | if ($day->cond == 'a') { $class = ''; } // available 10 | elseif ($day->cond == 'p') { $class = 'passed'; } 11 | elseif ($day->cond == 'f') { $class = 'full'; } 12 | elseif ($day->cond == 'i' || $day->cond == 'u') { $class = 'unavailable'; } 13 | elseif ($day->cond == 'c') { $class = 'cutoff'; } 14 | 15 | if ($day->date) { // && (int)$day->lead != 1 16 | $calendar_events .= '"'.date('Y-m-d', $day->date).'":{"class": "'.$class.'"},'."\n"; 17 | } 18 | 19 | } 20 | 21 | $calendar_events = trim($calendar_events, ','."\n"); 22 | 23 | ?> 24 | 25 | -------------------------------------------------------------------------------- /rezgo/templates/default/content_page.php: -------------------------------------------------------------------------------- 1 |
    2 | 3 |
    4 | 5 |

    6 |
    getPageContent($site->requestStr('page'))?>
    7 | 8 |
    9 | 10 |
    -------------------------------------------------------------------------------- /rezgo/templates/default/css/bootstrap-select.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */select.bs-select-hidden,select.selectpicker{display:none!important}.bootstrap-select{width:220px\9}.bootstrap-select>.dropdown-toggle{width:100%;padding-right:25px;z-index:1}.bootstrap-select>.dropdown-toggle.bs-placeholder,.bootstrap-select>.dropdown-toggle.bs-placeholder:active,.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,.bootstrap-select>.dropdown-toggle.bs-placeholder:hover{color:#999}.bootstrap-select>select{position:absolute!important;bottom:0;left:50%;display:block!important;width:.5px!important;height:100%!important;padding:0!important;opacity:0!important;border:none}.bootstrap-select>select.mobile-device{top:0;left:0;display:block!important;width:100%!important;z-index:2}.error .bootstrap-select .dropdown-toggle,.has-error .bootstrap-select .dropdown-toggle{border-color:#b94a48}.bootstrap-select.fit-width{width:auto!important}.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn){width:220px}.bootstrap-select .dropdown-toggle:focus{outline:thin dotted #333!important;outline:5px auto -webkit-focus-ring-color!important;outline-offset:-2px}.bootstrap-select.form-control{margin-bottom:0;padding:0;border:none}.bootstrap-select.form-control:not([class*=col-]){width:100%}.bootstrap-select.form-control.input-group-btn{z-index:auto}.bootstrap-select.form-control.input-group-btn:not(:first-child):not(:last-child)>.btn{border-radius:0}.bootstrap-select.btn-group:not(.input-group-btn),.bootstrap-select.btn-group[class*=col-]{float:none;display:inline-block;margin-left:0}.bootstrap-select.btn-group.dropdown-menu-right,.bootstrap-select.btn-group[class*=col-].dropdown-menu-right,.row .bootstrap-select.btn-group[class*=col-].dropdown-menu-right{float:right}.form-group .bootstrap-select.btn-group,.form-horizontal .bootstrap-select.btn-group,.form-inline .bootstrap-select.btn-group{margin-bottom:0}.form-group-lg .bootstrap-select.btn-group.form-control,.form-group-sm .bootstrap-select.btn-group.form-control{padding:0}.form-group-lg .bootstrap-select.btn-group.form-control .dropdown-toggle,.form-group-sm .bootstrap-select.btn-group.form-control .dropdown-toggle{height:100%;font-size:inherit;line-height:inherit;border-radius:inherit}.form-inline .bootstrap-select.btn-group .form-control{width:100%}.bootstrap-select.btn-group.disabled,.bootstrap-select.btn-group>.disabled{cursor:not-allowed}.bootstrap-select.btn-group.disabled:focus,.bootstrap-select.btn-group>.disabled:focus{outline:0!important}.bootstrap-select.btn-group.bs-container{position:absolute;height:0!important;padding:0!important}.bootstrap-select.btn-group.bs-container .dropdown-menu{z-index:1060}.bootstrap-select.btn-group .dropdown-toggle .filter-option{display:inline-block;overflow:hidden;width:100%;text-align:left}.bootstrap-select.btn-group .dropdown-toggle .caret{position:absolute;top:50%;right:12px;margin-top:-2px;vertical-align:middle}.bootstrap-select.btn-group[class*=col-] .dropdown-toggle{width:100%}.bootstrap-select.btn-group .dropdown-menu{min-width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-select.btn-group .dropdown-menu.inner{position:static;float:none;border:0;padding:0;margin:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none}.bootstrap-select.btn-group .dropdown-menu li{position:relative}.bootstrap-select.btn-group .dropdown-menu li.active small{color:#fff}.bootstrap-select.btn-group .dropdown-menu li.disabled a{cursor:not-allowed}.bootstrap-select.btn-group .dropdown-menu li a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bootstrap-select.btn-group .dropdown-menu li a.opt{position:relative;padding-left:2.25em}.bootstrap-select.btn-group .dropdown-menu li a span.check-mark{display:none}.bootstrap-select.btn-group .dropdown-menu li a span.text{display:inline-block}.bootstrap-select.btn-group .dropdown-menu li small{padding-left:.5em}.bootstrap-select.btn-group .dropdown-menu .notify{position:absolute;bottom:5px;width:96%;margin:0 2%;min-height:26px;padding:3px 5px;background:#f5f5f5;border:1px solid #e3e3e3;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05);pointer-events:none;opacity:.9;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-select.btn-group .no-results{padding:3px;background:#f5f5f5;margin:0 5px;white-space:nowrap}.bootstrap-select.btn-group.fit-width .dropdown-toggle .filter-option{position:static}.bootstrap-select.btn-group.fit-width .dropdown-toggle .caret{position:static;top:auto;margin-top:-1px}.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark{position:absolute;display:inline-block;right:15px;margin-top:5px}.bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text{margin-right:34px}.bootstrap-select.show-menu-arrow.open>.dropdown-toggle{z-index:1061}.bootstrap-select.show-menu-arrow .dropdown-toggle:before{content:'';border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(204,204,204,.2);position:absolute;bottom:-4px;left:9px;display:none}.bootstrap-select.show-menu-arrow .dropdown-toggle:after{content:'';border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;bottom:-4px;left:10px;display:none}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before{bottom:auto;top:-3px;border-top:7px solid rgba(204,204,204,.2);border-bottom:0}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after{bottom:auto;top:-3px;border-top:6px solid #fff;border-bottom:0}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before{right:12px;left:auto}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after{right:13px;left:auto}.bootstrap-select.show-menu-arrow.open>.dropdown-toggle:after,.bootstrap-select.show-menu-arrow.open>.dropdown-toggle:before{display:block}.bs-actionsbox,.bs-donebutton,.bs-searchbox{padding:4px 8px}.bs-actionsbox{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bs-actionsbox .btn-group button{width:50%}.bs-donebutton{float:left;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bs-donebutton .btn-group button{width:100%}.bs-searchbox+.bs-actionsbox{padding:0 8px 4px}.bs-searchbox .form-control{margin-bottom:0;width:100%;float:none} -------------------------------------------------------------------------------- /rezgo/templates/default/css/cookieconsent.css: -------------------------------------------------------------------------------- 1 | .cc_banner-wrapper { 2 | z-index:9001; 3 | position:relative; 4 | } 5 | .cc_container .cc_btn { 6 | cursor:pointer; 7 | text-align:center; 8 | font-size:0.6em; 9 | transition:font-size 200ms; 10 | line-height:1em; 11 | } 12 | .cc_container .cc_message { 13 | font-size:0.6em; 14 | transition:font-size 200ms; 15 | margin:0; 16 | padding:0; 17 | line-height:1.5em; 18 | color:#FFF; 19 | } 20 | .cc_container .cc_logo { 21 | display:none; 22 | text-indent:-1000px; 23 | overflow:hidden; 24 | width:100px; 25 | height:22px; 26 | background-size:cover; 27 | background-image:none; 28 | opacity:0.9; 29 | transition:opacity 200ms; 30 | } 31 | .cc_container .cc_logo:hover, .cc_container .cc_logo:active { 32 | opacity:1 33 | } 34 | 35 | @media screen and (min-width: 500px) { 36 | 37 | .cc_container .cc_btn { 38 | font-size:0.8em; 39 | } 40 | .cc_container .cc_message { 41 | font-size:0.8em; 42 | } 43 | 44 | } 45 | 46 | @media screen and (min-width: 768px) { 47 | 48 | .cc_container .cc_btn { 49 | font-size:1em; 50 | } 51 | .cc_container .cc_message { 52 | font-size:1em; 53 | line-height:1em; 54 | } 55 | 56 | } 57 | 58 | @media screen and (min-width: 992px) { 59 | 60 | .cc_container .cc_message { 61 | font-size:1em; 62 | } 63 | 64 | } 65 | 66 | @media print { 67 | 68 | .cc_banner-wrapper, .cc_container { 69 | display:none; 70 | } 71 | 72 | } 73 | 74 | .cc_banner-wrapper { 75 | height:66px; 76 | } 77 | .cc_container { 78 | padding:15px 15px 15px; 79 | overflow:hidden; 80 | position:fixed; 81 | top:0; 82 | left:0; 83 | right:0; 84 | } 85 | .cc_container .cc_btn { 86 | padding:8px 10px; 87 | background-color:#f1d600; 88 | cursor:pointer; 89 | text-align:center; 90 | display:block; 91 | width:33%; 92 | margin-left:10px; 93 | float:right; 94 | max-width:120px; 95 | } 96 | .cc_container .cc_message { 97 | display:block; 98 | } 99 | 100 | @media screen and (min-width: 500px) { 101 | 102 | .cc_container .cc_message { 103 | margin-top:0.1em; 104 | } 105 | 106 | } 107 | 108 | @media screen and (min-width: 768px) { 109 | 110 | .cc_container { 111 | padding:12px 30px 12px; 112 | } 113 | .cc_container .cc_btn { 114 | padding:8px 15px; 115 | } 116 | 117 | } 118 | 119 | .cc_container { 120 | background:#222; 121 | color:#fff; 122 | font-size:17px; 123 | font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial; 124 | box-sizing:border-box; 125 | } 126 | .cc_container ::-moz-selection { 127 | background:#ff5e99; 128 | color:#fff; 129 | text-shadow:none; 130 | } 131 | .cc_container .cc_btn, .cc_container .cc_btn:visited { 132 | color:#000; 133 | background-color:#FFCC00; 134 | transition:background 200ms ease-in-out,color 200ms ease-in-out,box-shadow 200ms ease-in-out; 135 | -webkit-transition:background 200ms ease-in-out,color 200ms ease-in-out,box-shadow 200ms ease-in-out; 136 | border-radius:5px; 137 | -webkit-border-radius:5px; 138 | } 139 | .cc_container .cc_btn:hover, .cc_container .cc_btn:active { 140 | background-color:#FAD242; 141 | color:#000; 142 | } 143 | .cc_container a, .cc_container a:visited { 144 | text-decoration:none; 145 | color:#FFCC00; 146 | transition:200ms color; 147 | } 148 | .cc_container a:hover, .cc_container a:active { 149 | color:#FAD242; 150 | text-decoration:underline; 151 | } 152 | 153 | @-webkit-keyframes slideDown { 154 | 155 | 0% { 156 | margin-top:-66px; 157 | } 158 | 100% { 159 | margin-top:0; 160 | } 161 | 162 | } 163 | 164 | @keyframes slideDown { 165 | 166 | 0% { 167 | margin-top:-66px; 168 | } 169 | 100% { 170 | margin-top:0px; 171 | } 172 | 173 | } 174 | 175 | @-webkit-keyframes growDown { 176 | 177 | 0% { 178 | height:0; 179 | } 180 | 100% { 181 | height:66px; 182 | } 183 | 184 | } 185 | 186 | @keyframes growDown { 187 | 188 | 0% { 189 | height:0; 190 | } 191 | 100% { 192 | height:66px; 193 | } 194 | 195 | } 196 | 197 | .cc_container { 198 | -webkit-animation-duration:0.8s; 199 | -moz-animation-duration:0.8s; 200 | -o-animation-duration:0.8s; 201 | animation-duration:0.8s; 202 | -webkit-animation-name:slideDown; 203 | animation-name:slideDown; 204 | } 205 | .cc_banner-wrapper { 206 | -webkit-animation-duration:0.8s; 207 | -moz-animation-duration:0.8s; 208 | -o-animation-duration:0.8s; 209 | animation-duration:0.8s; 210 | -webkit-animation-name:growDown; 211 | animation-name:growDown; 212 | } 213 | -------------------------------------------------------------------------------- /rezgo/templates/default/css/header.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* CSS Document */ 3 | 4 | body { 5 | padding-top: 50px; 6 | } 7 | #rezgo-default-header .rezgo-default-brand { 8 | font-size:24px; 9 | font-weight:800; 10 | color:#FFCC00; 11 | text-overflow: ellipsis; 12 | white-space: nowrap; 13 | overflow: hidden; 14 | } 15 | #rezgo-default-header .rezgo-default-brand:hover { 16 | color:#FFF; 17 | } 18 | .rezgo-intro { 19 | padding-top:50px; 20 | background:#eee; 21 | } 22 | .rezgo-intro h1 { 23 | color:#555; 24 | font-size:40px; 25 | } 26 | .rezgo-intro p { 27 | color:#555; 28 | font-size:20px; 29 | } 30 | footer { 31 | padding-top: 20px; 32 | background-color:#000; 33 | } 34 | .rezgo-footer-brand { 35 | color: #888; 36 | } -------------------------------------------------------------------------------- /rezgo/templates/default/css/responsive-calendar.css: -------------------------------------------------------------------------------- 1 | .responsive-calendar .controls { 2 | text-align: center; 3 | } 4 | .responsive-calendar .controls a { 5 | cursor: pointer; 6 | } 7 | .responsive-calendar .controls h4 { 8 | display: inline; 9 | } 10 | .responsive-calendar .day-headers, 11 | .responsive-calendar .days { 12 | font-size: 0; 13 | } 14 | .responsive-calendar .day { 15 | display: inline-block; 16 | position: relative; 17 | font-size: 14px; 18 | width: 14.285714285714286%; 19 | text-align: center; 20 | } 21 | .responsive-calendar .day a { 22 | color: #000000; 23 | display: block; 24 | cursor: pointer; 25 | padding: 20% 0 20% 0; 26 | } 27 | .responsive-calendar .day a:hover { 28 | background-color: #eee; 29 | text-decoration: none; 30 | } 31 | .responsive-calendar .day.header { 32 | border-bottom: 1px gray solid; 33 | } 34 | .responsive-calendar .day.active a { 35 | background-color: #1d86c8; 36 | color: #ffffff; 37 | } 38 | .responsive-calendar .day.active a:hover { 39 | background-color: #36a0e2; 40 | } 41 | .responsive-calendar .day.active .not-current { 42 | background-color: #8fcaef; 43 | color: #ffffff; 44 | } 45 | .responsive-calendar .day.active .not-current:hover { 46 | background-color: #bcdff5; 47 | } 48 | .responsive-calendar .day.not-current a { 49 | color: #ddd; 50 | } 51 | .responsive-calendar .day .badge { 52 | position: absolute; 53 | top: 2px; 54 | right: 2px; 55 | z-index: 1; 56 | } 57 | -------------------------------------------------------------------------------- /rezgo/templates/default/css/responsive-calendar.rezgo.css: -------------------------------------------------------------------------------- 1 | /* Rezgo responsive calendar */ 2 | .responsive-calendar { 3 | font-family:'Lato', sans-serif; 4 | padding:20px; 5 | background:#eee; 6 | } 7 | .responsive-calendar .controls a { 8 | font-size:20px; 9 | } 10 | .responsive-calendar .day-headers { 11 | height:20px; 12 | margin-top:20px; 13 | } 14 | .responsive-calendar .day { 15 | line-height:1.5 em; 16 | } 17 | .responsive-calendar .day.active a { 18 | border-radius:10%; 19 | } 20 | .responsive-calendar .day.select a { 21 | background-color:#398439 !important; 22 | } 23 | .responsive-calendar .day.select a:hover { 24 | background-color:#449d44 !important; 25 | } 26 | .responsive-calendar .day.not-current a { 27 | cursor: default; 28 | } 29 | .responsive-calendar .day.available a { 30 | background-color: #090; 31 | } 32 | .responsive-calendar .day.passed a, 33 | .responsive-calendar .day.cutoff a, 34 | .responsive-calendar .day.unavailable a { 35 | cursor: default; 36 | } 37 | .responsive-calendar .day.full a { 38 | background-color: #FF9900; 39 | border-radius: 10%; 40 | color: #FFFFFF; 41 | cursor: default; 42 | } 43 | .responsive-calendar .day.full a:hover { 44 | } 45 | .rezgo-calendar .responsive-calendar .day a { 46 | margin:2px; 47 | } -------------------------------------------------------------------------------- /rezgo/templates/default/css/rez-narrow.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* Narrow view css */ 3 | 4 | .rezgo-form-group { 5 | padding:5px; 6 | } 7 | .rezgo-breadcrumb { 8 | font-size: 18px; 9 | font-weight: bold; 10 | padding: 3px 5px; 11 | } 12 | .rezgo-searchbox { 13 | padding: 10px; 14 | } -------------------------------------------------------------------------------- /rezgo/templates/default/css/rezgo-ie9.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* CSS for IE 9 */ 3 | 4 | .rezgo-date-selector .panel-heading { 5 | filter:none; 6 | } -------------------------------------------------------------------------------- /rezgo/templates/default/css/rezgo-modal.css: -------------------------------------------------------------------------------- 1 | /* REZGO MODAL */ 2 | #rezgo-modal .modal-content { 3 | padding: 1px; 4 | border-radius: 0; 5 | } 6 | #rezgo-modal .modal-header { 7 | background-color: #428bca; 8 | color: #fff; 9 | } 10 | #rezgo-modal .modal-header .close { 11 | color: #fff; 12 | opacity: .65; 13 | } 14 | #rezgo-modal .modal-header .close:hover { 15 | opacity: 1; 16 | } 17 | #rezgo-modal .modal-header { 18 | padding: 10px 44px 10px 15px; 19 | } 20 | #rezgo-modal h4, 21 | #rezgo-modal .close { 22 | font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif; 23 | font-size: 22px; 24 | font-weight: 300; 25 | } 26 | #rezgo-modal .close { 27 | font-size: 32px; 28 | position: absolute; 29 | right: 1px; 30 | top: 1px; 31 | height: 44px; 32 | width: 44px; 33 | } 34 | #rezgo-modal-loader { 35 | position: absolute; 36 | top: 0; 37 | left: 0; 38 | width: 100%; 39 | height: 100%; 40 | background-color: #fff; 41 | } 42 | #rezgo-modal-loader .modal-loader { 43 | position: absolute; 44 | left: 50%; 45 | top: 50%; 46 | width: 200px; 47 | height: 15px; 48 | margin-left: -100px; 49 | margin-top: -7px; 50 | background-color: #999; 51 | border-radius: 4px; 52 | box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.15) inset; 53 | animation: 2s linear 0s normal none infinite progress-bar-stripes; 54 | background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0)); 55 | background-size: 30px 30px; 56 | transition: width 0.6s ease 0s; 57 | } 58 | -------------------------------------------------------------------------------- /rezgo/templates/default/css/signature-pad.css: -------------------------------------------------------------------------------- 1 | .m-signature-pad { 2 | position: relative; 3 | font-size: 10px; 4 | width: 100%; 5 | height: 400px; 6 | background-color: #fff; 7 | } 8 | 9 | .m-signature-pad:before, .m-signature-pad:after { 10 | position: absolute; 11 | z-index: -1; 12 | content: ""; 13 | width: 40%; 14 | height: 10px; 15 | left: 20px; 16 | bottom: 10px; 17 | background: transparent; 18 | } 19 | 20 | .m-signature-pad:after { 21 | left: auto; 22 | right: 20px; 23 | } 24 | 25 | .m-signature-pad-body { 26 | position: absolute; 27 | left: 10px; 28 | right: 10px; 29 | top: 0; 30 | bottom: 60px; 31 | height: 315px; 32 | border: 1px solid #f4f4f4; 33 | } 34 | 35 | .m-signature-pad-body 36 | canvas { 37 | position: absolute; 38 | left: 0; 39 | top: 0; 40 | width: 100%; 41 | height: 100%; 42 | box-shadow: 0 0 5px rgba(0, 0, 0, 0.03) inset; 43 | } 44 | 45 | .m-signature-pad-footer { 46 | position: absolute; 47 | left: 0; 48 | right: 0; 49 | /*bottom: 10px;*/ 50 | height: 40px; 51 | bottom: -225px; 52 | } 53 | 54 | @media screen and (max-width: 1024px) { 55 | .m-signature-pad { 56 | top: 0; 57 | left: 0; 58 | right: 0; 59 | bottom: 0; 60 | width: auto; 61 | height: auto; 62 | min-width: 250px; 63 | min-height: 140px; 64 | margin: 5%; 65 | } 66 | } 67 | 68 | @media screen and (min-device-width: 768px) and (max-device-width: 1024px) { 69 | .m-signature-pad { 70 | margin: 10%; 71 | } 72 | } 73 | 74 | @media screen and (max-height: 320px) { 75 | .m-signature-pad-body { 76 | left: 0; 77 | right: 0; 78 | top: 0; 79 | bottom: 32px; 80 | } 81 | .m-signature-pad-footer { 82 | left: 20px; 83 | right: 20px; 84 | bottom: 4px; 85 | height: 28px; 86 | } 87 | .m-signature-pad-footer 88 | .description { 89 | font-size: 1em; 90 | margin-top: 1em; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /rezgo/templates/default/edit_pax.php: -------------------------------------------------------------------------------- 1 | getTours('t=uid&q='.$_REQUEST['id'].'&d='.$_REQUEST['date'].'&file=edit_pax'); 4 | $site->readItem($option[0]); 5 | $order_id = $_REQUEST['order_id']; 6 | $cart = $site->getCart(); 7 | // non-open date date_selection elements 8 | $date_types = array('always', 'range', 'week', 'days', 'single'); 9 | ?> 10 | 11 |
    12 | 55 | 56 | date->availability != 0) { ?> 57 | 58 |
    59 | 60 | 61 | 62 | getCartState()) { // for no-cart requests, we want to make sure we clear the cart ?> 63 | 64 | 65 | 66 | 67 | 68 | 69 | getTourPrices($option[0]); ?> 70 | 71 | getTourRequired()) { ?> 72 | At least one marked ( ) price point is required to book. 73 | 74 | 75 | per > 1) { ?> 76 | At least per?> are required to book. 77 | 78 | 79 |
    80 |   81 |
    82 | 83 | name, array('adult', 'child', 'senior'))) { 93 | $price_name = 'price_'.$price->name; 94 | } else { 95 | $price_name = $price->name; 96 | } 97 | ?> 98 | 99 | 100 | 101 |
    102 |
    103 | 104 |
    105 | 106 | 111 |
    112 | 113 | required) { $total_required++; } 115 | } // end foreach( $site->getTourPrices() 116 | ?> 117 | 118 | 119 | 120 | 121 | 122 |
    123 | Cancel 124 |   125 | 128 |
    129 | 130 |
    131 |
    132 | 133 |
    134 | Sorry, there is no availability left for this option 135 |
    136 | date->availability != 0) ?> 137 |
    -------------------------------------------------------------------------------- /rezgo/templates/default/error.php: -------------------------------------------------------------------------------- 1 |
    2 | 3 |
    4 | 5 |

    There was an error with your request

    6 |
    7 |

    8 | We are sorry for any inconvenience, but the system encountered an error while handling your request.
    9 |
    10 | Our staff have been alerted of this error automatically, you do not need to take any more steps to report this.
    11 |
    12 | please click here to go back to your previous page. 13 |

    14 |
    15 | 16 |
    17 | 18 |
    -------------------------------------------------------------------------------- /rezgo/templates/default/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /rezgo/templates/default/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /rezgo/templates/default/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /rezgo/templates/default/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /rezgo/templates/default/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /rezgo/templates/default/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /rezgo/templates/default/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /rezgo/templates/default/footer.php: -------------------------------------------------------------------------------- 1 | getAnalytics(); 5 | 6 | if(!$site->config('REZGO_HIDE_HEADERS') && !$_REQUEST['headless']) { 7 | echo $site->getFooter(); 8 | } else { 9 | ?> 10 | 11 | 12 | -------------------------------------------------------------------------------- /rezgo/templates/default/frame_footer.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | 4 |
    5 | RefID: 6 |
    7 | 8 | 9 | getCompanyDetails(); 13 | 14 | ?> 15 | 16 | 60 | 61 | 62 | 63 | 64 |
    65 |
    66 |
    67 | 68 | Rezgo 69 | 70 |
    71 |
    72 |
    73 | 74 |
    75 | 76 | 77 | 78 | 127 | 128 | -------------------------------------------------------------------------------- /rezgo/templates/default/frame_header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | <?php echo $_REQUEST['title']?> 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 26 | 27 | 28 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 42 | 43 | exists($site->getStyles())) { ?> 44 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |
     you are in preview mode
    57 | 58 | 59 | 63 | 68 | -------------------------------------------------------------------------------- /rezgo/templates/default/gift_card_details.php: -------------------------------------------------------------------------------- 1 | sendTo($site->base."/gift-card"); 5 | } 6 | $company = $site->getCompanyDetails(); 7 | $site->readItem($company); 8 | $res = $site->getGiftCard($_REQUEST['card']); 9 | $card = $res->card; 10 | if (!$card) { 11 | $site->sendTo($site->base."/gift-not-found"); 12 | } 13 | $billing = $card->billing; 14 | ?> 15 | 16 |
    17 |
    18 |
    19 |
    20 |
    21 |

    Gift Card Details

    22 |

    Click the button below to print your gift card.

    23 |
    24 | 25 | 26 |  PRINT GIFT CARD 27 | 28 |
    29 |
    30 | 31 |
    32 |
    33 |
    34 |
    company_name)?> Gift Card
    35 |
    https://primary_domain) ? $company->primary_domain : $site->getDomain().'.rezgo.com')?>
    36 |

    formatCurrency((float) $card->amount)?>

    37 |

    cardFormat($card->number)?>

    38 | expires !== 0) { ?> 39 |

    40 | Expires: 41 | date_format, (int) $card->expires)?> 42 |

    43 | 44 |

    first_name)?> last_name)?>

    45 |
    46 |
    47 |
    48 | barcode 49 |
    50 |
    51 |
    52 |
    53 | 54 |
    55 | 56 |
    57 | 58 |
    59 |

    Transactions

    60 |
    61 | 62 | 63 |
    64 | 65 | 66 | transactions->transaction as $trans) { 68 | $action = str_replace('[', '', str_replace(']', '', $trans->action)); 69 | $change = (float) $trans->change; 70 | if($change > 0) { 71 | $change = '+ '.$site->formatCurrency(preg_replace("/[^0-9.]/", "", $change)).''; 72 | } 73 | elseif($change < 0) { 74 | $change = '- '.$site->formatCurrency(preg_replace("/[^0-9.]/", "", $change)).''; 75 | } else { 76 | $change = '0'; 77 | } 78 | ?> 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 |
    date_format, (int) $trans->date)?>formatCurrency((float) $trans->balance)?>
    88 |
    89 | 90 | 91 |
    92 |

    93 | Only one gift card may be used per order. 94 | 95 |
    96 | 97 | Click here to view the terms and conditions. 98 |

    99 | 100 |
    101 | 102 |

    103 | Valid At 104 |

    105 | 106 |
    107 | getCompanyDetails($booking->cid); ?> 108 | company_name?>
    109 | address_1?>exists($company->address_2)) { ?>, address_2?> 110 |
    111 | city?>, 112 | exists($company->state_prov)) { ?>state_prov?>, 113 | countryName($company->country)?>
    114 | postal_code?>
    115 | phone?>
    116 | email?> 117 | exists($company->tax_id)) { ?>
    Tax ID: tax_id?> 118 |
    119 |
    120 |
    121 | 122 | 123 |
    124 | 125 |
    126 |
    127 |
    128 |
    -------------------------------------------------------------------------------- /rezgo/templates/default/gift_card_not_found.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 |
    4 | 22 |
    23 |
    24 |
    25 | 26 | 38 | -------------------------------------------------------------------------------- /rezgo/templates/default/gift_card_print.php: -------------------------------------------------------------------------------- 1 | sendTo($site->base."/gift-card"); 5 | } 6 | $company = $site->getCompanyDetails(); 7 | $site->readItem($company); 8 | $res = $site->getGiftCard($_REQUEST['card']); 9 | $card = $res->card; 10 | if (!$card) { 11 | $site->sendTo($site->base."/gift-not-found"); 12 | } 13 | $billing = $card->billing; 14 | ?> 15 | 16 | 17 | 18 | 19 | 20 | 21 | Gift Card 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
    31 |
    32 |
    33 |

     

    34 |
    35 | 36 |
    37 |
    38 |
    39 |
    40 |
    company_name)?> Gift Card
    41 |
    https://primary_domain) ? $company->primary_domain : $site->getDomain().'.rezgo.com')?>
    42 |

    formatCurrency((float) $card->amount)?>

    43 |

    cardFormat($card->number)?>

    44 | expires !== 0) { ?> 45 |

    46 | Expires: 47 | date_format, (int) $card->expires)?> 48 |

    49 | 50 |

    first_name)?> last_name)?>

    51 |
    52 |
    53 |
    54 | barcode 55 |
    56 |
    57 |
    58 |
    59 |
    60 | 61 |
    62 |

    63 | sent->message)) { ?> 64 | sent->message)?> 65 |
    66 | 67 | first_name) || !empty($billing->last_name)) { ?> 68 |

    From: first_name?> last_name?>

    69 |
    70 |
    71 | 72 |

    73 |
    74 | 75 |
    76 | 77 |
    78 | 79 | 82 | 83 | -------------------------------------------------------------------------------- /rezgo/templates/default/gift_card_receipt.php: -------------------------------------------------------------------------------- 1 | getGiftCard($_SESSION['GIFT_CARD_KEY']); 3 | $card = $res->card; 4 | $billing = $card->billing; 5 | $company = $site->getCompanyDetails(); 6 | $site->readItem($company); 7 | $debug = 0; 8 | ?> 9 | 10 |
    11 |
    12 |
    13 |
    14 |
    15 |

    PURCHASE COMPLETE

    16 |
    17 | 18 |
    19 |
    20 |

    Gift Card Receipt

    21 |

    Thank you for your gift card purchase. The gift card has been sent to email?>.

    22 |
    23 | 24 |
    25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | sent->message) { ?> 41 | 42 | 43 | 44 | 45 | 46 |
    Datedate_format, (int) $card->created)?>
    Sent Tofirst_name?> last_name?> sent->to) ? '('.$card->sent->to.')' : '')?>
    ValueformatCurrency((float) $card->amount)?>
    Messagesent->message)?>
    47 |
    48 |
    49 | 50 |
    51 | 52 |
    53 |
    54 |

    Billing Information

    55 |
    56 | 57 |
    58 | 59 | first_name) { ?> 60 | 61 | 62 | 63 | 64 | 65 | 66 | last_name) { ?> 67 | 68 | 69 | 70 | 71 | 72 | 73 | address_1) { ?> 74 | 75 | 76 | 77 | 78 | 79 | 80 | address_2) { ?> 81 | 82 | 83 | 84 | 85 | 86 | 87 | city) { ?> 88 | 89 | 90 | 91 | 92 | 93 | 94 | state) { ?> 95 | 96 | 97 | 98 | 99 | 100 | 101 | country) { ?> 102 | 103 | 104 | 111 | 112 | 113 | 114 | postal) { ?> 115 | 116 | 117 | 118 | 119 | 120 | 121 | email) { ?> 122 | 123 | 124 | 125 | 126 | 127 | 128 | phone) { ?> 129 | 130 | 131 | 132 | 133 | 134 |
    FirstNamefirst_name?>
    Last Namelast_name?>
    Addressaddress_1?>
    Address 2address_2?>
    Citycity?>
    Prov/Statestate?>
    Country 105 | getRegionList() as $iso => $name) { ?> 106 | country) { ?> 107 | 108 | 109 | 110 |
    Postal Code/ZIPpostal?>
    Emailemail?>
    Phonephone?>
    135 |
    136 | 137 |
    138 |

    139 | Only one gift card may be used per order. 140 | 141 |
    142 | 143 | Click here to view the terms and conditions. 147 |

    148 | 149 |
    150 | 151 |

    152 | Valid At 153 |

    154 | 155 |
    156 | getCompanyDetails($booking->cid); ?> 157 | company_name?>
    158 | address_1?>exists($company->address_2)) { ?>, address_2?> 159 |
    160 | city?>, 161 | exists($company->state_prov)) { ?>state_prov?>, 162 | countryName($company->country)?>
    163 | postal_code?>
    164 | phone?>
    165 | email?> 166 | exists($company->tax_id)) { ?>
    Tax ID: tax_id?> 167 |
    168 |
    169 |
    170 |
    171 |
    172 | 173 | 174 |
    175 |
    176 |
    177 | 178 |
    179 |
    180 | 181 | -------------------------------------------------------------------------------- /rezgo/templates/default/header.php: -------------------------------------------------------------------------------- 1 | config('REZGO_HIDE_HEADERS') && !$_REQUEST['headless']) { 4 | 5 | header('Cache-Control: no-cache'); 6 | header('Pragma: no-cache'); 7 | header('Content-Type: text/html; charset=utf-8'); 8 | 9 | echo $site->getHeader(); 10 | 11 | } else { 12 | 13 | ?> 14 | 15 | 16 | 17 | 18 | 19 | <?php echo $site->pageTitle?> 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /rezgo/templates/default/img/chosen-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/chosen-sprite.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/chosen-sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/chosen-sprite@2x.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/cvv_cards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/cvv_cards.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/flags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/flags.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/flags@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/flags@2x.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/american express.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/american express.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/american express.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/diners.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/diners.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/discover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/discover.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/discover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/mastercard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/mastercard.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/paypal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/paypal.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/paypal_pay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/paypal_pay.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/ta-ratings/s0.5-MCID-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/ta-ratings/s0.5-MCID-0.gif -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/ta-ratings/s1.0-MCID-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/ta-ratings/s1.0-MCID-0.gif -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/ta-ratings/s1.5-MCID-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/ta-ratings/s1.5-MCID-0.gif -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/ta-ratings/s2.0-MCID-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/ta-ratings/s2.0-MCID-0.gif -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/ta-ratings/s2.5-MCID-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/ta-ratings/s2.5-MCID-0.gif -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/ta-ratings/s3.0-MCID-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/ta-ratings/s3.0-MCID-0.gif -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/ta-ratings/s3.5-MCID-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/ta-ratings/s3.5-MCID-0.gif -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/ta-ratings/s4.0-MCID-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/ta-ratings/s4.0-MCID-0.gif -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/ta-ratings/s4.5-MCID-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/ta-ratings/s4.5-MCID-0.gif -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/ta-ratings/s5.0-MCID-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/ta-ratings/s5.0-MCID-0.gif -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/tmt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/tmt-logo.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/tripadvisor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/tripadvisor.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/visa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rezgo/rezgo-parser/288c8129d96234df2a813be3e758d9b4be7eeff6/rezgo/templates/default/img/logos/visa.png -------------------------------------------------------------------------------- /rezgo/templates/default/img/logos/visa.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /rezgo/templates/default/img/rezgo-logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 9 | 12 | 16 | 67 | 68 | -------------------------------------------------------------------------------- /rezgo/templates/default/index.php: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | getPageContent('intro')) { ?> 4 |
    5 | getPageContent('intro')?> 6 |
    7 | 8 | 9 | getTemplate('topbar_order')?> 10 | 11 |
    12 | 13 | 14 | 15 |
    16 | 19 |
    20 | 21 |
     
    22 |
    23 |
    24 | 25 | -------------------------------------------------------------------------------- /rezgo/templates/default/js/html5shiv.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document); -------------------------------------------------------------------------------- /rezgo/templates/default/js/jquery.readmore.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * @preserve 3 | * 4 | * Readmore.js jQuery plugin 5 | * Author: @jed_foster 6 | * Project home: http://jedfoster.github.io/Readmore.js 7 | * Licensed under the MIT license 8 | * 9 | * Debounce function from http://davidwalsh.name/javascript-debounce-function 10 | */ 11 | !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";function e(t,e,i){var o;return function(){var n=this,a=arguments,s=function(){o=null,i||t.apply(n,a)},r=i&&!o;clearTimeout(o),o=setTimeout(s,e),r&&t.apply(n,a)}}function i(t){var e=++h;return String(null==t?"rmjs-":t)+e}function o(t){var e=t.clone().css({height:"auto",width:t.width(),maxHeight:"none",overflow:"hidden"}).insertAfter(t),i=e.outerHeight(),o=parseInt(e.css({maxHeight:""}).css("max-height").replace(/[^-\d\.]/g,""),10),n=t.data("defaultHeight");e.remove();var a=o||t.data("collapsedHeight")||n;t.data({expandedHeight:i,maxHeight:o,collapsedHeight:a}).css({maxHeight:"none"})}function n(t){if(!d[t.selector]){var e=" ";t.embedCSS&&""!==t.blockCSS&&(e+=t.selector+" + [data-readmore-toggle], "+t.selector+"[data-readmore]{"+t.blockCSS+"}"),e+=t.selector+"[data-readmore]{transition: height "+t.speed+"ms;overflow: hidden;}",function(t,e){var i=t.createElement("style");i.type="text/css",i.styleSheet?i.styleSheet.cssText=e:i.appendChild(t.createTextNode(e)),t.getElementsByTagName("head")[0].appendChild(i)}(document,e),d[t.selector]=!0}}function a(e,i){this.element=e,this.options=t.extend({},r,i),n(this.options),this._defaults=r,this._name=s,this.init(),window.addEventListener?(window.addEventListener("load",c),window.addEventListener("resize",c)):(window.attachEvent("load",c),window.attachEvent("resize",c))}var s="readmore",r={speed:100,collapsedHeight:200,heightMargin:16,moreLink:'Read More',lessLink:'Close',embedCSS:!0,blockCSS:"display: block; width: 100%;",startOpen:!1,blockProcessed:function(){},beforeToggle:function(){},afterToggle:function(){}},d={},h=0,c=e(function(){t("[data-readmore]").each(function(){var e=t(this),i="true"===e.attr("aria-expanded");o(e),e.css({height:e.data(i?"expandedHeight":"collapsedHeight")})})},100);a.prototype={init:function(){var e=t(this.element);e.data({defaultHeight:this.options.collapsedHeight,heightMargin:this.options.heightMargin}),o(e);var n=e.data("collapsedHeight"),a=e.data("heightMargin");if(e.outerHeight(!0)<=n+a)return this.options.blockProcessed&&"function"==typeof this.options.blockProcessed&&this.options.blockProcessed(e,!1),!0;var s=e.attr("id")||i(),r=this.options.startOpen?this.options.lessLink:this.options.moreLink;e.attr({"data-readmore":"","aria-expanded":this.options.startOpen,id:s}),e.after(t(r).on("click",function(t){return function(i){t.toggle(this,e[0],i)}}(this)).attr({"data-readmore-toggle":s,"aria-controls":s})),this.options.startOpen||e.css({height:n}),this.options.blockProcessed&&"function"==typeof this.options.blockProcessed&&this.options.blockProcessed(e,!0)},toggle:function(e,i,o){o&&o.preventDefault(),e||(e=t('[aria-controls="'+this.element.id+'"]')[0]),i||(i=this.element);var n=t(i),a="",s="",r=!1,d=n.data("collapsedHeight");n.height()<=d?(a=n.data("expandedHeight")+"px",s="lessLink",r=!0):(a=d,s="moreLink"),this.options.beforeToggle&&"function"==typeof this.options.beforeToggle&&this.options.beforeToggle(e,n,!r),n.css({height:a}),n.on("transitionend",function(i){return function(){i.options.afterToggle&&"function"==typeof i.options.afterToggle&&i.options.afterToggle(e,n,r),t(this).attr({"aria-expanded":r}).off("transitionend")}}(this)),t(e).replaceWith(t(this.options[s]).on("click",function(t){return function(e){t.toggle(this,i,e)}}(this)).attr({"data-readmore-toggle":n.attr("id"),"aria-controls":n.attr("id")}))},destroy:function(){t(this.element).each(function(){var e=t(this);e.attr({"data-readmore":null,"aria-expanded":null}).css({maxHeight:"",height:""}).next("[data-readmore-toggle]").remove(),e.removeData()})}},t.fn.readmore=function(e){var i=arguments,o=this.selector;return e=e||{},"object"==typeof e?this.each(function(){if(t.data(this,"plugin_"+s)){var i=t.data(this,"plugin_"+s);i.destroy.apply(i)}e.selector=o,t.data(this,"plugin_"+s,new a(this,e))}):"string"==typeof e&&"_"!==e[0]&&"init"!==e?this.each(function(){var o=t.data(this,"plugin_"+s);o instanceof a&&"function"==typeof o[e]&&o[e].apply(o,Array.prototype.slice.call(i,1))}):void 0}}); -------------------------------------------------------------------------------- /rezgo/templates/default/js/jquery.selectboxes.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright (c) 2006-2008 Sam Collett (http://www.texotela.co.uk) 4 | * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 5 | * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. 6 | * 7 | * Version 2.2.4 8 | * Demo: http://www.texotela.co.uk/code/jquery/select/ 9 | * 10 | * $LastChangedDate: 2008-06-17 17:27:25 +0100 (Tue, 17 Jun 2008) $ 11 | * $Rev: 5727 $ 12 | * 13 | */ 14 | (function(i){i.b.e=function(){function b(a,l,m,p,j){var n=document.createElement("option");n.value=l;n.text=m;m=a.options;var o=m.length;if(!a.c){a.c={};for(var k=0;k=2){if(typeof d[1]== "boolean"){e=d[1];startindex=d[2]}else{if(typeof d[2]=="boolean")e=d[2];startindex=d[1]}if(!f){c=d[0];g=d[1]}}this.a(function(){if(this.nodeName.toLowerCase()=="select")if(f)for(var a in h){b(this,a,h[a],e,startindex);startindex+=1}else b(this,c,g,e,startindex)});return this};i.b.k=function(b,d,e,f,h){if(typeof b!="string")return this;if(typeof d!="object")d={};if(typeof e!="boolean")e=true;this.a(function(){var c=this;i.n(b,d,function(g){i(c).e(g,e);if(typeof f=="function")typeof h=="object"?f.apply(c, h):f.call(c)})});return this};i.b.h=function(){var b=arguments;if(b.length==0)return this;var d=typeof b[0],e,f;if(d=="string"||d=="object"||d=="function"){e=b[0];if(e.constructor==Array){d=e.length;for(var h=0;h=0;a--){if(e.constructor==RegExp){if(g[a].value.match(e))c=true}else if(g[a].value== e)c=true;if(c&&b[1]===true)c=g[a].selected;if(c)g[a]=null;c=false}else(c=b[1]===true?g[f].selected:true)&&this.remove(f)}});return this};i.b.p=function(b){var d=i(this).i(),e=typeof b=="undefined"?true:!!b;this.a(function(){if(this.nodeName.toLowerCase()=="select"){for(var f=this.options,h=f.length,c=[],g=0;go2t?-1:1});for(g=0;g35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(6($){$.u.G=6(){4 e=6(a,v,t,b){4 c=P.Q("R");c.j=v,c.C=t;4 o=a.x;4 d=o.l;3(!a.n){a.n={};p(4 i=0;i=2){3(8(a[1])=="H")f=a[1];h 3(8(a[2])=="H")f=a[2];3(!m){v=a[0];t=a[1]}}5.y(6(){3(5.A.s()!="B")7;3(m){p(4 a S g){e(5,a,g[a],f)}}h{e(5,v,t,f)}});7 5};$.u.T=6(b,c,d,e,f){3(8(b)!="D")7 5;3(8(c)!="z")c={};3(8(d)!="H")d=9;5.y(6(){4 a=5;$.U(b,c,6(r){$(a).G(r,d);3(8 e=="6"){3(8 f=="z"){e.V(a,f)}h{e.I(a)}}})});7 5};$.u.W=6(){4 a=N;3(a.l==0)7 5;4 d=8(a[0]);4 v,i;3(d=="D"||d=="z"||d=="6")v=a[0];h 3(d=="X")i=a[0];h 7 5;5.y(6(){3(5.A.s()!="B")7;3(5.n)5.n=O;4 b=q;4 o=5.x;3(!!v){4 c=o.l;p(4 i=c-1;i>=0;i--){3(v.J==K){3(o[i].j.L(v)){b=9}}h 3(o[i].j==v){b=9}3(b&&a[1]===9)b=o[i].k;3(b){o[i]=O}b=q}}h{3(b&&a[1]===9)b=o[i].k;3(b){5.Y(i)}}});7 5};$.u.Z=6(f){4 a=8(f)=="M"?9:!!f;5.y(6(){3(5.A.s()!="B")7;4 o=5.x;4 d=o.l;4 e=[];p(4 i=0;iF?-1:1}});p(4 i=0;i #mq-test-1 { width: 42px; }',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){u(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var g,h,i,j=a.document,k=j.documentElement,l=[],m=[],n=[],o={},p=30,q=j.getElementsByTagName("head")[0]||k,r=j.getElementsByTagName("base")[0],s=q.getElementsByTagName("link"),t=function(){var a,b=j.createElement("div"),c=j.body,d=k.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=j.createElement("body"),c.style.background="none"),k.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&k.insertBefore(c,k.firstChild),a=b.offsetWidth,f?k.removeChild(c):c.removeChild(b),k.style.fontSize=d,e&&(c.style.fontSize=e),a=i=parseFloat(a)},u=function(b){var c="clientWidth",d=k[c],e="CSS1Compat"===j.compatMode&&d||j.body[c]||d,f={},o=s[s.length-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=j.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b11){this.currentYear=this.currentYear+1;this.currentMonth=0}else{this.currentMonth=this.currentMonth+1}this.drawDays(this.currentYear,this.currentMonth);if(this.options.onMonthChange){this.options.onMonthChange.call(this)}return null},curr:function(){this.currentYear=this.time.getFullYear();this.currentMonth=this.time.getMonth();this.drawDays(this.currentYear,this.currentMonth);if(this.options.onMonthChange){this.options.onMonthChange.call(this)}return null},addOthers:function(f,g){var e;if(typeof g==="object"){if(g.number!=null){e=c("").html(g.number).addClass("badge");if(g.badgeClass!=null){e.addClass(g.badgeClass)}f.append(e)}if(g.url){f.find("a").attr("href",g.url)}}return f},makeActive:function(f,k){var h,l,g,j,e;if(k){if(k["class"]){h=k["class"].split(" ");for(g=j=0,e=h.length;j").addClass("day");k=new Date();k.setHours(0,0,0,0);e=new Date(p,j-1,f);if(e.getTime()o){n=new Date(p,j-1,f);f=n.getDate();j=n.getMonth()+1;p=n.getFullYear();l.addClass("not-current").addClass(g);if(this.options.activateNonCurrentMonths){m=p+"-"+this.addLeadingZero(j)+"-"+this.addLeadingZero(f)}}l.append(c(""+f+"").attr("data-day",f).attr("data-month",j).attr("data-year",p));if(this.options.monthChangeAnimation){this.applyTransform(l,"rotateY(180deg)");this.applyBackfaceVisibility(l)}l=this.makeActive(l,this.options.events[m]);return this.$element.find('[data-group="days"]').append(l)},drawDays:function(o,u){var p,s,f,j,w,n,r,t,h,x,y,l,q,k,m,e,g,v;q=this;k=new Date(o,u);p=k.getMonth();y=k.getMonth()+1;e=k.getFullYear();k.setDate(1);r=this.options.startFromSunday?k.getDay()+1:k.getDay()||7;h=this.getDaysInMonth(o,u);m=0;if(this.options.monthChangeAnimation){j=this.$element.find('[data-group="days"] .day');for(t=g=0,v=j.length;g2,c=this.points[0];!b&&c&&this._strokeDraw(c),"function"==typeof this.onEnd&&this.onEnd(a)},b.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),a.addEventListener("mouseup",this._handleMouseUp)},b.prototype._handleTouchEvents=function(){this._canvas.style.msTouchAction="none",this._canvas.style.touchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart),this._canvas.addEventListener("touchmove",this._handleTouchMove),this._canvas.addEventListener("touchend",this._handleTouchEnd)},b.prototype.on=function(){this._handleMouseEvents(),this._handleTouchEvents()},b.prototype.off=function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),a.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),this._canvas.removeEventListener("touchend",this._handleTouchEnd)},b.prototype.isEmpty=function(){return this._isEmpty},b.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._isEmpty=!0,this._ctx.fillStyle=this.penColor},b.prototype._createPoint=function(a){var b=this._canvas.getBoundingClientRect();return new c(a.clientX-b.left,a.clientY-b.top)},b.prototype._addPoint=function(a){var b,c,e,f,g=this.points;g.push(a),g.length>2&&(3===g.length&&g.unshift(g[0]),f=this._calculateCurveControlPoints(g[0],g[1],g[2]),b=f.c2,f=this._calculateCurveControlPoints(g[1],g[2],g[3]),c=f.c1,e=new d(g[1],b,c,g[2]),this._addCurve(e),g.shift())},b.prototype._calculateCurveControlPoints=function(a,b,d){var e=a.x-b.x,f=a.y-b.y,g=b.x-d.x,h=b.y-d.y,i={x:(a.x+b.x)/2,y:(a.y+b.y)/2},j={x:(b.x+d.x)/2,y:(b.y+d.y)/2},k=Math.sqrt(e*e+f*f),l=Math.sqrt(g*g+h*h),m=i.x-j.x,n=i.y-j.y,o=l/(k+l),p={x:j.x+m*o,y:j.y+n*o},q=b.x-p.x,r=b.y-p.y;return{c1:new c(i.x+q,i.y+r),c2:new c(j.x+q,j.y+r)}},b.prototype._addCurve=function(a){var b,c,d=a.startPoint,e=a.endPoint;b=e.velocityFrom(d),b=this.velocityFilterWeight*b+(1-this.velocityFilterWeight)*this._lastVelocity,c=this._strokeWidth(b),this._drawCurve(a,this._lastWidth,c),this._lastVelocity=b,this._lastWidth=c},b.prototype._drawPoint=function(a,b,c){var d=this._ctx;d.moveTo(a,b),d.arc(a,b,c,0,2*Math.PI,!1),this._isEmpty=!1},b.prototype._drawCurve=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o=this._ctx,p=c-b;for(d=Math.floor(a.length()),o.beginPath(),f=0;d>f;f++)g=f/d,h=g*g,i=h*g,j=1-g,k=j*j,l=k*j,m=l*a.startPoint.x,m+=3*k*g*a.control1.x,m+=3*j*h*a.control2.x,m+=i*a.endPoint.x,n=l*a.startPoint.y,n+=3*k*g*a.control1.y,n+=3*j*h*a.control2.y,n+=i*a.endPoint.y,e=b+i*p,this._drawPoint(m,n,e);o.closePath(),o.fill()},b.prototype._strokeWidth=function(a){return Math.max(this.maxWidth/(a+1),this.minWidth)};var c=function(a,b,c){this.x=a,this.y=b,this.time=c||(new Date).getTime()};c.prototype.velocityFrom=function(a){return this.time!==a.time?this.distanceTo(a)/(this.time-a.time):1},c.prototype.distanceTo=function(a){return Math.sqrt(Math.pow(this.x-a.x,2)+Math.pow(this.y-a.y,2))};var d=function(a,b,c,d){this.startPoint=a,this.control1=b,this.control2=c,this.endPoint=d};return d.prototype.length=function(){var a,b,c,d,e,f,g,h,i=10,j=0;for(a=0;i>=a;a++)b=a/i,c=this._point(b,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),d=this._point(b,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y),a>0&&(g=c-e,h=d-f,j+=Math.sqrt(g*g+h*h)),e=c,f=d;return j},d.prototype._point=function(a,b,c,d,e){return b*(1-a)*(1-a)*(1-a)+3*c*(1-a)*(1-a)*a+3*d*(1-a)*a*a+e*a*a*a},b}(document);return a}); -------------------------------------------------------------------------------- /rezgo/templates/default/js/signature_pad_remove_blank.js: -------------------------------------------------------------------------------- 1 | SignaturePad.prototype.removeBlanks = function () { 2 | var imgWidth = this._ctx.canvas.width; 3 | var imgHeight = this._ctx.canvas.height; 4 | var imageData = this._ctx.getImageData(0, 0, imgWidth, imgHeight), 5 | data = imageData.data, 6 | getAlpha = function(x, y) { 7 | return data[(imgWidth*y + x) * 4 + 3] 8 | }, 9 | scanY = function (fromTop) { 10 | var offset = fromTop ? 1 : -1; 11 | 12 | // loop through each row 13 | for(var y = fromTop ? 0 : imgHeight - 1; fromTop ? (y < imgHeight) : (y > -1); y += offset) { 14 | 15 | // loop through each column 16 | for(var x = 0; x < imgWidth; x++) { 17 | if (getAlpha(x, y)) { 18 | return y; 19 | } 20 | } 21 | } 22 | return null; // all image is white 23 | }, 24 | scanX = function (fromLeft) { 25 | var offset = fromLeft? 1 : -1; 26 | 27 | // loop through each column 28 | for(var x = fromLeft ? 0 : imgWidth - 1; fromLeft ? (x < imgWidth) : (x > -1); x += offset) { 29 | 30 | // loop through each row 31 | for(var y = 0; y < imgHeight; y++) { 32 | if (getAlpha(x, y)) { 33 | return x; 34 | } 35 | } 36 | } 37 | return null; // all image is white 38 | }; 39 | 40 | var cropTop = scanY(true), 41 | cropBottom = scanY(false), 42 | cropLeft = scanX(true), 43 | cropRight = scanX(false); 44 | 45 | var relevantData = this._ctx.getImageData(cropLeft, cropTop, cropRight-cropLeft, cropBottom-cropTop); 46 | this._canvas.width = cropRight-cropLeft; 47 | this._canvas.height = cropBottom-cropTop; 48 | this._ctx.clearRect(0, 0, cropRight-cropLeft, cropBottom-cropTop); 49 | this._ctx.putImageData(relevantData, 0, 0); 50 | }; -------------------------------------------------------------------------------- /rezgo/templates/default/privacy.php: -------------------------------------------------------------------------------- 1 |
    2 | 3 |
    4 |

    Privacy Policy

    5 | 6 |
    7 |
    8 | getPageContent('privacy')?> 9 |
    10 |
    11 | 12 |
    13 | 14 |
    15 | -------------------------------------------------------------------------------- /rezgo/templates/default/review_list.php: -------------------------------------------------------------------------------- 1 | getCompanyDetails(); 4 | 5 | if($site->isVendor()) { 6 | $items = $site->getTours('t=com&q='.$_REQUEST['com']); 7 | foreach($items as $item) { 8 | $site->readItem($item); 9 | } 10 | $supplier = $site->getCompanyDetails($item->cid); 11 | $show_reviews = $supplier->reviews; 12 | } else { 13 | $show_reviews = $company->reviews; 14 | } 15 | 16 | ?> 17 | 18 | 19 | 20 | 21 | 22 |
    23 |
    24 | sendTo($site->base."/reviews/all") 26 | ?> 27 |

    You have not specified an item to review. Please check back later.

    28 | 29 |

    Reviews are not available at this time. Please check back later.

    30 | 31 | 32 | getTours('t=com&q='.$_REQUEST['com']); 37 | 38 | if (count($items) >= 1) { 39 | 40 | foreach($items as $item) { 41 | $site->readItem($item); 42 | } 43 | 44 | $com_search = (int) $item->com; 45 | 46 | // prepare average star rating 47 | $star_rating_display = ''; 48 | 49 | if($item->rating_count >= 1) { 50 | 51 | $avg_rating = round(floatval($item->rating) * 2) / 2; 52 | 53 | for($n=1; $n<=5; $n++) { 54 | if($avg_rating == ($n-0.5)) $star_rating_display .= ''; 55 | elseif($avg_rating >= $n) $star_rating_display .= ''; 56 | else $star_rating_display .= ''; 57 | } 58 | 59 | ?> 60 | 61 |

    Verified Guest Reviews for item?>

    62 |
    63 | Average rating of   64 | 65 |
    66 | 67 |
    68 |
    69 | 70 | 71 | 72 |

    There are no reviews for item?> at this time. Please check back later.

    73 | 74 | rating_count) 75 | 76 | } // if (count($item) 77 | 78 | $review_total = $item->rating_count; 79 | 80 | } else { 81 | 82 | $com_search = 'all'; 83 | $review_total = 100; // set upper limit 84 | 85 | ?> 86 | 87 |

    Verified Guest Reviews for company_name?>

    88 | 89 |
    90 |
    91 | 92 | 93 | 94 | 95 |
    96 |
    97 | 98 | -------------------------------------------------------------------------------- /rezgo/templates/default/terms.php: -------------------------------------------------------------------------------- 1 |
    2 | 3 |
    4 |

    Booking Terms

    5 | 6 |
    7 |
    8 | getPageContent('terms')?> 9 |
    10 |
    11 | 12 |
    13 | 14 |
    15 | 16 | -------------------------------------------------------------------------------- /rezgo/templates/default/topbar_order.php: -------------------------------------------------------------------------------- 1 | getCart(); ?> 2 |
    3 | getCartState()) { ?> 4 | 5 |
    6 |

    7 | 8 | 9 | 10 |  No items in your order 11 |

    12 |
    13 | 14 | readItem($order); 16 | $this_order_total += (float) $order->overall_total; 17 | } ?> 18 | 19 | 33 | 34 | 35 | 36 | isVendor() && $site->getGateway()) { ?> 37 | 42 | 43 |
    -------------------------------------------------------------------------------- /rezgo/templates/default/waiver_print.php: -------------------------------------------------------------------------------- 1 | getCompanyDetails(); 3 | ?> 4 | 5 | 6 | 7 | 8 | Waiver 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | exists($site->getStyles())) { ?> 22 | 23 | 24 | 25 | 26 |
    27 | 28 |
    29 | 30 |
    31 | 32 | = 10) { 37 | 38 | $request_trans = $site->waiver_decode($_REQUEST['trans_num']); 39 | 40 | if (strlen($request_trans) === 10) { // booking 41 | 42 | $trans_num = $request_trans; 43 | 44 | } else { // booking pax 45 | 46 | $trans_part = explode('-', $request_trans); 47 | $trans_num = $trans_part[0]; 48 | $pax_id = $trans_part[1]; 49 | 50 | } 51 | 52 | foreach ($site->getBookings('q='.$trans_num) as $booking) { 53 | 54 | $item = $site->getTours('t=uid&q='.$booking->item_id, 0); 55 | 56 | $site->readItem($booking); 57 | 58 | if ($booking->availability_type != 'product') { 59 | 60 | foreach ($site->getBookingPassengers() as $passenger ) { 61 | 62 | if ($passenger->id == $pax_id) $pax_data = $passenger; 63 | 64 | } 65 | 66 | } // if ($booking->availability_type) 67 | 68 | ?> 69 | 70 |

    Waiver for tour_name?> (option_name?>)

    71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | date != 'open') { ?> 79 | 80 | 81 | 84 | 85 | 86 | time) { ?> 87 | 88 | 89 | 90 | 91 | 92 | 93 |
    Transaction #:trans_num?>
    Date:date_format, (int) $booking->date)?> 82 | time != '') { ?> at time?> 83 |
    Time:time?>
    94 | 95 |
    96 | 97 | getBookings() 100 | 101 | echo '
    '; 102 | echo $site->getWaiverContent($trans_num); 103 | echo '
    '; 104 | 105 | } else { 106 | 107 | if ($_REQUEST['trans_num'] && strlen($_REQUEST['trans_num']) < 10) { 108 | $item_id = $_REQUEST['trans_num']; 109 | } else { 110 | $item_id = ''; 111 | } 112 | 113 | echo '
    '; 114 | echo $site->getWaiverContent($item_id); 115 | echo '
    '; 116 | 117 | } // if ($_REQUEST[trans_num]) 118 | 119 | ?> 120 | 121 |
    122 | 123 |
    124 | 125 |
    126 | 127 |
    128 | 129 | signed) { ?> 130 |
    131 | Thank you for signing. You entered the following information. 132 |
    133 | 134 |
    135 | This waiver has not been signed. Please complete and sign waiver before printing. 136 |
    137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 |
    Namefirst_name?> last_name?>
    Phonephone_number?>
    Emailemail_address?>
    155 | 156 |

     

    157 | 158 |
    159 | 160 |
    161 | 162 |
    163 | 164 |
    165 | 166 | -------------------------------------------------------------------------------- /robots.php: -------------------------------------------------------------------------------- 1 | 2 | User-agent: * 3 | Disallow: / 4 | 5 | User-agent: * 6 | Disallow: / 7 | 8 | User-agent: * 9 | Allow: / 10 | -------------------------------------------------------------------------------- /shorturl_ajax.php: -------------------------------------------------------------------------------- 1 | '.$message.'
    '; 15 | } 16 | ?> -------------------------------------------------------------------------------- /sitemap.php: -------------------------------------------------------------------------------- 1 | \n"; 12 | 13 | $now = date("c", strtotime('now')); 14 | ?> 15 | 16 | 17 | 18 | 19 | 20 | https:/// 21 | 22 | daily 23 | 1.0 24 | 25 | 26 | https:///about 27 | 28 | weekly 29 | 0.6 30 | 31 | 32 | https:///terms 33 | 34 | weekly 35 | 0.6 36 | 37 | 38 | https:///contact 39 | 40 | weekly 41 | 0.6 42 | 43 | 44 | getTours() as $item ): ?> 45 | 46 | https:///details/uid?>/seoEncode($item->item)?> 47 | updated)?> 48 | daily 49 | 1.0 50 | 51 | 52 | -------------------------------------------------------------------------------- /waiver_print.php: -------------------------------------------------------------------------------- 1 | setPageTitle($_REQUEST['title'] ? $_REQUEST['title'] : 'Print Waiver'); 10 | ?> 11 | 12 | 13 | getTemplate('waiver_print')?> 14 | 15 | --------------------------------------------------------------------------------