{foreach from=$index item=page} {/foreach}