Location: PHPKode > projects > Aedo > templates/__ssk_templates/news/all.tpl
{if $pagination}<p class="pagination">{$pagination}</p>{/if}

{section=news}
<div class="news">
<h3><span>{$news.title}</span>
{if $objUser->GetAuth("newsedit")}<a href="?A=news&amp;id={$news.id}&amp;code=edit"><img src="./templates/{$opt.const.SKIN}/gfx/edit.gif" width="12" height="12" title="{$hide@address.com}" alt="{$hide@address.com}" /></a>{/if}
{if $objUser->GetAuth("newsdel") }<a href="?A=news&amp;id={$news.id}&amp;code=delete"><img src="./templates/{$opt.const.SKIN}/gfx/delete.gif" width="9" height="11" title="{$hide@address.com}" alt="{$hide@address.com}" /></a>{/if}
</h3>
<p class="body">{$news.body}</p>
<p class="author"><a href="?A=profile&amp;uid={$news.author_id}">{$news.author}</a>, {date("d.m.Y", $news.date)}</p>
<p class="comments"><a href="?A=news&amp;id={$news.id}">{$hide@address.com} ({$news.comments})</a></p>
</div>
{/section}

{if $pagination}<p class="pagination">{$pagination}</p>{/if}
Return current item: Aedo