?> </a> </h4> <?php /*Image after title*/ if ($links_show_image && $links_image_pos == 'bottom' && $list[$i]->image) { ?> <img class="ns2-image" style="<?php echo $links_image_float; ?> ;<?php echo $links_image_margin ? "margin:{$links_image_margin}" : ""; ?> " src="<?php echo modNSSP2CommonHelper::thumb($list[$i]->image, $links_thumb_width, $links_thumb_height, $links_thumb_ratio, $uniqid); ?> " alt="<?php echo $list[$i]->title; ?> " title="<?php echo $list[$i]->title; ?> " /> <?php if ($links_linked_image) { ?> <a href="#" class="zoom-in photo" data-title="Title 1"></a> <a href="<?php
<?php /*Author, Category, date*/ if ($article_show_author || $article_date_format || $article_show_category): ?> <div class="ns2-tools"> <?php /*Show Author*/ if ($article_show_author): ?> <div class="ns2-author"> <?php echo '<span>' . JText::_('MODNS2_WRITTEN') . '</span>' . $list[$i]->author; ?> </div> <?php endif; ?> </div> <?php endif; ?> <?php /*Image position after title*/if ($article_show_image && $article_image_pos=='bottom' && $list[$i]->image): ?> <img class="ns2-image <?php echo $list[$i]->category; ?>" style="<?php echo $article_image_float ?>;<?php echo ($article_image_margin) ? "margin:$article_image_margin" : "" ?>" src="<?php echo modNSSP2CommonHelper::thumb($list[$i]->image, $article_thumb_width, $article_thumb_height, $article_thumb_ratio, $uniqid) ?>" alt="<?php echo $list[$i]->title ?>" title="<?php echo $list[$i]->title ?>" /> <?php if ($article_linked_image): ?> <a href="<?php echo $list[$i]->image; ?>" class="zoom-in photo" data-title="Title 1"></a> <a href="<?php echo $list[$i]->link; ?>" class="external-link"></a> <?php endif; ?> <?php endif; ?> <?php /*Ratings*/ if ($article_show_ratings): ?> <div class="ns2-rating"> <div class="ns2-rating-bar"> <div style="width:<?php echo $list[$i]->rating ?>%"></div> </div> </div> <?php endif; ?>