我想问下关于帝国cms灵动标签判断输出某一类的问题,就是附加sql语句,字段等于某值,方法好像没错,但是输出结果却没有对应的按类输出,下面是我的代码
<ul>
[e:loop={"2,3",0,0,0,""liansai='$navinfor[liansai]'", and unix_timestamp(livetime)>=$time-9600","liansai='ftitle'",'istop DESC,newstime ASC'}]
<?php
$lanmubisai9.='
</span><span class="language-xml"><span class="hljs-tag"><<span class="hljs-name">time</span>></span>'.date('m-d',strtotime($bqr[livetime])).'</time>
$bqsr[titleurl].'">'.$bqr[liansai].'
$bqsr[titleurl].'" class="lanmu_bisai23">
$bqr[zdimg].'" alt="">
'.$bqr[zd].'
VS
'.$bqr[kd].'
$bqr[kdimg].'" alt="">
$bqsr[titleurl].'" class="lanmu_bisai241">
高清视频直播
'
?>
[/e:loop]
<?php
$t=12-$k;
?>
[e:loop={'2,3',0,0,0,'',"liansai='$navinfor[liansai]'",'newstime DESC'}]
<li class="lanmubisai9">
<img src="http://zlbuman.com/images/gray-clock.png" alt="" class="lanmu_bisai21">
<div class="lanmu_bisai22">
<time><?=date('m-d',strtotime($bqr[livetime]))?></time>
<div class="lanmu_bisai221"><a href="<?=$bqsr[titleurl]?>"><?=$bqr[liansai]?></a></div>
<a href="<?=$bqsr[titleurl]?>" class="lanmu_bisai23">
<div class="lanmu_bisai231">
<div class="lanmu_bisai2311"><img src="<?=$bqr[zdimg]?>" alt=""></div>
<span><?=$bqr[zd]?></span>
</div>
<div class="lanmu_bisai232"><p>VS</p></div>
<div class="lanmu_bisai233">
<span><?=$bqr[kd]?></span>
<div class="lanmu_bisai2331"><img src="<?=$bqr[kdimg]?>" alt=""></div>
</div>
</a>
<div class="lanmu_bisai24">
<a href="<?=$bqsr[titleurl]?>" class="lanmu_bisai241">
<img src="http://zlbuman.com/images/play.png" alt="">
<p>高清视频直播</p>
</a>
</div>
</div>
</li>
[/e:loop]
<?=$lanmubisai9?>
</ul>
```、
下面是要达成的效果
下面是我现在的效果