getpaging实例

实例1(akcms主站正在用的静态页分页,演示地址:http://jimifan.com/dynamic/

<{getpaging
  baseurl="$fullpath/index-[page].htm"
  page=$page
  firstpage="$fullpath/index.htm"
  previoustemplate="<a href='[url]' style='color:red;'>上一页</a>"
  noprevioustemplate="<span>上一页</span>"
  nexttemplate="<a href='[url]' style='color:red;'>下一页</a>"
  nonexttemplate="<span>下一页</span>"
  firstpagetemplate="<a href='index.htm'>[1]</a>"
  currentfirstpagetemplate="<a href='index.htm' style='color:red;'>[1]</a>"
  lasttemplate="<a href='[url]' style='color:red;'>尾页</a>"
  firsttemplate="<a href='[url]' style='color:red;'>首页</a>"
  alreadyfirsttemplate="<span>首页</span>"
  alreadylasttemplate="<span>尾页</span>"
  paging="[first] [previous] [paging] [next] [last]"
  template=" <a href='[url]'>[[page]]</a> "
  currenttemplate=" <span style='color:red;'>[page]</span> "
 }>