<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">

观点

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

织梦如何在列表语句中做if判断

时间:2020-12-09


1 {dede:list pagesize='4'
2                                     [field:array  runphp='yes'
3                                     if(@me['zhiweishuxing']=='热招职位'
4                                     
5     @me = (strlen(@me['title'])>20) ? ('<li><a href='.@me['arcurl'].'>'.cn_substr(@me['title'],30).'...'.'</a></li>') :('<li><a href='.@me['arcurl'].'>'.@me['title'].'</a></li>');                                  
6                                             
7                                         }        
8                                      [/field:array]          
9
0