<div class="page_bar">
{if $list['pobj']['max'] > 1}
    <a href="{url:$list['pobj']['url'] . '-'.$list['pobj']['var'].'-%d' , 1 }" class="page-bar-a {$list['pobj']['pn'] == 1 ? 'active' : ''}"> 1 </a>
    {foreach $list['pobj']['link'] $k $v}
    <a href="{if is_numeric($v)}{url:$list['pobj']['url'] . '-'.$list['pobj']['var'].'-%d' , $v }{else}javascript:void(0);{/if}" class="page-bar-a {$list['pobj']['pn'] == $v ? 'active' : ''}"> {$v} </a>
    {/foreach}
    <a href="{url:$list['pobj']['url'] . '-'.$list['pobj']['var'].'-%d' , $list['pobj']['max'] }" class="page-bar-a {$list['pobj']['pn'] == $list['pobj']['max'] ? 'active' : ''}"> {$list['pobj']['max']} </a>
{/if}
{if $list['pobj']['pn'] < $list['pobj']['max']}
    <a href="{url:$list['pobj']['url'] . '-'.$list['pobj']['var'].'-%d' , $list['pobj']['pn'] + 1 }" class="next">下一页</a>
{/if}
</div>