Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/123click/assets/ |
Upload File : |
PK ! j��Vi i helpers/route.phpnu &1i� <?php
/**
------------------------------------------------------------------------
SOLIDRES - Accommodation booking extension for Joomla
------------------------------------------------------------------------
* @author Solidres Team <contact@solidres.com>
* @website https://www.solidres.com
* @copyright Copyright (C) 2013 - 2019 Solidres. All Rights Reserved.
* @license GNU General Public License version 3, or later
------------------------------------------------------------------------
*/
defined('_JEXEC') or die;
/**
* Content Component Route Helper
*
* @static
* @package Joomla.Site
* @subpackage com_content
* @since 1.5
*/
abstract class SolidresHelperRoute
{
protected static $lookup = array();
protected static $lang_lookup = array();
public static function getReservationAssetRoute($id, $roomTypeId = null, $language = 0)
{
// view => id
$needles = array();
if (!SRPlugin::isEnabled('hub'))
{
$needles = array(
'reservationasset' => array((int) $id)
);
}
//Create the link
$link = 'index.php?option=com_solidres&view=reservationasset&id=' . $id;
if ($language && $language != "*" && JLanguageMultilang::isEnabled())
{
self::buildLanguageLookup();
if (isset(self::$lang_lookup[$language]))
{
$link .= '&lang=' . self::$lang_lookup[$language];
$needles['language'] = $language;
}
}
if ($item = self::_findItem($needles))
{
$link .= '&Itemid=' . $item;
}
if (isset($roomTypeId))
{
$link .= '#srt_' . $roomTypeId;
}
return $link;
}
public static function getRoomTypeRoute($id, $language = 0)
{
$needles = array(
'roomtype' => array((int) $id)
);
$link = 'index.php?option=com_solidres&view=roomtype&id=' . $id;
if ($language && $language != "*" && JLanguageMultilang::isEnabled())
{
self::buildLanguageLookup();
if (isset(self::$lang_lookup[$language]))
{
$link .= '&lang=' . self::$lang_lookup[$language];
$needles['language'] = $language;
}
}
if ($item = self::_findItem($needles))
{
$link .= '&Itemid=' . $item;
}
return $link;
}
protected static function buildLanguageLookup()
{
if (count(self::$lang_lookup) == 0)
{
$db = JFactory::getDbo();
$query = $db->getQuery(true)
->select('a.sef AS sef')
->select('a.lang_code AS lang_code')
->from('#__languages AS a');
$db->setQuery($query);
$langs = $db->loadObjectList();
foreach ($langs as $lang)
{
self::$lang_lookup[$lang->lang_code] = $lang->sef;
}
}
}
protected static function _findItem($needles = null)
{
$app = JFactory::getApplication();
$menus = $app->getMenu('site');
$language = isset($needles['language']) ? $needles['language'] : '*';
// Prepare the reverse lookup array.
if (!isset(self::$lookup[$language]))
{
self::$lookup[$language] = array();
$component = JComponentHelper::getComponent('com_solidres');
$attributes = array('component_id');
$values = array($component->id);
if ($language != '*')
{
$attributes[] = 'language';
$values[] = array($needles['language'], '*');
}
$items = $menus->getItems($attributes, $values);
foreach ($items as $item)
{
if (isset($item->query) && isset($item->query['view']))
{
$view = $item->query['view'];
if (!isset(self::$lookup[$language][$view]))
{
self::$lookup[$language][$view] = array();
}
if (isset($item->query['id']))
{
// here it will become a bit tricky
// language != * can override existing entries
// language == * cannot override existing entries
if (!isset(self::$lookup[$language][$view][$item->query['id']]) || $item->language != '*')
{
self::$lookup[$language][$view][$item->query['id']] = $item->id;
}
}
else
{
self::$lookup[$language][$view][0] = $item->id;
}
}
}
}
if ($needles)
{
foreach ($needles as $view => $ids)
{
if (isset(self::$lookup[$language][$view]))
{
foreach ($ids as $id)
{
if (isset(self::$lookup[$language][$view][(int) $id]))
{
return self::$lookup[$language][$view][(int) $id];
}
}
}
}
}
// If not found, return the HUB search page
$component = JComponentHelper::getComponent('com_solidres');
$attributes = array('component_id');
$values = array($component->id);
if ($language != '*')
{
$attributes[] = 'language';
$values[] = array($needles['language'], '*');
}
$items = $menus->getItems($attributes, $values);
foreach ($items as $item)
{
if ($item->query['view'] == 'search')
{
return $item->id;
}
}
// Check if the active menuitem matches the requested language
$active = $menus->getActive();
if ($active && $active->component == 'com_solidres' && ($language == '*' || in_array($active->language, array('*', $language)) || !JLanguageMultilang::isEnabled()))
{
return $active->id;
}
// If not found, return language specific home link
$default = $menus->getDefault($language);
return !empty($default->id) ? $default->id : null;
}
public static function getPartnerRoute($partnerId = null, $language = '*', $layout = 'default')
{
if (null === $partnerId)
{
$partnerId = SRUtilities::getPartnerId();
}
$partnerId = (int) $partnerId;
$needles = ['partner' => [$partnerId, 0]];
$link = 'index.php?option=com_solidres&view=partner&id=' . $partnerId;
if ($language
&& $language !== '*'
&& JLanguageMultilang::isEnabled()
)
{
self::buildLanguageLookup();
if (isset(self::$lang_lookup[$language]))
{
$link .= '&lang=' . self::$lang_lookup[$language];
$needles['language'] = $language;
}
}
if ('default' !== $layout)
{
$link .= '&layout=' . $layout;
}
if ($item = self::_findItem($needles))
{
$link .= '&Itemid=' . $item;
}
return $link;
}
}
PK ! @���J J helpers/toolbar.phpnu &1i� <?php
/**
------------------------------------------------------------------------
SOLIDRES - Accommodation booking extension for Joomla
------------------------------------------------------------------------
* @author Solidres Team <contact@solidres.com>
* @website https://www.solidres.com
* @copyright Copyright (C) 2013 - 2019 Solidres. All Rights Reserved.
* @license GNU General Public License version 3, or later
------------------------------------------------------------------------
*/
defined('_JEXEC') or die;
JLoader::import('solidres.toolbar.toolbar');
PK ! �r� helpers/category.phpnu &1i� <?php
/**
------------------------------------------------------------------------
SOLIDRES - Accommodation booking extension for Joomla
------------------------------------------------------------------------
* @author Solidres Team <contact@solidres.com>
* @website https://www.solidres.com
* @copyright Copyright (C) 2013 - 2019 Solidres. All Rights Reserved.
* @license GNU General Public License version 3, or later
------------------------------------------------------------------------
*/
defined('_JEXEC') or die;
class SolidresCategories extends JCategories
{
public function __construct($options = array())
{
$options['table'] = '#__sr_reservation_assets';
$options['extension'] = 'com_solidres';
parent::__construct($options);
}
}PK ! �{8�� � helpers/association.phpnu &1i� <?php
/**
------------------------------------------------------------------------
SOLIDRES - Accommodation booking extension for Joomla
------------------------------------------------------------------------
* @author Solidres Team <contact@solidres.com>
* @website https://www.solidres.com
* @copyright Copyright (C) 2013 - 2019 Solidres. All Rights Reserved.
* @license GNU General Public License version 3, or later
------------------------------------------------------------------------
*/
defined('_JEXEC') or die;
abstract class SolidresHelperAssociation
{
public static function getAssociations($id = 0, $view = null)
{
$jinput = JFactory::getApplication()->input;
$view = $view === null ? $jinput->get('view') : $view;
$id = empty($id) ? $jinput->getInt('id') : $id;
if ($view === 'experience'
&& SRPlugin::isEnabled('experience')
)
{
if ($id)
{
$associations = JLanguageAssociations::getAssociations('com_solidres', '#__sr_experiences', 'com_solidres.experience', $id, 'id', null, null);
$return = [];
foreach ($associations as $tag => $item)
{
$return[$tag] = SRExperienceHelper::getItemRoute($item->id);
}
return $return;
}
}
return [];
}
}
PK ! �6�<� � views/map/tmpl/default.phpnu &1i� <?php
/**
------------------------------------------------------------------------
SOLIDRES - Accommodation booking extension for Joomla
------------------------------------------------------------------------
* @author Solidres Team <contact@solidres.com>
* @website https://www.solidres.com
* @copyright Copyright (C) 2013 - 2019 Solidres. All Rights Reserved.
* @license GNU General Public License version 3, or later
------------------------------------------------------------------------
*/
/*
* This layout file can be overridden by copying to:
*
* /templates/TEMPLATENAME/html/com_solidres/map/default.php
*
* However, occasionally we will need to update template/layout related files and it is the template developers'
* responsibility to update the overridden files (if any) to maintain full compatibility with Solidres.
*
* We do not provide support if any of the overridden files are out of date and are not compatible with Solidres.
*
* @version 2.8.0
*/
defined('_JEXEC') or die;
$doc = JFactory::getDocument();
$solidresParams = JComponentHelper::getParams('com_solidres');
$googleMapApiKey = $solidresParams->get('google_map_api_key', '');
$doc->addScript('//maps.google.com/maps/api/js' . (!empty($googleMapApiKey) ? '?key=' . $googleMapApiKey : ''));
$doc->addScriptDeclaration('
var geocoder, map;
function initialize() {
var latlng = new google.maps.LatLng("' . $this->info->lat . '", "' . $this->info->lng . '");
var options = {
zoom: 15,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
map = new google.maps.Map(document.getElementById("inline_map"), options);
var image = new google.maps.MarkerImage("' . SRURI_MEDIA . '/assets/images/icon-hotel-' . $this->info->rating . '.png",
new google.maps.Size(32, 37),
new google.maps.Point(0,0),
new google.maps.Point(0, 32));
var marker = new google.maps.Marker({
map: map,
position: latlng,
icon: image,
});
var windowContent = "<h4>' . $this->info->name . '</h4>" +
' . json_encode($this->info->description) . ' +
"<ul>" +
"<li>' . $this->info->address_1 . " " . $this->info->city . '</li>" +
"<li>' . $this->info->phone . '</li>" +
"<li>' . $this->info->email . '</li>" +
"<li>' . $this->info->website . '</li>" +
"</ul>";
var infowindow = new google.maps.InfoWindow({
content: windowContent,
maxWidth: 350
});
google.maps.event.addListener(marker, "click", function() {
infowindow.open(map,marker);
});
}
jQuery(document).ready(function () {
initialize();
});
');
?>
<style>
body.contentpane,
body.component-body,
div.component-content {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
body.contentpane > div:not(#system-message-container) {
height: 100%;
}
html {
width: 100%;
height: 100%;
}
</style>
<div id="inline_map"></div>
PK ! p���� � views/map/tmpl/location.phpnu &1i� <?php
/**
------------------------------------------------------------------------
SOLIDRES - Accommodation booking extension for Joomla
------------------------------------------------------------------------
* @author Solidres Team <contact@solidres.com>
* @website https://www.solidres.com
* @copyright Copyright (C) 2013 - 2019 Solidres. All Rights Reserved.
* @license GNU General Public License version 3, or later
------------------------------------------------------------------------
*/
/*
* This layout file can be overridden by copying to:
*
* /templates/TEMPLATENAME/html/com_solidres/map/location.php
*
* However, occasionally we will need to update template/layout related files and it is the template developers'
* responsibility to update the overridden files (if any) to maintain full compatibility with Solidres.
*
* We do not provide support if any of the overridden files are out of date and are not compatible with Solidres.
*
* @version 2.8.0
*/
defined('_JEXEC') or die;
$doc = JFactory::getDocument();
$solidresParams = JComponentHelper::getParams('com_solidres');
$googleMapApiKey = $solidresParams->get('google_map_api_key', '');
$doc->addScript('//maps.google.com/maps/api/js' . (!empty($googleMapApiKey) ? '?key=' . $googleMapApiKey : ''));
?>
<div id="inline_location_map"></div>
<script>
Solidres.jQuery(function ($) {
var map;
var marker;
var markers = new Array();
var infowindow = new google.maps.InfoWindow({
maxWidth: 160
});
$.ajax({
url: Solidres.options.get('BaseURI') + 'index.php?option=com_solidres&task=map.getMarkers&format=json&location=<?php echo $this->location ?>',
data: {},
dataType: "json",
success: function (data) {
// Setup the different icons and shadows
var iconCounter = 0;
map = new google.maps.Map(document.getElementById('inline_location_map'), {
zoom: 10,
center: new google.maps.LatLng(-37.92, 151.25),
mapTypeId: google.maps.MapTypeId.ROADMAP
});
for (var i = 0; i < data.length; i++) {
marker = new google.maps.Marker({
position: new google.maps.LatLng(data[i]['lat'], data[i]['lng']),
map: map,
icon: '<?php echo SRURI_MEDIA ?>/assets/images/icon-hotel-' + data[i]['rating'] + '.png'
});
markers.push(marker);
google.maps.event.addListener(marker, 'click', (function (marker, i) {
return function () {
infowindow.setContent('<h4>' + data[i]['name'] + '</h4>' +
'<p>' + data[i]['address_1'] + '</p>');
infowindow.open(map, marker);
}
})(marker, i));
}
var bounds = new google.maps.LatLngBounds();
$.each(markers, function (index, marker) {
bounds.extend(marker.position);
});
map.fitBounds(bounds);
}
});
});
</script>PK ! Յ6`w w views/map/view.html.phpnu &1i� <?php
/**
------------------------------------------------------------------------
SOLIDRES - Accommodation booking extension for Joomla
------------------------------------------------------------------------
* @author Solidres Team <contact@solidres.com>
* @website https://www.solidres.com
* @copyright Copyright (C) 2013 - 2019 Solidres. All Rights Reserved.
* @license GNU General Public License version 3, or later
------------------------------------------------------------------------
*/
defined('_JEXEC') or die;
/**
* HTML View class for the Solidres component
*
* @package Solidres
* @since 0.1.0
*/
class SolidresViewMap extends JViewLegacy
{
protected $info;
protected $location;
public function display($tpl = null)
{
$model = $this->getModel();
$assetId = $model->getState($model->getName() . '.assetId');
if ($assetId > 0)
{
$this->info = $model->getMapInfo();
}
$this->location = $model->getState('filter.location');
JHtml::_('jquery.framework');
JHtml::_('stylesheet', 'com_solidres/assets/main.min.css', array('version' => SRVersion::getHashVersion(), 'relative' => true));
if (SRPlugin::isEnabled('hub'))
{
JHtml::stylesheet('plg_solidres_hub/assets/hub.min.css', false, true);
}
if ($errors = $this->get('Errors'))
{
throw new Exception(implode("\n", $errors), 500);
}
parent::display($tpl);
}
}
PK ! �%y views/tracking/view.html.phpnu &1i� <?php
/**
------------------------------------------------------------------------
SOLIDRES - Accommodation booking extension for Joomla
------------------------------------------------------------------------
* @author Solidres Team <contact@solidres.com>
* @website https://www.solidres.com
* @copyright Copyright (C) 2013 - 2019 Solidres. All Rights Reserved.
* @license GNU General Public License version 3, or later
------------------------------------------------------------------------
*/
defined('_JEXEC') or die;
use Joomla\Registry\Registry;
class SolidresViewTracking extends JViewLegacy
{
protected $reservation = null;
protected $menuId = 0;
protected $state;
protected $params;
public function display($tpl = null)
{
$this->state = new Registry;
$app = JFactory::getApplication();
$code = $app->input->get('trackingCode', null, 'TRIM');
$email = $app->input->get('trackingEmail', null, 'TRIM');
$menu = $app->getMenu()->getActive();
$user = JFactory::getUser();
$enableTracking = JComponentHelper::getParams('com_solidres')->get('enable_reservation_tracking', '1');
if (!$user->id && !$enableTracking)
{
$return = base64_encode(JUri::getInstance()->toString());
$app->redirect(JRoute::_('index.php?option=com_users&view=login&return=' . $return, false));
}
$this->state->set('trackingCode', $code);
$this->state->set('trackingEmail', $email);
SRLayoutHelper::addIncludePath(JPATH_SITE . '/components/com_solidres/layouts');
if (null !== $code && null !== $email)
{
$loadData = array(
'code' => $code,
'customer_email' => $email,
);
if (!$enableTracking)
{
$db = JFactory::getDbo();
$query = $db->getQuery(true)
->select('a.id')
->from($db->qn('#__sr_customers', 'a'))
->where('a.user_id = ' . (int) $user->id);
$db->setQuery($query);
$customerId = $db->loadResult();
$loadData['customer_id'] = $customerId ?: 0;
}
JModelLegacy::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_solidres/models', 'SolidresModel');
$reservationModel = JModelLegacy::getInstance('Reservation', 'SolidresModel', array('ignore_request' => true));
$reservation = $reservationModel->getItem($loadData);
if (!empty($reservation->id) && (int) $reservation->state !== -2)
{
$this->reservation = $reservation;
JLoader::register('SRCurrency', SRPATH_LIBRARY . '/currency/currency.php');
JFactory::getLanguage()->load('plg_solidrespayment_' . $this->reservation->payment_method_id, JPATH_PLUGINS . '/solidrespayment/' . $this->reservation->payment_method_id);
}
}
if ($menu
&& @$menu->query['option'] == 'com_solidres'
&& @$menu->query['view'] == 'tracking'
)
{
$this->menuId = (int) $menu->id;
$this->params = $menu->params;
}
if (!($this->params instanceof Registry))
{
$this->params = new Registry;
}
parent::display($tpl);
}
}
PK ! @{��- - views/tracking/tmpl/default.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?>
<metadata>
<layout title="SR_TRACKING_VIEW_DEFAULT_TITLE">
<message>
<![CDATA[SR_TRACKING_VIEW_DEFAULT_DESC]]>
</message>
</layout>
<fields name="params">
<fieldset
name="display"
label="SR_FRONTEND_SETTING"
>
<field
name="show_tracking_form"
type="radio"
label="SR_SHOW_TRACKING_FORM_LABEL"
description="SR_SHOW_TRACKING_FORM_DESC"
class="btn-group btn-group-yesno"
default="1"
>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
</fieldset>
</fields>
</metadata>PK ! H ��.� .� views/tracking/tmpl/default.phpnu &1i� <?php
/**
------------------------------------------------------------------------
SOLIDRES - Accommodation booking extension for Joomla
------------------------------------------------------------------------
* @author Solidres Team <contact@solidres.com>
* @website https://www.solidres.com
* @copyright Copyright (C) 2013 - 2019 Solidres. All Rights Reserved.
* @license GNU General Public License version 3, or later
------------------------------------------------------------------------
*/
/*
* This layout file can be overridden by copying to:
*
* /templates/TEMPLATENAME/html/com_solidres/tracking/default.php
*
* However, occasionally we will need to update template/layout related files and it is the template developers'
* responsibility to update the overridden files (if any) to maintain full compatibility with Solidres.
*
* We do not provide support if any of the overridden files are out of date and are not compatible with Solidres.
*
* @version 2.8.0
*/
defined('_JEXEC') or die;
$trackingCode = $this->state->get('trackingCode');
$trackingEmail = $this->state->get('trackingEmail');
$config = JComponentHelper::getParams('com_solidres');
JLoader::register('SolidresHelper', JPATH_ADMINISTRATOR . '/components/com_solidres/helpers/helper.php');
?>
<div id="solidres">
<div class="<?php echo SR_UI; ?> sr-exp-tracking-wrap">
<?php if ($this->params->get('show_tracking_form', 1)): ?>
<div class="well">
<?php echo SRLayoutHelper::render('tracking.tracking', array(
'trackingCode' => $trackingCode,
'trackingEmail' => $trackingEmail,
'menuId' => $this->menuId,
)); ?>
</div>
<?php endif; ?>
<div class="sr-exp-tracking-result">
<?php if ($trackingCode): ?>
<div class="alert alert-<?php echo $this->reservation ? 'success' : 'warning'; ?>">
<a class="close" data-dismiss="alert">×</a>
<div class="alert-message">
<?php if ($this->reservation): ?>
<i class="fa fa-check-circle"></i>
<?php echo JText::sprintf('SR_TRACKING_RESERVATION_FOUND_FORMAT', $trackingCode); ?>
<?php else: ?>
<i class="fa fa-warning"></i>
<?php echo JText::sprintf('SR_TRACKING_RESERVATION_NOT_FOUND_MSG', $trackingCode); ?>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<?php if ($this->reservation):
$isDiscountPreTax = $this->reservation->discount_pre_tax;
$baseCurrency = new SRCurrency(0, $this->reservation->currency_id);
$totalExtraPriceTaxIncl = $this->reservation->total_extra_price_tax_incl;
$totalExtraPriceTaxExcl = $this->reservation->total_extra_price_tax_excl;
$totalExtraTaxAmount = $totalExtraPriceTaxIncl - $totalExtraPriceTaxExcl;
$totalPaid = $this->reservation->total_paid;
$deposit = $this->reservation->deposit_amount;
$subTotal = clone $baseCurrency;
$subTotal->setValue($this->reservation->total_price_tax_excl - $this->reservation->total_single_supplement);
$totalSingleSupplement = clone $baseCurrency;
$totalSingleSupplement->setValue($this->reservation->total_single_supplement);
$totalDiscount = clone $baseCurrency;
$totalDiscount->setValue($this->reservation->total_discount);
$tax = clone $baseCurrency;
$tax->setValue($this->reservation->tax_amount);
$totalExtraPriceTaxExclDisplay = clone $baseCurrency;
$totalExtraPriceTaxExclDisplay->setValue($totalExtraPriceTaxExcl);
$totalExtraTaxAmountDisplay = clone $baseCurrency;
$totalExtraTaxAmountDisplay->setValue($totalExtraTaxAmount);
$grandTotal = clone $baseCurrency;
if ($isDiscountPreTax)
{
$grandTotal->setValue($this->reservation->total_price_tax_excl - $this->reservation->total_discount + $this->reservation->tax_amount + $totalExtraPriceTaxIncl);
}
else
{
$grandTotal->setValue($this->reservation->total_price_tax_excl + $this->reservation->tax_amount - $this->reservation->total_discount + $totalExtraPriceTaxIncl);
}
$depositAmount = clone $baseCurrency;
$depositAmount->setValue(isset($deposit) ? $deposit : 0);
$totalPaidAmount = clone $baseCurrency;
$totalPaidAmount->setValue(isset($totalPaid) ? $totalPaid : 0);
$couponCode = $this->reservation->coupon_code;
$reservationState = $this->reservation->state;
$paymentStatus = $this->reservation->payment_status;
$bookingType = $this->reservation->booking_type;
$statuses = [];
$paymentStatuses = [];
$paymentsColor = [];
foreach(SolidresHelper::getStatusesList(0, 0) as $state)
{
$statuses[$state->value] = $state->text;
}
foreach(SolidresHelper::getStatusesList(1, 0) as $state)
{
$paymentStatuses[$state->value] = $state->text;
$paymentsColor[$state->value] = $state->color_code;
}
$dateFormat = $config->get('date_format', 'd-m-Y');
$solidresRoomType = SRFactory::get('solidres.roomtype.roomtype');
$lengthOfStay = (int) $solidresRoomType->calculateDateDiff($this->reservation->checkin, $this->reservation->checkout);
?>
<div class="<?php echo SR_UI_GRID_CONTAINER ?>">
<div class="<?php echo SR_UI_GRID_COL_12 ?> reservation-detail-box">
<h3><?php echo JText::_('SR_GENERAL_INFO') ?></h3>
<div class="<?php echo SR_UI_GRID_CONTAINER ?>">
<div class="<?php echo SR_UI_GRID_COL_6 ?>">
<ul class="reservation-details list-unstyled">
<li>
<label>
<?php echo JText::_('SR_CODE'); ?>
</label>
<div class="reservation-code-<?php echo $reservationState; ?> reservation-code">
<?php echo $this->reservation->code; ?>
</div>
</li>
<li>
<label>
<?php echo JText::_('SR_RESERVATION_ASSET_NAME'); ?>
</label>
<?php echo $this->reservation->reservation_asset_name; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_CHECKIN'); ?>
</label>
<?php echo JHtml::_('date', $this->reservation->checkin, $dateFormat, null); ?>
</li>
<li>
<label>
<?php echo JText::_('SR_CHECKOUT'); ?>
</label>
<?php echo JHtml::_('date', $this->reservation->checkout, $dateFormat, null); ?>
</li>
<li>
<label>
<?php echo JText::_('SR_LENGTH_OF_STAY'); ?>
</label>
<?php if ($bookingType == 0) : ?>
<?php echo JText::plural('SR_NIGHTS', $lengthOfStay); ?>
<?php else: ?>
<?php echo JText::plural('SR_DAYS', $lengthOfStay + 1); ?>
<?php endif; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_CREATED_DATE'); ?>
</label>
<?php echo JHtml::_('date', $this->reservation->created_date, $dateFormat); ?>
</li>
<li>
<label>
<?php echo JText::_('SR_PAYMENT_TYPE'); ?>
</label>
<?php echo JText::_('SR_PAYMENT_METHOD_' . $this->reservation->payment_method_id); ?>
</li>
<li>
<label>
<?php echo JText::_('SR_STATUS'); ?>
</label>
<?php echo $statuses[$reservationState] ?>
</li>
<li>
<label>
<?php echo JText::_('SR_RESERVATION_PAYMENT_STATUS'); ?>
</label>
<?php if (isset($paymentStatuses[$paymentStatus])): ?>
<div style="display: inline-block; color: <?php echo $paymentsColor[$paymentStatus]; ?>">
<?php echo $paymentStatuses[$paymentStatus]; ?>
</div>
<?php else: ?>
<?php echo 'N/A'; ?>
<?php endif; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_NOTES'); ?>
</label>
<?php echo $this->reservation->note; ?>
</li>
</ul>
</div>
<div class="<?php echo SR_UI_GRID_COL_6 ?>">
<ul class="reservation-details list-unstyled">
<li>
<label>
<?php echo JText::_('SR_RESERVATION_SUB_TOTAL'); ?>
</label>
<span>
<?php echo $subTotal->format(); ?>
</span>
</li>
<?php if ($this->reservation->total_single_supplement > 0) : ?>
<li>
<label>
<?php echo JText::_('SR_RESERVATION_TOTAL_SINGLE_SUPPLEMENT'); ?>
</label>
<span>
<?php echo $totalSingleSupplement->format(); ?>
</span>
</li>
<?php endif; ?>
<?php if (isset($isDiscountPreTax) && $isDiscountPreTax == 1) : ?>
<li>
<label>
<?php echo JText::_('SR_RESERVATION_TOTAL_DISCOUNT'); ?>
</label>
<span>
<?php echo '-' . $totalDiscount->format() ?></span>
</li>
<?php endif; ?>
<li>
<label>
<?php echo JText::_('SR_RESERVATION_TAX'); ?>
</label>
<span>
<?php echo $tax->format(); ?>
</span>
</li>
<?php if (isset($isDiscountPreTax) && $isDiscountPreTax == 0) : ?>
<li>
<label>
<?php echo JText::_('SR_RESERVATION_TOTAL_DISCOUNT'); ?>
</label>
<span>
<?php echo '-' . $totalDiscount->format(); ?>
</span>
</li>
<?php endif ?>
<li>
<label>
<?php echo JText::_('SR_RESERVATION_EXTRA_TAX_EXCL'); ?>
</label>
<span>
<?php echo $totalExtraPriceTaxExclDisplay->format(); ?>
</span>
</li>
<li>
<label>
<?php echo JText::_('SR_RESERVATION_EXTRA_TAX_AMOUNT'); ?>
</label>
<span>
<?php echo $totalExtraTaxAmountDisplay->format(); ?>
</span>
</li>
<li>
<label>
<?php echo JText::_('SR_RESERVATION_GRAND_TOTAL'); ?>
</label>
<span>
<?php echo $grandTotal->format(); ?>
</span>
</li>
<li>
<label>
<?php echo JText::_('SR_RESERVATION_DEPOSIT_AMOUNT'); ?>
</label>
<span>
<?php echo $depositAmount->format(); ?>
</span>
</li>
<li>
<label>
<?php echo JText::_('SR_RESERVATION_TOTAL_PAID'); ?>
</label>
<span>
<?php echo $totalPaidAmount->format(); ?>
</span>
</li>
<li>
<label>
<?php echo JText::_('SR_RESERVATION_COUPON_CODE'); ?>
</label>
<span>
<?php echo !empty($couponCode) ? $couponCode : 'N/A'; ?>
</span>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="<?php echo SR_UI_GRID_CONTAINER ?>">
<div class="<?php echo SR_UI_GRID_COL_12 ?> reservation-detail-box">
<h3>
<?php echo JText::_('SR_CUSTOMER_INFO'); ?>
</h3>
<?php
$context = 'com_solidres.customer.' . (int) $this->reservation->customer_id;
if (SRPlugin::isEnabled('customfield')
&& ($customFields = SRCustomFieldHelper::getValues(array('context' => $context)))):
$customFieldLength = count($customFields);
$partialNumber = ceil($customFieldLength / 2);
?>
<div class="<?php echo SR_UI_GRID_CONTAINER; ?>">
<div class="<?php echo SR_UI_GRID_COL_6; ?>">
<ul class="reservation-details list-unstyled">
<?php for ($i = 0; $i <= $partialNumber; $i++): ?>
<li>
<label>
<?php echo JText::_($customFields[$i]->title); ?>
</label>
<?php echo trim($customFields[$i]->value); ?>
</li>
<?php endfor; ?>
</ul>
</div>
<div class="<?php echo SR_UI_GRID_COL_6 ?>">
<ul class="reservation-details list-unstyled">
<?php for ($i = $partialNumber + 1; $i < $customFieldLength; $i++): ?>
<li>
<label>
<?php echo JText::_($customFields[$i]->title); ?>
</label>
<?php echo trim($customFields[$i]->value); ?>
</li>
<?php endfor; ?>
</ul>
</div>
</div>
<?php else: ?>
<div class="<?php echo SR_UI_GRID_CONTAINER; ?>">
<div class="<?php echo SR_UI_GRID_COL_6; ?>">
<ul class="reservation-details list-unstyled">
<li>
<label>
<?php echo JText::_('SR_CUSTOMER_TITLE'); ?>
</label>
<?php echo $this->reservation->customer_title; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_FIRSTNAME'); ?>
</label>
<?php echo $this->reservation->customer_firstname; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_MIDDLENAME') ?>
</label>
<?php echo $this->reservation->customer_middlename; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_LASTNAME'); ?>
</label>
<?php echo $this->reservation->customer_lastname; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_EMAIL'); ?>
</label>
<?php echo $this->reservation->customer_email; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_PHONE'); ?>
</label>
<?php echo $this->reservation->customer_phonenumber; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_MOBILEPHONE'); ?>
</label>
<?php echo $this->reservation->customer_mobilephone; ?>
</li>
</ul>
</div>
<div class="<?php echo SR_UI_GRID_COL_6; ?>">
<ul class="reservation-details list-unstyled">
<li>
<label>
<?php echo JText::_('SR_COMPANY'); ?>
</label>
<?php echo $this->reservation->customer_company; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_CUSTOMER_ADDRESS1'); ?>
</label>
<?php echo $this->reservation->customer_address1; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_CUSTOMER_ADDRESS2'); ?>
</label>
<?php echo $this->reservation->customer_address2; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_CUSTOMER_CITY'); ?>
</label>
<?php echo $this->reservation->customer_city; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_CUSTOMER_ZIPCODE'); ?>
</label>
<?php echo $this->reservation->customer_zipcode; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_FIELD_COUNTRY_LABEL'); ?>
</label>
<?php echo $this->reservation->customer_country_name; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_VAT_NUMBER'); ?>
</label>
<?php echo $this->reservation->customer_vat_number; ?>
</li>
</ul>
</div>
</div>
<?php endif; ?>
</div>
</div>
<div class="<?php echo SR_UI_GRID_CONTAINER; ?>">
<div class="<?php echo SR_UI_GRID_COL_12; ?> reservation-detail-box booked_room_extra_info">
<h3>
<?php echo JText::_('SR_ROOM_EXTRA_INFO'); ?>
</h3>
<?php foreach ($this->reservation->reserved_room_details as $room) :
$totalRoomCost = 0;
?>
<div class="<?php echo SR_UI_GRID_CONTAINER ?>">
<div class="<?php echo SR_UI_GRID_COL_6 ?>">
<?php
echo '<h4>' . $room->room_type_name . ' (' . $room->room_label . ')</h4>' ?>
<ul>
<li>
<label>
<?php echo JText::_('SR_GUEST_FULLNAME'); ?>
</label>
<?php echo $room->guest_fullname; ?>
</li>
<li>
<?php if (is_array($room->other_info)) : ?>
<?php foreach ($room->other_info as $info) : ?>
<?php if (substr($info->key, 0, 7) == 'smoking'): ?>
<label>
<?php echo JText::_('SR_' . $info->key) . ($info->value == '' ? JText::_('SR_NO_PREFERENCES') : ($info->value == 1 ? JText::_('SR_YES') : JText::_('SR_NO'))); ?>
</label>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
</li>
<li>
<label>
<?php echo JText::_('SR_ADULT_NUMBER'); ?>
</label>
<?php echo $room->adults_number; ?>
</li>
<li>
<label class="toggle_child_ages">
<?php echo JText::_('SR_CHILDREN_NUMBER'); ?>
<?php echo $room->children_number > 0 ? '<i class="icon-plus-2 fa fa-plus"></i>' : '' ?>
</label>
<?php echo $room->children_number; ?>
<?php if (is_array($room->other_info)) : ?>
<ul class="unstyled" id="booked_room_child_ages" style="display: none">
<?php foreach ($room->other_info as $info) : ?>
<?php if (substr($info->key, 0, 7) == 'smoking'): ?>
<li>
<?php echo JText::_('SR_' . $info->key) . ': ' . ': ' . JText::plural('SR_CHILD_AGE_SELECTION', $info->value); ?>
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</li>
</ul>
</div>
<div class="<?php echo SR_UI_GRID_COL_6; ?>">
<div class="booked_room_cost_wrapper">
<?php
$roomPriceCurrency = clone $baseCurrency;
$roomPriceCurrency->setValue($room->room_price_tax_incl);
$totalRoomCost += $room->room_price_tax_incl;
?>
<ul class="unstyled">
<li>
<label>
<?php echo JText::_('SR_BOOKED_ROOM_COST') ?>
<span class="icon-help"
title="<?php echo strip_tags($room->tariff_title) . ' - ' . strip_tags($room->tariff_description); ?>">
</span>
</label>
<span class="booked_room_cost">
<?php echo $roomPriceCurrency->format(); ?>
</span>
</li>
<?php if (!empty($room->extras)) : ?>
<?php foreach ($room->extras as $extra) :
$extraPriceCurrency = clone $baseCurrency;
$extraPriceCurrency->setValue($extra->extra_price);
$totalRoomCost += $extra->extra_price;
?>
<li>
<label>
<?php echo $extra->extra_name . ' (x' . $extra->extra_quantity . ')' ?>
</label>
<span class="booked_room_extra_cost">
<?php echo $extraPriceCurrency->format(); ?>
</span>
</li>
<?php endforeach; ?>
<?php endif; ?>
<li>
<label>
<strong>
<?php echo JText::_('SR_BOOKED_ROOM_COST_TOTAL'); ?>
</strong>
</label>
<span class="booked_room_cost">
<strong>
<?php
$totalRoomCostCurrency = clone $baseCurrency;
$totalRoomCostCurrency->setValue($totalRoomCost);
echo $totalRoomCostCurrency->format();
?>
</strong>
</span>
</li>
</ul>
</div>
</div>
</div>
<?php endforeach ?>
</div>
</div>
<div class="<?php echo SR_UI_GRID_CONTAINER; ?>">
<div class="<?php echo SR_UI_GRID_COL_12; ?> reservation-detail-box">
<h3>
<?php echo JText::_('SR_RESERVATION_OTHER_INFO'); ?>
</h3>
<?php if (!empty($this->reservation->extras)): ?>
<table class="table table-condensed">
<thead>
<tr>
<th>
<?php echo JText::_('SR_RESERVATION_ROOM_EXTRA_NAME'); ?>
</th>
<th>
<?php echo JText::_('SR_RESERVATION_ROOM_EXTRA_QUANTITY'); ?>
</th>
<th>
<?php echo JText::_('SR_RESERVATION_ROOM_EXTRA_PRICE'); ?>
</th>
</tr>
</thead>
<tbody>
<?php foreach ($this->reservation->extras as $extra) : ?>
<tr>
<td>
<?php echo $extra->extra_name ?>
</td>
<td>
<?php echo $extra->extra_quantity ?>
</td>
<td>
<?php
$extraPriceCurrencyPerBooking = clone $baseCurrency;
$extraPriceCurrencyPerBooking->setValue($extra->extra_price);
echo $extraPriceCurrencyPerBooking->format();
?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php endif; ?>
</div>
</div>
<div class="<?php echo SR_UI_GRID_CONTAINER; ?>">
<div class="<?php echo SR_UI_GRID_COL_12; ?> reservation-detail-box">
<h3><?php echo JText::_('SR_RESERVATION_NOTE_BACKEND'); ?></h3>
<div class="reservation-note-holder">
<?php if (!empty($this->reservation->notes)) : ?>
<?php foreach ($this->reservation->notes as $note) : ?>
<blockquote>
<p>
<?php echo $note->text; ?>
</p>
<small>
<?php echo $note->created_date; ?> by <?php echo $note->username; ?>
</small>
</blockquote>
<?php endforeach; ?>
<?php else: ?>
<div class="alert alert-info">
<?php echo JText::_('SR_CUSTOMER_DASHBOARD_NO_NOTE'); ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
<?php endif; ?>
</div>
</div>
<?php if ($config->get('show_solidres_copyright', 1)) : ?>
<div class="<?php echo SR_UI_GRID_CONTAINER; ?>">
<div class="<?php echo SR_UI_GRID_COL_12; ?> powered">
<p>Powered by <a href="https://www.solidres.com" target="_blank">Solidres</a></p>
</div>
</div>
<?php endif ?>
</div>
PK ! ��� � views/reservation/view.html.phpnu &1i� <?php
/**
------------------------------------------------------------------------
SOLIDRES - Accommodation booking extension for Joomla
------------------------------------------------------------------------
* @author Solidres Team <contact@solidres.com>
* @website https://www.solidres.com
* @copyright Copyright (C) 2013 - 2019 Solidres. All Rights Reserved.
* @license GNU General Public License version 3, or later
------------------------------------------------------------------------
*/
defined('_JEXEC') or die;
JLoader::register('SolidresHelper', JPATH_COMPONENT_ADMINISTRATOR . '/helpers/helper.php');
/**
* Reservation view class
*
* @package Solidres
* @since 0.1.0
*/
class SolidresViewReservation extends JViewLegacy
{
public $reservation = null;
function display($tpl = null)
{
$this->context = 'com_solidres.reservation.process';
$this->config = JComponentHelper::getParams('com_solidres');
$this->showPoweredByLink = $this->config->get('show_solidres_copyright', '1');
$this->app = JFactory::getApplication();
$this->id = $this->app->input->getUint('id', 0);
$this->code = $this->app->input->getString('code', '');
if ($this->id > 0 && !empty($this->code))
{
JModelLegacy::addIncludePath(JPATH_COMPONENT_ADMINISTRATOR . '/models/');
$reservatonModel = JModelLegacy::getInstance('Reservation', 'SolidresModel', array('ignore_request' => true));
$assetModel = JModelLegacy::getInstance('ReservationAsset', 'SolidresModel', array('ignore_request' => true));
$reservation = $reservatonModel->getItem($this->id);
$this->asset = null;
if ($reservation->code == $this->code)
{
$this->reservation = $reservation;
$this->asset = $assetModel->getItem($this->reservation->reservation_asset_id);
$this->lengthOfStay = (int) SRUtilities::calculateDateDiff(
$this->reservation->checkin,
$this->reservation->checkout
);
}
}
$this->layout = $this->app->input->getString('layout', '');
if ($this->layout == 'final')
{
$result = JFactory::getApplication()->triggerEvent('onSolidresReservationFinalScreenDisplay', array($this->app->getUserState($this->context . '.code')));
}
JHtml::stylesheet('com_solidres/assets/main.css', false, true, false);
if ($errors = $this->get('Errors'))
{
throw new Exception(implode("\n", $errors), 500);
}
parent::display($tpl);
}
}
PK ! �H�� � views/reservation/tmpl/final.phpnu &1i� <?php
/**
------------------------------------------------------------------------
SOLIDRES - Accommodation booking extension for Joomla
------------------------------------------------------------------------
* @author Solidres Team <contact@solidres.com>
* @website https://www.solidres.com
* @copyright Copyright (C) 2013 - 2019 Solidres. All Rights Reserved.
* @license GNU General Public License version 3, or later
------------------------------------------------------------------------
*/
/*
* This layout file can be overridden by copying to:
*
* /templates/TEMPLATENAME/html/com_solidres/reservation/final.php
*
* However, occasionally we will need to update template/layout related files and it is the template developers'
* responsibility to update the overridden files (if any) to maintain full compatibility with Solidres.
*
* We do not provide support if any of the overridden files are out of date and are not compatible with Solidres.
*
* @version 2.8.0
*/
defined('_JEXEC') or die;
// Get some data from successful reservation
$reservationCodeUserState = $this->app->getUserState($this->context . '.code', '');
$isNew = $this->app->getUserState($this->context . '.is_new', true);
if (!isset($this->reservation)
&& (!empty($paymentMethodMessage) || !empty($reservationCodeUserState))
) :
$paymentMethodMessage = $this->app->getUserState($this->context . '.payment_method_message');
$bookingRequireApproval = $this->app->getUserState($this->context . '.booking_require_approval');
$finalContent = '';
if (!empty($paymentMethodMessage) || $bookingRequireApproval) :
$finalContent = $paymentMethodMessage;
else:
$customerFullName = $this->app->getUserState($this->context . '.customer_firstname') . ' ' . $this->app->getUserState($this->context . '.customer_lastname');
$msg = $isNew ? 'SR_RESERVATION_COMPLETE' : 'SR_RESERVATION_AMEND_COMPLETE';
$link = $isNew ? JUri::root() : JRoute::_('index.php?option=com_solidres&view=customer');
$finalContent = JText::sprintf($msg,
$customerFullName,
$this->app->getUserState($this->context . '.code'),
$this->app->getUserState($this->context . '.customeremail'),
$this->app->getUserState($this->context . '.reservation_asset_name'),
$link
);
endif;
?>
<?php if (!empty($finalContent)) : ?>
<div id="solidres">
<div class="alert alert-success">
<?php echo $finalContent ?>
</div>
</div>
<?php endif ?>
<?php
$this->app->setUserState($this->context . '.payment_method_message', null);
$this->app->setUserState($this->context . '.payment_method_custom_email_content', null);
elseif (isset($this->reservation)) :
?>
<div id="solidres">
<h3><?php echo JText::_('SR_ASSET_INFO') ?></h3>
<table class="table table-striped">
<thead></thead>
<tbody>
<tr>
<td>
<?php echo JText::_('SR_CONFIRMATION_ASSET_NAME') ?>
</td>
<td>
<?php echo $this->asset->name ?>
</td>
</tr>
<tr>
<td>
<?php echo JText::_('SR_CONFIRMATION_ASSET_ADDRESS') ?>
</td>
<td>
<?php echo $this->asset->address_1 . ', ' .
(!empty($this->asset->city) ? $this->asset->city . ', ' : '') .
(!empty($this->asset->postcode) ? $this->asset->postcode . ', ' : '') .
$this->asset->country_name ?>
</td>
</tr>
<tr>
<td>
<?php echo JText::_('SR_CONFIRMATION_ASSET_EMAIL') ?>
</td>
<td>
<?php echo $this->asset->email ?>
</td>
</tr>
<tr>
<td>
<?php echo JText::_('SR_CONFIRMATION_ASSET_PHONE') ?>
</td>
<td>
<?php echo $this->asset->phone ?>
</td>
</tr>
</tbody>
</table>
<h3><?php echo JText::_('SR_BOOKING_INFO') ?></h3>
<table class="table table-striped">
<thead></thead>
<tbody>
<tr>
<td>
<?php echo JText::_('SR_CONFIRMATION_BOOKING_NUMBER') ?>
</td>
<td>
<?php echo $this->reservation->code ?>
</td>
</tr>
<tr>
<td>
<?php echo JText::_('SR_CONFIRMATION_EMAIL') ?>
</td>
<td>
<?php echo $this->reservation->customer_email ?>
</td>
</tr>
<tr>
<td>
<?php echo JText::_('SR_CONFIRMATION_BOOKING_DETAILS') ?>
</td>
<td>
<?php
if (!isset($this->reservation->booking_type)) :
$this->reservation->booking_type = 0;
endif;
if ($this->reservation->booking_type == 0) :
echo JText::plural('SR_NIGHTS', $this->lengthOfStay);
else :
echo JText::plural('SR_DAYS', $this->lengthOfStay + 1);
endif;
?>,
<?php echo JText::plural('SR_CONFIRMATION_BOOKING_ROOM_NUM', count($this->reservation->reserved_room_details)) ?>
</td>
</tr>
<tr>
<td>
<?php echo JText::_('SR_CONFIRMATION_CHECKIN') ?>
</td>
<td>
<?php echo $this->reservation->checkin ?>
</td>
</tr>
<tr>
<td>
<?php echo JText::_('SR_CONFIRMATION_CHECKOUT') ?>
</td>
<td>
<?php echo $this->reservation->checkout ?>
</td>
</tr>
<tr>
<td>
<?php echo JText::_('SR_CONFIRMATION_TOTAL_PRICE') ?>
</td>
<td>
<?php
JLoader::register('SRCurrency', SRPATH_LIBRARY . '/currency/currency.php');
$baseCurrency = new SRCurrency($this->reservation->total_price_tax_incl - $this->reservation->total_discount, $this->reservation->currency_id);
echo $baseCurrency->format()
?>
</td>
</tr>
</tbody>
</table>
<h3><?php echo JText::_('SR_BOOKING_CONFIRMATION_ROOM_DETAILS') ?> </h3>
<table>
<thead></thead>
<tbody>
<?php
$reservedRoomDetails = $this->reservation->reserved_room_details;
foreach ($reservedRoomDetails as $room) : ?>
<dl>
<dt>
<?php echo $room->room_type_name ?>
(
<?php
echo JText::plural('SR_BOOKING_CONFIRMATION_ADULTS', $room->adults_number) . ' ' . JText::_('SR_AND') . ' ' . JText::plural('SR_BOOKING_CONFIRMATION_CHILDREN', $room->children_number)
?>
)
</dt>
<dd><?php echo JText::_("SR_BOOKING_CONFIRMATION_GUEST_FULLNAME") ?>
: <?php echo $room->guest_fullname ?></dd>
<dd>
<?php
if (is_array($room->other_info)) :
foreach ($room->other_info as $info) :
if (substr($info->key, 0, 7) == 'smoking') :
echo JText::_('SR_BOOKING_CONFIRMATION_' . $info->key) . ': ' . ($info->value == '' ? JText::_('SR_NO_PREFERENCES') : ($info->value == 1 ? JText::_('SR_YES') : JText::_('SR_NO')));
endif;
endforeach;
endif
?>
</dd>
<dd>
<?php
$roomPriceCurrency = clone $baseCurrency;
$roomPriceCurrency->setValue(isset($room->room_price_tax_incl) ? $room->room_price_tax_incl : $room->room_price);
echo JText::_('SR_BOOKING_CONFIRMATION_ROOM_COST') . ': ' . $roomPriceCurrency->format();
?>
</dd>
</dl>
<?php endforeach ?>
</tbody>
</table>
</div>
<?php
endif;PK ! n_z! ! "