<?php if ($this->amount == 0 && !empty($showPaymentInformation)) { //The event is free because of discount, so we need to hide payment information ?> $('.payment_information').css('display', 'none'); <?php } ?> }) }); var siteUrl = "<?php echo EventbookingHelper::getSiteUrl(); ?> "; <?php echo os_payments::writeJavascriptObjects(); ?> function updateCart(){ location.href = '<?php echo JRoute::_(EventbookingHelperRoute::getViewRoute('cart', $this->Itemid)); ?> ' ; } </script> <?php echo JHtml::_('form.token'); ?> </form> </div>
if (!count($events)) { ?> <td align="center" class="tableb table-none" colspan="3"> <strong> <?php echo JText::_('EB_NO_EVENT_ON_THIS_DAY'); ?> </strong> </td> <?php } else { ?> <td class="tableb table-none" align="left" colspan="3"> <?php foreach ($events as $event) { $url = JRoute::_(EventbookingHelperRoute::getEventRoute($event->id, 0, $this->Itemid)); ?> <table width="100%"> <tr> <td class="tablea"> <a href="<?php echo $url; ?> "><?php echo JHtml::_('date', $event->event_date, $timeFormat, null); ?> </a> </td> <td class="tableb"> <div class="eventdesc"> <h4><a href="<?php
$btnInverseClass = $bootstrapHelper->getClassMapping('btn-inverse'); $iconOkClass = $bootstrapHelper->getClassMapping('icon-ok'); $iconRemoveClass = $bootstrapHelper->getClassMapping('icon-remove'); $iconPencilClass = $bootstrapHelper->getClassMapping('icon-pencil'); $iconDownloadClass = $bootstrapHelper->getClassMapping('icon-download'); $iconCalendarClass = $bootstrapHelper->getClassMapping('icon-calendar'); $iconMapMakerClass = $bootstrapHelper->getClassMapping('icon-map-marker'); $return = base64_encode(JUri::getInstance()->toString()); ?> <div id="eb-events" class="eb-events-timeline"> <?php $activateWaitingList = $config->activate_waitinglist_feature; for ($i = 0, $n = count($events); $i < $n; $i++) { $event = $events[$i]; $canRegister = EventbookingHelper::acceptRegistration($event); $detailUrl = JRoute::_(EventbookingHelperRoute::getEventRoute($event->id, @$category->id, $Itemid)); if ($event->event_capacity > 0 && $event->event_capacity <= $event->total_registrants && $activateWaitingList && !@$event->user_registered && $event->number_event_dates > 0) { $waitingList = true; } else { $waitingList = false; } ?> <div class="eb-event-container"> <div class="eb-event-date-container"> <div class="eb-event-date <?php echo $btnInverseClass; ?> "> <div class="eb-event-date-day"> <?php echo JHtml::_('date', $event->event_date, 'd', null);
$width = (int) $config->map_width; if (!$width) { $width = 800; } $height = (int) $config->map_height; if (!$height) { $height = 600; } EventbookingHelperJquery::colorbox('eb-colorbox-map', $width . 'px', $height . 'px', 'true', 'false'); } if (count($rows)) { ?> <div class="eb_event_list row" width="100%"> <?php foreach ($rows as $row) { ?> <div class="col-md-3 eb_event"> <div class="eb_event_inner"> <div class="eb_event_img"><img src="media/com_eventbooking/images/<?php echo $row->thumb; ?> " alt="<?php echo $row->title; ?> " /></div> <h4><a href="<?php echo JRoute::_(EventbookingHelperRoute::getEventRoute($row->id, 0, $itemId)); ?> " class="eb_event_link"><?php echo $row->title;
</thead> <tfoot> <tr> <td colspan="6"> <?php echo $this->pagination->getPagesLinks(); ?> </td> </tr> </tfoot> <tbody> <?php $k = 0; for ($i = 0, $n = count($this->items); $i < $n; $i++) { $row = $this->items[$i]; $link = JRoute::_(EventbookingHelperRoute::getEventRoute($row->id, 0, $this->Itemid)); ?> <tr class="<?php echo "row{$k}"; ?> "> <td> <a href="<?php echo $link; ?> " target="_blank"> <?php echo $row->title; ?> </a> <span class="action-link">
} ?> <div id="eb-categories"> <div class="owl-carousel"> <?php for ($i = 0, $n = count($categories); $i < $n; $i++) { $category = $categories[$i]; if (!$config->show_empty_cat && !$category->total_events) { continue; } ?> <div class="eb-category"> <div class="eb-box-heading"> <h3 class="eb-category-title"> <a href="<?php echo JRoute::_(EventbookingHelperRoute::getCategoryRoute($category->id, $Itemid)); ?> " class="eb-category-title-link"> <?php echo $category->name; if ($config->show_number_events) { ?> <small>( <?php echo $category->total_events; ?> <?php echo $category->total_events > 1 ? JText::_('EB_EVENTS') : JText::_('EB_EVENT'); ?> )</small> <?php }
/** * @version 2.0.3 * @package Joomla * @subpackage Event Booking * @author Tuan Pham Ngoc * @copyright Copyright (C) 2010 - 2015 Ossolution Team * @license GNU/GPL, see LICENSE.php */ // no direct access defined('_JEXEC') or die; JHtml::_('behavior.modal', 'a.eb-modal'); $item = $this->item; $url = JRoute::_(EventbookingHelperRoute::getEventRoute($item->id, 0, $this->Itemid), false); $canRegister = EventbookingHelper::acceptRegistration($item); $socialUrl = JUri::getInstance()->toString(array('scheme', 'user', 'pass', 'host')) . JRoute::_(EventbookingHelperRoute::getEventRoute($item->id, 0, $this->Itemid)); if ($this->config->use_https) { $ssl = 1; } else { $ssl = 0; } $bootstrapHelper = $this->bootstrapHelper; $iconPencilClass = $bootstrapHelper->getClassMapping('icon-pencil'); $iconOkClass = $bootstrapHelper->getClassMapping('icon-ok'); $iconRemoveClass = $bootstrapHelper->getClassMapping('icon-remove'); $iconDownloadClass = $bootstrapHelper->getClassMapping('icon-download'); $btnClass = $bootstrapHelper->getClassMapping('btn'); $return = base64_encode(JUri::getInstance()->toString()); ?> <div id="eb-event-page" class="eb-container eb-event"> <div class="eb-box-heading clearfix">