Beispiel #1
0
    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 
Beispiel #2
0
$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);
Beispiel #3
0
    $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;
Beispiel #4
0
				</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">
Beispiel #5
0
                echo $currentDay['d'];
                ?>
</div>
						<?php 
                foreach ($currentDay["events"] as $key => $event) {
                    $color = EventbookingHelper::getColorCodeOfEvent($event->id);
                    $eventIds[] = $event->id;
                    if ($config->show_thumb_in_calendar && $event->thumb && file_exists(JPATH_ROOT . '/media/com_eventbooking/images/thumbs/' . $event->thumb)) {
                        $thumbSource = JUri::root(true) . '/media/com_eventbooking/images/thumbs/' . $event->thumb;
                    } else {
                        $thumbSource = JUri::root(true) . '/media/com_eventbooking/assets/images/calendar_event.png';
                    }
                    ?>
							<div class="date day_cell">
								<a class="eb_event_link" href="<?php 
                    echo JText::_(EventbookingHelperRoute::getEventRoute($event->id, isset($categoryId) ? $categoryId : 0, $Itemid));
                    ?>
" title="<?php 
                    echo $event->title;
                    ?>
" <?php 
                    if ($color) {
                        echo 'style="background-color:#' . $color . '";';
                    }
                    ?>
>
									<img border="0" align="top" title="<?php 
                    echo $event->title;
                    ?>
" src="<?php 
                    echo $thumbSource;
Beispiel #6
0
/**
 * @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">