{pages('record_count')}{lang(nrecord)}/{pages('page_count')}{lang(npage)} {if pages('up')} {lang(uppage)} {/if} {loop pages() $p} {if $p==$page} {$p} {else} {$p} {/if} {/loop} {if pages('down')} {lang(downpage)} {/if}