Viewing {math equation=$limit*$cur_page assign=viewing} {if $prepage == 0 } {math equation=$prepage+1} {else} {math equation = $prepage*$limit+1 }{/if} - {if $viewing > $grand_total}{$grand_total}{else}{$viewing}{/if} of {$grand_total} | ||
{if $prepage neq 0}Previous{/if} | {section name=allpages start=1 loop=$pages} {if $cur_page == $smarty.section.allpages.index } {$smarty.section.allpages.index} {else} {$smarty.section.allpages.index} {/if} {/section} | {if $nextpage neq $smarty.section.allpages.index && $pages!=1}Next{/if} |
{if $prepage neq 0}Previous{/if} | {section name=allpages start=1 loop=$pages} {if $cur_page == $smarty.section.allpages.index } {$smarty.section.allpages.index} {else} {$smarty.section.allpages.index} {/if} {/section} | {if $nextpage neq $smarty.section.allpages.index && $pages!=1}Next{/if} |