{include file=header.html} {getrecentposts num=10 assign=posts} {foreach from=$posts item=post} {if $post.newday}