{dede:arclist orderby=pubdate type='commend.' titlelen='26' row='10' channel=3} <LI> [field:global runphp='yes' name=autoindex] $a="<SPAN class='num active'>"; $b="</SPAN>"; $c="<SPAN class='num'>"; if (@me > 3) @me = $c.@me.$b; else @me = $a.@me.$b; [/field:global] <SPAN class=tit><A title="[field:title/]" href="[field:filename/]">[field:title/]</A></SPAN> </LI> {/dede:arclist}
代码实现的效果图: