.xian {
BORDER-TOP: #333 1px dotted; MARGIN-TOP: 3px; FONT-SIZE: 0px; OVERFLOW: hidden; LINE-HEIGHT:
0; HEIGHT: 3px
}
.bg {
BORDER-TOP: #ffffff 0px dotted; MARGIN-TOP: 0px; FONT-SIZE: 0px; OVERFLOW: hidden; LINE-
HEIGHT: 0; HEIGHT: 0px
}
</style>
{dede:arclist titlelen=80}
<li>
<span>[field:pubdate function=strftime(‘%y-%m-%d’,@me)/]</span> [field:typelink
function=’str_replace(“a “,”a “,@me)’/]<a href=”[field:arcurl/]”>[field:title/]
</a></li>
[field:global runphp=’yes’ name=autoindex]
$a=”<li class=’bg’>”;
$b=”</li>”;
$c=”<li class=’xian’>”;
if ((@me % 5) == 0) @me = $c.@me.$b;
else @me = $a.@me.$b;
[/field:global]
{/dede:arclist}
红色部分 除5倍数,隔5条显示 割线, 可以随意改 10 8 6 都可以随自己喜欢
隔10行插入横线
{dede:arclist typeid=’1′ titlelen=’40’ row=’20’ limit=”” }
·<a href=”[field:arcurl /]” title=”[field:title function=’htmlspecialchars(@me)’/]”
target=_blank>[field:title function=”cn_substr(@me,48)”/]</a><br>
[field:global name=autoindex runphp=”yes”]
if(@me%10==0)@me=”<hr /><br />”;
else @me=””;
[/field:global]
{/dede:arclist}