smarty foreach iteration number code example
Example: smarty foreach
{foreach from=$myArray item=foo}
<li>{$foo}</li>
{/foreach}
OR
{foreach $aZoneRecord as $aZoneRecordKey => $aZoneRecordVal}{/foreach}
{foreach from=$myArray item=foo}
<li>{$foo}</li>
{/foreach}
OR
{foreach $aZoneRecord as $aZoneRecordKey => $aZoneRecordVal}{/foreach}