{include file="header.html"} {if $featured neq 0} {/if}
{section name=x loop=$categories} {if $categories[x].index_view eq 1} {if $categories[x].id|videos_in_category:5 neq 0}

{$categories[x].category}view all

{foreach name=x from=$categories[x].id|videos_in_category:$theme_home_category_videos_number key=id item=videos} {if $smarty.foreach.x.first}
{else}
{$videos.thumbnail|video_thumbnail:'product-image':1} {$videos.title|html_decode|truncate:40}
  • {$videos.datetime|get_since}
  • {$videos.duration|SecToMin}
{/if} {/foreach}
{if $smarty.section.x.first}
{$content_ad}
{/if} {/if} {/if} {/section}
{include file="sidebar.html"}
{include file="footer.html"}