?> <?php if ($this->params->get('show_articles')) { ?> <span class="list-hits badge badge-info pull-right"> <?php echo JText::sprintf('COM_NEWSFEEDS_NUM_ARTICLES_COUNT', $item->numarticles); ?> </span> <?php } ?> <span class="list pull-left"> <strong class="list-title"> <a href="<?php echo JRoute::_(NewsFeedsHelperRoute::getNewsfeedRoute($item->slug, $item->catid)); ?> "> <?php echo $item->name; ?> </a> </strong> </span> <?php if ($this->items[$i]->published == 0) { ?> <span class="label label-warning"><?php echo JText::_('JUNPUBLISHED'); ?> </span>
<?php endif; ?> </tr> </thead> <?php endif; ?> <tbody> <?php foreach ($this->items as $i => $item) : ?> <?php if ($this->items[$i]->published == 0) : ?> <tr class="system-unpublished cat-list-row<?php echo $i % 2; ?>"> <?php else: ?> <tr class="cat-list-row<?php echo $i % 2; ?>" > <?php endif; ?> <td class="item-title"> <a href="<?php echo JRoute::_(NewsFeedsHelperRoute::getNewsfeedRoute($item->slug, $item->catid)); ?>"> <?php echo $item->name; ?></a> </td> <?php if ($this->params->get('show_articles')) : ?> <td class="item-num-art"> <?php echo $item->numarticles; ?> </td> <?php endif; ?> <?php if ($this->params->get('show_link')) : ?> <td class="item-link"> <a href="<?php echo $item->link; ?>"><?php echo $item->link; ?></a> </td> <?php endif; ?>