{* THIS INCLUDE NEEDS A OBJECT CALLED $paginator IN ORDER TO WORK *}
{if $paginator->hasPrevious} {"Previous"|i18n} {/if}
{if $paginator->hasNext} {"Next"|i18n} {/if}
{if $paginator->showSpan > 0 and $paginator->thisPage > $paginator->showSpan + 1}<< ...{/if}
{foreach from=$paginator->links item=p key=number}
{if $p.show}
{if !$p.this}
{$number}
{else}
{$number}
{/if}
{/if}
{/foreach}
{if $paginator->showSpan > 0 and $paginator->thisPage <= $paginator->linksCnt - $paginator->showSpan}... >>{/if}