9 lines
398 B
Smarty
9 lines
398 B
Smarty
<h2>News</h2>
|
|
{foreach from=$news item=n}
|
|
<h3>{$n.title}</h3>
|
|
<p class="post-by">Written by {$n.username} on {$n.date}</p>
|
|
{if $n.picture!=""}<div class="newsimage"><img class="newsimage" src="/newsimages/{$n.picture}" alt="{$n.name}"/></div>{/if}
|
|
{$n.text}
|
|
{if $edituser!=""}<br /><font size="1pt">(zuletzt editiert am {$editdate}, von {$edituser})</font><br />{/if}
|
|
{foreachelse}
|
|
{/foreach}
|