dede arclist channel channelArtlist循环次数

来源:互联网 发布:球员数据对比 编辑:程序博客网 时间:2024/05/24 06:41
//arclist里从1开始,,,channel从0开始。。。???麻痹的。。

{dede:arclist flag='c' row='6' orderby='id' orderway="desc" typeid='4'} <LI class=slideshowItem> <A id=thumb_xixi-0[field:global.autoindex/] href="[field:arcurl/]"><IMG src="[field:litpic/]" alt="[field:title /]" width=86 height=48></A> </LI> {/dede:arclist}

<ul>{dede:arclist flag='h' row='4' orderby='pubdate' orderway="desc" typeid='59' titlelen='30'}<li [field:global.autoindex runphp='yes']if(@me==1){@me='class="cur"';}else{@me='';}
[/field:global.autoindex]><a href="[field:arcurl/]"><img src="[field:litpic function='thumb(@me,266,266)'/]" height="54" /></a></li>{/dede:arclist}</ul>



{dede:channel type='son' typeid='4'}
<li><span>[field:global.autoindex/]</span><a href="[field:typeurl/]">[field:typename/]</a></li>
      {/dede:channel}
</ul>


{dede:channel  row='6' typeid=7 }         
         [field:global.autoindex runphp='yes']       
          if(@me==2 || @me==5)@me = ' <li style="border:none;">';
          else @me = ' <li>';
         [/field:global.autoindex]         
        <a href='http://liulina.1212.blog.163.com/blog/[field:typelink/]'>[field:typename/]</a> </li>
       {/dede:channel}


<ul>
{dede:channel type='son' typeid='4'}
<li><span>[field:global.autoindex  runphp='yes']       
          @me=@me+1;
[/field:global.autoindex]    
</span><a href="[field:typeurl/]">[field:typename/]</a></li>
      {/dede:channel}
</ul>


{dede:channelArtlist typeid='69'}
<div class="ny_casect"
{dede:global name='itemindex' runphp='yes'}
if(@me>1){
@me='style="display:none"';
}else{@me='';}
{/dede:global}  >     
         
<ul>
 {dede:arclist limit="0,20"}
 <li><a href="[field:arcurl /]" class="case_a01"><img src="[field:litpic /]" height="134" /></a><p><a href="[field:arcurl /]">[field:title /]</a></p></li>
{/dede:arclist}
<div class="clear"></div>
</ul>
</div>
{/dede:channelArtlist}
0 0
原创粉丝点击