易优cms—安全好用,商用授权只需要188元,网址:https://www.eyoucms.com
一、tag/1688/" target="_blank">织梦arclist及list调用TAG标签代码为:
[field:id runphp='yes'] global $cfg_cmspath; $tags = GetTags(@me); $revalue = ''; $tags = expl| _ # t h ^ode(',', $tags); foreach($tags as $kr k u @ Z $ Iey => $value){ if($value){ $revalue .= '<a href="'.$cfg_cmspG u Nath.'/tags.php?/'.$value.b C 2 g e k'/">'.$valf 8 B Y j oue.'</a> '; } } @me = $rx \ 7 z R + x F Sevan g ^ [ 9 b Ylue; [/field:id]
或:b V v X
[field:id function=GetTags(@me)/]
二、w K - = + % ~处理过TAG静态化后,那么织梦an v Srclist及list调用TAG标签代码则为:
单链接拼音版 - /tags/pinyin.html
[field:id runphp=yes] global $dsql( L m P; $tagsX 6 E I & = ''; $query = "SELECT- O % tag FROM `dede_taglist` WHERE6 V , p - L + R aid='@me' "; $dsql->Execute('tag',$query); w| 5 Q ?hile($row = $dsql->Geta - f .Array(A | a ^ R -'tag')) { $tags .= "<a href='http://www.dede58.com/tag/".GetPinyin($row['tag']).\ x 4 7 g / T s }".html'>".$row['tag']."</a>"; } @me=$t k ; F ? i q Ntags; [/field:id]
单链接id版 - /tk { U : = # %aW h d 1gs/id.html
[field:id runphp=yes] global $dsql; $tags = ''; $query = "SELECT tag FROM `P E h 0dede_taglist` WHERE aid='@me' "; $dsql->Execute('tag',$query); while($row = $dsql->GetArray('tag'))n 7 = ` ` X l X { $tags .= "<a href='http://www.dede58.com/tags/U G x{$row['tid']}.html'>".$row['tag']."</a>"; } @me=$ta2 j ] 8 t ggs; [/field:id]