<tbody> <?php if (!$this->rows) { ?> <tr align="center"><td colspan="<?php echo count($this->columns); ?> "><?php echo JText::_('COM_REDEVENT_NO_EVENTS'); ?> </td></tr> <?php } else { $k = 0; foreach ($this->rows as $row) { $isover = redEVENTHelper::isOver($row) ? ' isover' : ''; //Link to details $detaillink = JRoute::_(RedeventHelperRoute::getDetailsRoute($row->slug, $row->xslug)); ?> <tr class="sectiontableentry<?php echo $k + 1 . $this->params->get('pageclass_sfx') . ($row->featured ? ' featured' : ''); echo $isover; ?> " itemscope itemtype="http://schema.org/Event"> <?php foreach ($this->columns as $col) { ?> <?php switch ($col) {