{pboot:if('{page:rows}' > 0)}
<div class="page">
<a href="{page:index}" {pboot:2if('{page:current}' == 1)}class="hide"{/pboot:2if}>首頁</a>
<a href="{page:pre}" {pboot:2if('{page:current}' == 1)}class="hide"{/pboot:2if}>上一頁</a>
{page:numbar}
<a href="{page:next}" {pboot:2if('{page:current}' == '{page:count}')}class="hide"{/pboot:2if}>下一頁</a>
<a href="{page:last}" {pboot:2if('{page:current}' == '{page:count}')}class="hide"{/pboot:2if}>尾頁</a>
</div>
{else}
<div class="page">暫無內容</div>
{/pboot:if}