导航菜单

帝国文章相关关键词如何调用

1.指定关键词

[e:loop={'news',10,3,0,"keyboard like '%长沙水泵厂%' and id<>$navinfor[id]",'rand() desc'}] 

<li><a href="<?=$bqsr['titleurl']?>" target="_self"><?=esub($bqr[title],60)?></a></li> [/e:loop]

如果放到列表页调用不出就用下面这个标签

[e:loop={'news',10,3,0,"keyboard like '%长沙水泵厂%' ",'rand() desc'}] 

2.根据关键词调用和没有设计中随机调用,还有简介调用

 [e:loop={'news',10,3,0,"keyboard like '%$navinfor[keyboard]%' and id<>$navinfor[id]",'rand() desc'}] <a href="<?=$bqsr['titleurl']?>" target="_self"><b><?=esub($bqr[title],60)?></b></a> <br><span><?=esub($bqr[smalltext],130,'...')?></span></li>[/e:loop]

3. 关键词调用,然后没设关键词调用,看了下调用最新的

[e:loop={'news',10,3,0,"keyboard like '%$navinfor[keyboard]%' and id<>$navinfor[id]",''}] 
收藏此文 赞一个 ( )
留言与评论(共有 0 条评论)
   
验证码: