<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

获取dedecms织梦的循环次数,条件判断

时间:2020-12-15

1.获取dedecms织梦的循环次数,关键是[field:global.autoindex/]这个标签

{dede:arclist typeid='3' row='8'}

  [field:global.autoindex/]

{/dede:arclist}

2.在循环时做条件判断。例:当循环到第2条时增加一个

{dede:arclist typeid='3' row='8'}

   <</code>li class="m[field:global.autoindex/]">

      <</code>href="[field:arcurl/]"><</code>img src="[field:litpic/]" /></</code>a>

   </</code>li>

[field:global name=autoindex runphp='yes']

 (@me!=4)? @me="":@me="<</code>li class='on'></</code>li>";

[/field:global]

{/dede:arclist}

0
首页
案例
关于
联系