先看效果
在上代码
{dede:arclist orderby=pubdate type=
‘commend.‘
titlelen=
‘26‘
row=
‘10‘
channel=3}
<li>
[field:
global
runphp=
‘yes‘
name=autoindex]
$a
=
"<span class=‘num hui‘>"
;
$b
=
"</span>"
;
$c
=
"<span class=‘num‘>"
;
if
(@me > 3) @me =
$c
[email protected]
$b
;
else
@me =
$a
[email protected]
$b
;
[/field:
global
]
<span
class
=tit><a title=
"[field:title/]"
href=
"[field:filename/]"
>[field:title/]</a></span>
</li>
{/dede:arclist}
时间: 2024-10-12 17:09:45