帝国cms tag调取大全
时间:10-23
作者:
调取所有tag标签 [e:loop={"select * from [!db.pre!]enewstags order by tagid",0,24,0}]
<span><a href="<?=$public_r[newsurl]?>e/tags/?tagid=<?=$bqr['tagid'
<span><a href="<?=$public_r[newsurl]?>e/tags/?tagid=<?=$bqr['tagid'
调取所有tag标签
[e:loop={"select * from [!db.pre!]enewstags order by tagid",0,24,0}]
<span><a href="<?=$public_r[newsurl]?>e/tags/?tagid=<?=$bqr['tagid']?>" target="_blank"><?=$bqr['tagname']?></a></span>
[/e:loop]
或是你自己根据tagid来显示
[e:loop={"select * from [!db.pre!]enewstags order by tagid",0,24,0}]
<li><a href="<?=$public_r[newsurl]?>e/tags/?tagid=<?=$bqr['tagid']?>" target="_blank"><?=$bqr['tagname']?></a></li>
[/e:loop]
读取当前信息的TAG
[!--infotags--] 这个标签在之前6.6是正常的,但是升级7.0以后好像就没有这个标签了
7.0以后的版本 内容页用这个 [showtags]'selfinfo',0,0,'',0,'s','',0,'',''[/showtags]