{if count($links)}
全 {$max_page}ページ
{if $current_page > 1}
<<
< PREV
{else}
< PREV
{/if}
{foreach from=$links item=link}
{if $link == $current_page}
|
{$link}
{else}
|
{$link}
{/if}
{/foreach}
|
{if $max_page > $current_page}
NEXT >
>>
{else}
NEXT >
{/if}
{/if}