      <tr class="noprint"><th{if $columns_count>1} colspan="{$columns_count}"{/if}>Pages:</th></tr>
      <tr class="noprint"><td class="record"{if $columns_count>1} colspan="{$columns_count}"{/if}>
        <form method="get" action="">
          {insert_form type="hidden" name="subpage1" value=$smarty.get.subpage1}
          {if isset($smarty.get.subpage2)}{insert_form type="hidden" name="subpage2" value=$smarty.get.subpage2}{/if}
{include file=$webdoc.template_dir|cat:"sort_hidden.tpl"}
{include file=$webdoc.template_dir|cat:"filter_hidden.tpl"}
{include file=$webdoc.template_dir|cat:"columns_hidden.tpl"}
          Page number: {if $pages.page>1}<a href="{$pages.url_page_prev}">{/if}<<{if $pages.page>1}</a>{/if} | {foreach from=$pages.list_pages key=key item=page}{if $page!=$pages.page}<a href="{$pages.list_pages_url.$key}">{/if}{$page}{if $page!=$pages.page}</a>{/if} | {/foreach} {if $pages.page<$pages.pages_total}<a href="{$pages.url_page_next}">{/if}>>{if $pages.page<$pages.pages_total}</a>{/if} {insert_form type="text" size="4" name="page" value=$pages.page}<br />
          Records to page: {foreach from=$pages.list_records key=key item=records}{if $records!=$pages.records}<a href="{$pages.list_records_url.$key}">{/if}{$records}{if $records!=$pages.records}</a>{/if}{if $records!=$pages.last_list_records} | {/if}{/foreach} {insert_form type="text" size="4" name="records" value=$pages.records} {insert_form type="submit" name="button_send" value="Send"}
        </form>
      </td></tr>
