        <div style="text-align: center">		
        <div class="laypage-main">
		{if:"[page:prevlink]"<>"" and [page:count] > 5}
		  <a href="{aspbbs:func:getPageHeader}_{aspbbs:_GET.id}_[page:prev]{aspbbs:guestConfig.PageSuffix}" class="laypage-prev">上一页</a>
		{end if}
		
		{if:"[page:firstlink]"<>"" and [page:count] > 5}
		  <a href="{aspbbs:func:getPageHeader}_{aspbbs:_GET.id}{aspbbs:guestConfig.PageSuffix}" class="laypage-first" title="首页">首页</a>
		{end if}

		{if:[page:current]>4}
		  <span>…</span>
		{end if}
		
		{looprs:pagenumber len=5}
		  {if: [pagenumber:page]=[page:current]}
			<span class="laypage-curr">[pagenumber:page]</span>
		  {else}
			<a href="{aspbbs:func:getPageHeader}_{aspbbs:_GET.id}_[pagenumber:page]{aspbbs:guestConfig.PageSuffix}">[pagenumber:page]</a>
		  {end if}
		{/looprs:pagenumber}
		  
		{if:([page:count] - [page:current]>2) and ([page:count]>5) }
		  <span>…</span>
		{end if}	

		{if:"[page:lastlink]"<>"" and [page:count] > 5}
		  <a href="{aspbbs:func:getPageHeader}_{aspbbs:_GET.id}_[page:count]{aspbbs:guestConfig.PageSuffix}" class="laypage-last" title="尾页">尾页</a>
		{end if}		
		  
		{if:"[page:nextlink]"<>"" and [page:count] > 5}
		  <a href="{aspbbs:func:getPageHeader}_{aspbbs:_GET.id}_[page:next]{aspbbs:guestConfig.PageSuffix}" class="laypage-next">下一页</a>
		{end if}  
		</div>		  
        </div>