get('vcmChannelData', ''); if (!empty($vcmchanneldata) && is_array($vcmchanneldata) && count($vcmchanneldata) > 0) { if (array_key_exists('disclaimer', $vcmchanneldata) && !empty($vcmchanneldata['disclaimer'])) { $channel_disclaimer = true; } } $rooms = $this->rooms; $roomsnum = $this->roomsnum; $tars = $this->tars; $prices = $this->prices; $arrpeople = $this->arrpeople; $selopt = $this->selopt; $days = $this->days; $coupon = $this->coupon; $first = $this->first; $second = $this->second; $payments = $this->payments; $cfields = $this->cfields; $customer_details = $this->customer_details; $countries = $this->countries; $pkg = $this->pkg; $vbo_tn = $this->vbo_tn; // JS lang def JText::script('VBO_RM_COUPON_CONFIRM'); $vbo_app = VikBooking::getVboApplication(); $showchildren = VikBooking::showChildrenFront(); $totadults = 0; $totchildren = 0; $is_package = is_array($pkg) && count($pkg) > 0 ? true : false; $pitemid = VikRequest::getInt('Itemid', '', 'request'); // single category filter $pcategories = VikRequest::getString('categories', '', 'request'); // multiple category filters $pcategory_ids = VikRequest::getVar('category_ids', array()); $wdays_map = array( JText::translate('VBWEEKDAYZERO'), JText::translate('VBWEEKDAYONE'), JText::translate('VBWEEKDAYTWO'), JText::translate('VBWEEKDAYTHREE'), JText::translate('VBWEEKDAYFOUR'), JText::translate('VBWEEKDAYFIVE'), JText::translate('VBWEEKDAYSIX') ); if (VikBooking::tokenForm()) { $vikt = uniqid(rand(17, 1717), true); $session->set('vikbtoken', $vikt); $tok = "\n"; } else { $tok = ""; } $document = JFactory::getDocument(); if (VikBooking::loadJquery()) { JHtml::fetch('jquery.framework', true, true); } $document->addStyleSheet(VBO_SITE_URI.'resources/jquery-ui.min.css'); $document->addStyleSheet(VBO_SITE_URI.'resources/jquery.fancybox.css'); JHtml::fetch('script', VBO_SITE_URI.'resources/jquery-ui.min.js'); JHtml::fetch('script', VBO_SITE_URI.'resources/jquery.fancybox.js'); foreach ($cfields as $cf) { if (!empty($cf['poplink'])) { ?> roomindex as $rindex) { $roomindexlink .= '&roomindex[]=' . $rindex; } if (count($this->mod_booking)) { //booking modification ?>