Location: PHPKode > projects > Jarida > jarida_1.0/templates/default/index.tpl
<table width="100%">
{section name=articles loop=$articles}
<tr><td>
<table width="100%" cellspacing="1px">
<tr><td class="article_title" colspan="2">
{$articles[articles].title|capitalize}</td></tr>
<tr><td class="article_body" colspan="2">
{if $articles[articles].photo_file}
{html_image file=`$articles[articles].photo_file` width=`$articles[articles].dimensions.width` height=`$articles[articles].dimensions.height` align=left}
{/if}
{$articles[articles].body|nl2br}
</td></tr>
<tr class="article_date"><td align="left">{$articles[articles].date|date_format:"%b %e, %Y :: %T"}</td>
<td align="right"><a href="./article.php?id={$articles[articles].id}">{$lang.article_comments}</a> ({$articles[articles].numComments})</td></tr>
</table>
</td></tr>
{/section}
</table></td>
Return current item: Jarida