{* Template Name:分页 *} {if $pagebar} {foreach $pagebar.buttons as $k=>$v} {if $pagebar.PageNow==$k} {$k} {else} {$k} {/if} {/foreach} {/if}