{* Pagination template
@param int pages_count - count of pages
@param int current_page - number of current page
@param string base_vars - GET vars string
*}
{if $pages_count gt 1}
{if $current_page gt 1}
<<{"str_previous"|translate}
{/if}
{section name=pagination start=1 loop=$pages_count+1 step=1}
{if $current_page neq $smarty.section.pagination.index}
{$smarty.section.pagination.index}
{else}
{$smarty.section.pagination.index}
{/if}
{/section}
{if $current_page lt $pages_count}
{"str_next"|translate}>>
{/if}
{/if}