{$listpages[ix].author|avatarize}
{/if}
{if $listpages[ix].show_topline eq 'y' and $listpages[ix].topline}
{$listpages[ix].topline|escape}
{/if}
{object_link type=article id=$listpages[ix].articleId url=$smarty.capture.href title=$listpages[ix].title}
{if $listpages[ix].show_subtitle eq 'y' and $listpages[ix].subtitle}{$listpages[ix].subtitle|escape}
{/if}
{if ($listpages[ix].show_author eq 'y')
or ($listpages[ix].show_pubdate eq 'y')
or ($listpages[ix].show_expdate eq 'y')
or ($listpages[ix].show_reads eq 'y')
}
{if $listpages[ix].show_author eq 'y'}
{if $listpages[ix].authorName}
{else}
{/if}
{if $listpages[ix].show_pubdate eq 'y' or $listpages[ix].show_expdate eq 'y' or $listpages[ix].show_reads eq 'y'}
-
{/if}
{/if}
{if $listpages[ix].show_pubdate eq 'y'}
{tr}Published{/tr} {$listpages[ix].publishDate|tiki_short_datetime}
{if $listpages[ix].show_expdate eq 'y' or $listpages[ix].show_reads eq 'y'}
-
{/if}
{/if}
{if $listpages[ix].show_expdate eq 'y'}
{tr}Expires{/tr} {$listpages[ix].expireDate|tiki_short_datetime}
{if $listpages[ix].show_reads eq 'y'}
-
{/if}
{/if}
{if $listpages[ix].show_reads eq 'y'}
({$listpages[ix].nbreads} {tr}Reads{/tr})
{/if}
{if $listpages[ix].comment_can_rate_article eq 'y' && $prefs.article_user_rating eq 'y'
&& ($listpages[ix].perms.tiki_p_ratings_view_results eq 'y' or $tiki_p_admin eq 'y')}
- {rating_result_avg id=$listpages[ix].articleId type=article}
{/if}
{/if} {if $author ne $user and $listpages[ix].comment_can_rate_article eq 'y' and empty({$listpages[ix].body}) and !isset($preview) and $prefs.article_user_rating eq 'y' and ($listpages[ix].perms.tiki_p_rate_article eq 'y' or $listpages[ix].perms.tiki_p_admin_cms eq 'y')}
{rating_result id=$listpages[ix].articleId type=article}
{/if}
{tr}Rating:{/tr}
{repeat count=$listpages[ix].rating}
{icon name='star'}
{/repeat}
{if $listpages[ix].rating > $listpages[ix].entrating}
{icon name='star-half'}
{/if}
({$listpages[ix].rating}/10)
{/if}
{* No flex in sm screen, to prevent skinny text column *}
{if isset($fullbody) and $fullbody eq "y"}
{if $listpages[ix].show_image eq 'y'}
{if $listpages[ix].useImage eq 'y'}
{if $listpages[ix].hasImage eq 'y'}
{$style=''}
0 and ($largefirstimage neq 'y' or not $smarty.section.ix.first)}
&width={$listpages[ix].list_image_x}
{elseif $listpages[ix].image_x > 0}
&width={$listpages[ix].image_x}
{/if}
&cache=y"
{if $listpages[ix].list_image_y > 0 and ($largefirstimage neq 'y' or not $smarty.section.ix.first)}
{$style=$style|cat:"max-height:"|cat:$listpages[ix].list_image_y|cat:"px;"}
{elseif $listpages[ix].image_y > 0}
{$style=$style|cat:"max-height:"|cat:$listpages[ix].image_y|cat:"px;"}
{/if}
style="{$style}"
>{/strip}
{else}
{* Intentionally left blank to allow user add an image from somewhere else through the img tag and no other extra image *}
{/if}
{else}
{if isset($topics[$listpages[ix].topicId].image_size) and $topics[$listpages[ix].topicId].image_size > 0}
{/if}
{/if}
{/if}
{$listpages[ix].parsed_heading}
{$listpages[ix].parsed_body}
{/if}
{if ($listpages[ix].size > 0) or (($prefs.feature_article_comments eq 'y') and ($listpages[ix].perms.tiki_p_read_comments eq 'y'))}
-
{if ($listpages[ix].perms.tiki_p_read_article eq 'y' and $listpages[ix].heading_only ne 'y' and (!isset($fullbody) or $fullbody ne "y"))}
{if ($listpages[ix].size > 0 and !empty($listpages[ix].body))}
- {* named to be similar to for
{icon name="book-reader"} {tr}Read More{/tr}
{if ($listpages[ix].show_size eq 'y')}
- ({$listpages[ix].size} {tr}bytes{/tr}) {/if} {/if} {/if} {if ($prefs.feature_article_comments eq 'y') and ($listpages[ix].perms.tiki_p_read_comments eq 'y') and ($listpages[ix].allow_comments eq 'y')}
- 0} class="mark"{/if}> {if $listpages[ix].comments_cant == 0 and $listpages[ix].perms.tiki_p_post_comments == 'y'} {if !isset($actions) or $actions eq "y"} {icon name="comment"} {tr}Add Comment{/tr} {/if} {elseif $listpages[ix].perms.tiki_p_read_comments eq 'y'} {if $listpages[ix].comments_cant == 1} {icon name="comment"} {tr}1 comment{/tr} {else} {icon name="comments"} {$listpages[ix].comments_cant} {tr}comments{/tr} {/if} {/if} {/if}
{if $prefs.feature_multilingual eq 'y' and $listpages[ix].perms.tiki_p_edit_article eq 'y'}
{include file='translated-lang.tpl' object_type='article' trads=$listpages[ix].translations articleId=$listpages[ix].articleId}
{/if}
{/if}