<div class="topmenu_calendar row"> <div class="left_calendar col-sm-7"> <div class="today"> <?php $startWeekTime = strtotime("{$this->first_day_of_week}"); $endWeekTime = strtotime("+6 day", strtotime($this->first_day_of_week)); echo $daysInWeek[date('w', $startWeekTime)] . '. ' . date('d', $startWeekTime) . ' ' . $monthsInYear[date('n', $startWeekTime)] . ', ' . date('Y', $startWeekTime) . ' - ' . $daysInWeek[date('w', $endWeekTime)] . '. ' . date('d', $endWeekTime) . ' ' . $monthsInYear[date('n', $endWeekTime)] . ', ' . date('Y', $endWeekTime); ?> </div> </div> <?php if ($this->showCalendarMenu) { ?> <div class="col-sm-5"> <?php echo EventbookingHelperHtml::loadCommonLayout('common/calendar_navigation.php', array('Itemid' => $this->Itemid, 'config' => $this->config, 'layout' => 'weekly', 'currentDateData' => $this->currentDateData)); ?> </div> <?php } ?> </div> <div class="wraptable_calendar"> <table cellpadding="0" cellspacing="0" width="100%" border="0"> <tr class="tablec"> <td class="previousweek"> <a href="<?php echo JRoute::_("index.php?option=com_eventbooking&view=calendar&layout=weekly&date=" . date('Y-m-d', strtotime("-7 day", strtotime($this->first_day_of_week))) . "&Itemid={$this->Itemid}"); ?>
?> </h1> <?php if ($this->category->description != '') { ?> <div class="eb-description"><?php echo $this->category->description; ?> </div> <?php } ?> </div> <?php } echo EventbookingHelperHtml::loadCommonLayout('common/categories.php', array('categories' => $this->items, 'categoryId' => $this->categoryId, 'config' => $this->config, 'Itemid' => $this->Itemid)); if ($this->pagination->total > $this->pagination->limit) { ?> <div class="pagination"> <?php echo $this->pagination->getPagesLinks(); ?> </div> <?php } ?> </div> <script> (function($){
btn-inverse" href="<?php echo JRoute::_('index.php?option=com_eventbooking&task=register.group_registration&event_id=' . $event->id . '&Itemid=' . $Itemid, false, $ssl); ?> "><?php echo JText::_('EB_REGISTER_GROUP_WAITING_LIST'); ?> </a> </li> <?php } } if ($config->show_save_to_personal_calendar) { ?> <li> <?php echo EventbookingHelperHtml::loadCommonLayout('common/save_calendar.php', array('item' => $event, 'Itemid' => $Itemid)); ?> </li> <?php } $registrantId = EventbookingHelper::canCancelRegistration($event->id); if ($registrantId !== false) { ?> <li> <a class="<?php echo $btnClass; ?> btn-default" href="javascript:cancelRegistration(<?php echo $registrantId; ?> )"><?php
echo JText::_('EB_VIEW_MAP'); ?> </a><a class="view_map_link" href="<?php echo $getDirectionLink; ?> " target="_blank"><?php echo JText::_('EB_GET_DIRECTION'); ?> </a></h1> <form method="post" name="adminForm" id="adminForm" action="<?php echo JRoute::_('index.php?option=com_eventbooking&view=location&location_id=' . $this->location->id . '&Itemid=' . $this->Itemid); ?> "> <?php if (count($this->items)) { echo EventbookingHelperHtml::loadCommonLayout('common/events_default.php', array('events' => $this->items, 'config' => $this->config, 'Itemid' => $this->Itemid, 'nullDate' => $this->nullDate, 'param' => $param, 'ssl' => $ssl, 'width' => $width, 'height' => $height, 'viewLevels' => $this->viewLevels, 'bootstrapHelper' => $this->bootstrapHelper)); } else { ?> <p class="text-info"><?php echo JText::_('EB_NO_EVENTS_FOUND'); ?> </p> <?php } if ($this->pagination->total > $this->pagination->limit) { ?> <div class="pagination"> <?php echo $this->pagination->getPagesLinks(); ?> </div>