?> <div class="eventCat" id="cat<?php echo $cat->id; ?> "> <?php if (isset($cat->color) && $cat->color) { echo '<span class="colorpic" style="background-color: ' . $cat->color . ';"></span>'; } echo $cat->catname . ' (' . $countcatevents[$cat->id] . ')'; ?> </div> <?php } } } } } ?> </div> </div> <div class="clr"></div> <div class="poweredby"> <?php echo JemOutput::footer(); ?> </div> </div>
</div> <div class="subcategorieslist"> <?php foreach ($row->subcats as $sub) : ?> <strong> <a href="<?php echo JRoute::_(JemHelperRoute::getCategoryRoute($sub->slug, $this->task)); ?>"> <?php echo $this->escape($sub->catname); ?></a> </strong> <?php echo '(' . ($sub->assignedevents != null ? $sub->assignedevents : 0) . (--$i ? '),' : ')'); ?> <?php endforeach; ?> </div> <?php endif; ?> <!--table--> <?php if ($this->params->get('detcat_nr', 0) > 0) { $this->catrow = $row; echo $this->loadTemplate('table'); } ?> <?php endforeach; ?> <!--pagination--> <div class="pagination"> <?php echo $this->pagination->getPagesLinks(); ?> </div> <!--copyright--> <div class="copyright"> <?php echo JemOutput::footer( ); ?> </div> </div>