PHP Classes

File: Application/Module/Blog/View/Default/Controller/Index/Category.tpl

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Application/Module/Blog/View/Default/Controller/Index/Category.tpl   Download  
File: Application/Module/Blog/View/Default/Controller/Index/Category.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: 1,062 bytes
 

Contents

Class file image Download
{% extends App_Template() %} {% block content %} <div id="blog-list-holder"> {{ Template_Include('blog.css','module_blog') }} {% if aBlogs|length > 0 %} <ul class="blog-list-holder"> {% for aBlog in aBlogs %} <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> {% else %} <div class="alert"> {{ Translate('core.no_items_found') }} </div> {% endif%} </div> <div class="paging-right-holder"> {{ paginator.render() }} </div> {% endblock %}