dede 列表的多行分割线

dedecms

2010-04-24 15:01



































{dede:field name='keywords' runphp='yes'}
                $GLOBALS['auto'] = 1;
                {/dede:field}
<ul>
    {dede:arclist row='24' orderby='id' titlelen='60' typeid='2' getall='1' }
      [field:aid runphp='yes']  
           @me = ($GLOBALS['auto']%6==0 ) ? ('<li class="line"></li><li>') : '<li>';
            $GLOBALS['auto']++;
      [/field:aid]    
        <span>[field:sortrank function=date('y-n-j',@me)/]</span>·<a href="[field:arcurl/]" >[field:title function=cn_substr(@me,40)/]</a></li>
      {/dede:arclist}
</ul>