if ((int) $_params->get('item_date_display', 1) == 1) { ?> <span class="related-item-date"><?php echo JHtml::date($item->created, 'd.m.Y'); ?> </span> <?php } ?> <h3 class="related-item-title"> <a href="<?php echo $item->link; ?> " <?php echo BaseHelper::parseTarget($_params->get('item_link_target')); ?> > <?php echo $item->title; ?> </a> </h3> <?php if ((int) $_params->get('item_date_display', 1) == 2) { ?> <div class="related-item-date"><i class="fa fa-clock-o"></i><?php echo JHtml::date($item->created, 'd.m.Y'); ?> </div>
<?php } } ?> </ul> <?php if ($options->show_all_items == 1) { ?> <div class="view-all"> <a href="<?php echo $cat->link; ?> " <?php echo BaseHelper::parseTarget($options->target); ?> ><?php echo $options->view_all_text; ?> </a> </div> <?php } ?> </div> <?php } ?>