echo '<h3 class="related-title">'; echo $this->params->get('title'); echo '</h3>'; } echo '<ul class="related-items row">'; foreach ($items as $id => $item) { if ($item->id != $article_id) { ?> <li class="col-sm-4" > <?php if ((int) $this->params->get('item_image_display', 1)) { ?> <div class="img-fulltext pull-none"> <?php $img = BaseHelper::getArticleImage($item, $_params); //Create placeholder images if (isset($img['src'])) { $src = $img['src']; } if (file_exists($src)) { echo BaseHelper::imageTag($img); } else { if ($is_placehold) { echo yt_placehold($placehold_size['related_items']); } } ?> </div> <?php