帝国cms文章内容页如何调用文章TAGS标签?
帝国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>
帝国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>