Code: Select all
{foreach from=$items item="item"}
{if $item.end > $smarty.now}
<h3>{$item.short}</h3>
{/if}
{/foreach}
Code: Select all
{if $item.end < $smarty.now}
What am I doing wrong?
Code: Select all
{foreach from=$items item="item"}
{if $item.end > $smarty.now}
<h3>{$item.short}</h3>
{/if}
{/foreach}
Code: Select all
{if $item.end < $smarty.now}