PHP判断语句 if($bqno==1) $style= 灵动标签调用数字排序号

[e:loop={'selfinfo',10,0,1,'','onclick DESC'}]
<?php $style = ''; if($bqno==1) $style="on"; ?>
<li class="linnm_<?=$bqno?> <?=$style?>" >
<div class="info_1">
<span class="num"><?=$bqno?></span><a href="/game/8618.html" title="奔跑吧少年" target="_blank">
<p>奔跑吧少年</p><i class="bq">评分:<em class="pfc">8.0</em></i>
</a>
</div>
<div class="info_2">
<span><?=$bqno?></span>
<a href="/game/8618.html" title="奔跑吧少年" target="_blank" class="img"><img src="/uploadfile/2019/1220/20191220031317323.png"></a>
<a href="/game/8618.html" title="奔跑吧少年" target="_blank" class="name">奔跑吧少年</a>
<div class="bb">
<p>269.92MB</p>
<div class="miaoshu">休闲益智</div>
</div>
<a href="/game/8618.html" title="奔跑吧少年" target="_blank" class="downl2"></a>
</div>
</li>
[/e:loop]

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注