{include file='header.tpl'} {* $Id: browse_blogs.tpl 241 2009-11-14 02:48:21Z phil $ *}
{lang_print id=643} {lang_print id=1500032} {lang_print id=1500034} {lang_print id=1500033}
{* DISPLAY PAGINATION MENU IF APPLICABLE *} {if $maxpage > 1}
{if $p != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p != $maxpage}› »{else}› »{/if}
{if $p_start == $p_end} {lang_sprintf id=184 1=$p_start 2=$total_blogentries} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_blogentries} {/if}
Go to Page:
{/if}
{section name=blogentry_loop loop=$blogentries}
{assign var='blogentry_date' value=$datetime->time_since($blogentries[blogentry_loop].blogentry_date)}{capture assign="created"}{lang_sprintf id=$blogentry_date[0] 1=$blogentry_date[1]}{/capture} {lang_sprintf id=1500039 1=$created 2=$url->url_create("profile", $blogentries[blogentry_loop].blogentry_author->user_info.user_username) 3=$blogentries[blogentry_loop].blogentry_author->user_displayname}
{if !empty($blogentries[blogentry_loop].blogentrycat_languagevar_id) || !empty($blogentries[blogentry_loop].blogentrycat_title)}
{if !empty($blogentries[blogentry_loop].blogentrycat_languagevar_id)}{capture assign=blogentrycat_title}{lang_print id=$blogentries[blogentry_loop].blogentrycat_languagevar_id}{/capture}{else}{assign var=blogentrycat_title value=$blogentries[blogentry_loop].blogentrycat_title}{/if} Category: {if !$blogentries[blogentry_loop].blogentrycat_user_id}{/if} {$blogentrycat_title|truncate:48} {if !$blogentries[blogentry_loop].blogentrycat_user_id}{/if}
{/if}
{lang_sprintf id=1500041 1=$blogentries[blogentry_loop].blogentry_views}, {lang_sprintf id=1500042 1=$blogentries[blogentry_loop].blogentry_totalcomments}
{$blogentries[blogentry_loop].blogentry_body|strip_tags|truncate:140:"...":true}
{cycle name="blogret" values=",
"} {/section}
{if $p != 1}« ‹{else}« ‹{/if} | {foreach from=$for item=foo} {$foo} {/foreach} | {if $p != $maxpage}› »{else}› »{/if}
{if $p_start == $p_end} {lang_sprintf id=184 1=$p_start 2=$total_blogentries} {else} {lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_blogentries} {/if}
Go to Page:
{include file='footer.tpl'}