帝国cms文章内容页面调用文章tags关键词方法
<div class="article-meta">
<div class="article_tags clearfix">
<p class="l"><i class="fa fa-tags"></i> 标签:</p>
[e:loop={"SELECT A.keyboard, A.classid, A.id, B.tagid,B.tagname FROM phome_ecms_news A JOIN phome_enewstags B ON FIND_IN_SET(B.tagname,A.keyboard) where id='$navinfor[id]'",0,24,0}]
<a href="<?=$public_r[newsurl]?>e/tags/?tagid=<?=$bqr['tagid']?>" target="_blank"><?=$bqr['tagname']?></a>
[/e:loop]
</div>
</div>
本文链接:http://78moban.cn/post/16709.html
版权声明:站内所有文章皆来自网络转载,只供模板演示使用,并无任何其它意义!