<!-- includes/common/auto_pager.inc -->
{if count($page.pager)>0}
<div class="container pager">
<ul>
{if $page.pager.first}<li>{$page.pager.first}</li>{/if}
{if $page.pager.back}<li>{$page.pager.back}</li>{/if}
{foreach from=$page.pager.pages_array item="page_link" key="key" name="pages_array"}
<li>{$page_link}</li>
{/foreach}
{if $page.pager.next}<li>{$page.pager.next}</li>{/if}
{if $page.pager.last}<li>{$page.pager.last}</li>{/if}
</ul>
</div>
{/if}
<!-- end of includes/common/auto_pager.inc -->