echo JText::_('COM_MATUKIO_BOOK');
?>
				</th>
			</tr>
			</thead>
			<tbody>
			<?php 
foreach ($this->items as $i => $item) {
    $link = JRoute::_('index.php?option=com_matukio&controller=recurring&task=edit&id=' . $item->id);
    $link_event = JRoute::_('index.php?option=com_matukio&controller=eventlist&task=editEvent&id=' . $item->eventid);
    $begin = JHTML::_('date', $item->begin, MatukioHelperSettings::getSettings('date_format_without_time', 'd-m-Y')) . ", " . JHTML::_('date', $item->begin, MatukioHelperSettings::getSettings('time_format', 'H:i'));
    $end = JHTML::_('date', $item->end, MatukioHelperSettings::getSettings('date_format_without_time', 'd-m-Y')) . ", " . JHTML::_('date', $item->end, MatukioHelperSettings::getSettings('time_format', 'H:i'));
    // Triggers publish / unpublish
    $published_image = MatukioHelperUtilsBasic::getPublishedImageRecurring($item, $i);
    // Triggers canceld / active
    $cancel_image = MatukioHelperUtilsBasic::getCancelImageRecurring($item, $i);
    // Booked places link
    $booked = MatukioHelperUtilsEvents::calculateBookedPlacesRecurring($item)->booked;
    $status_img = MatukioHelperUtilsBasic::getStatusImage($item);
    $available_img = MatukioHelperUtilsBasic::getAvailableImage($item, $booked);
    $bookable_image = MatukioHelperUtilsBasic::getBookableImage($item);
    $rating_image = MatukioHelperUtilsBasic::getRatingImage($item);
    $bplaces = '<a href="index.php?option=com_matukio&view=bookings&event_id=' . $item->id . '" value="' . $booked . '">' . $booked . "</a>";
    ?>
				<tr class="row<?php 
    echo $i % 2;
    ?>
">
					<td>
						<?php 
    echo $this->pagination->getRowOffset($i);