简介:灵动标签“24小时”“本周”“本月”排行等target="_blank">实现方式
[e:loop={9,10,0,0,'newstime>UNIX_TIMESTAMP()-86400*1','onclick desc'}]
<li class="clearfix"><em class="blackSquare">
<?=$bqno?>
</em><a href="<?=$bqsr[titleurl]?>" target="_blank" class="link2">
<?=esub($bqr[title],26)?>
</a></li>
[/e:loop] //这是24小时
[e:loop={9,10,0,0,'newstime>UNIX_TIMESTAMP()-86400*7','onclick desc'}]
<li class="clearfix"><em class="blackSquare">
<?=$bqno?>
</em><a href="<?=$bqsr[titleurl]?>" target="_blank" class="link2">
<?=esub($bqr[title],26)?>
</a></li>
[/e:loop] // 这是一周
[e:loop={9,10,0,0,'newstime>UNIX_TIMESTAMP()-86400*30','onclick desc'}]
<li class="clearfix"><em class="blackSquare">
<?=$bqno?>
</em><a href="<?=$bqsr[titleurl]?>" target="_blank" class="link2">
<?=esub($bqr[title],26)?>
</a></li>
[/e:loop] / /这是每月
评论(0)