Archives

{foreach item=row from=$articles} {if $currentYear != $row->a_year}

{$row->a_year}

{assign var='currentYear' value=`$row->a_year`} {/if} {if $currentMonth != $row->a_month}

{$row->a_date|date_format:'%b'}

{assign var='currentMonth' value=$row->a_month} {/if}
{$row->a_formatted_date}
{/foreach}