{dynamic} {if $smarty.session.welcome}

Welcome {$smarty.session.username}! You have successfuly registered at picurls! :)
You can now comment on pics! (More features for regged users coming soon!)

Click here to set some profile information such as email and your website address.

{/if} {/dynamic} {foreach from=$sites key=id item=site name=sites}

{$site.name}

{foreach from=$site.items key=id item=item name=items}
Picture '{$item.title|escape:'html'}'
({$item.comments.count}) {$item.date_added|date_format:'%Y-%m-%d %H:%M:%S'} link
{/foreach}
more pics  
{if $smarty.foreach.sites.iteration % 3 == 0}
{/if} {/foreach}