PHP Classes

File: Application/Module/Blog/View/Default/Widget/Featured.tpl

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Application/Module/Blog/View/Default/Widget/Featured.tpl   Download  
File: Application/Module/Blog/View/Default/Widget/Featured.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 827 bytes
 

Contents

Class file image Download
{% extends 'WidgetCustom.tpl' %} {% block content %} {{ Template_Include('blog.css','module_blog') }} <ul class="blog-list-holder"> {% for aBlog in aBlogItems %} <li> <div class="blog-item"> <div class="blog-img"> {%if aBlog.cover_image_url %} <img src="{{ aBlog.cover_image_url }} "/> {% else %} {% endif %} </div> <div class="blog-content"> <div class="blog-title"><a href="{{ aBlog.href }}"> {{ aBlog.blog_title }}</a></div> <div class="blog-description"> {{aBlog.sort_description| length > 75 ? aBlog.sort_description | slice(0, 75) ~ '...' : aBlog.sort_description}} </div> </div> <div class="clear"></div> </div> </li> {% endfor%} </ul> {% endblock %}