vpsVPS口碑网

织梦tag标签当前列表地址(动静态)

动态

{dede:field.title runphp=yes}global $cfg_cmsurl;@me = $cfg_cmsurl."/tags.php?/".urlencode(@me)."/";{/dede:field.title}

静态(生成拼音形式)

{dede:field.title runphp=yes}global $dsql,$cfg_cmsurl;$tag = @me;$arcRow = $dsql->GetOne("Select * From `dede_tagindex` where tag like '$tag' ");$pinyin_title = GetPinyin(stripslashes($arcRow["tag"]));$pinyin_title = str_replace("?","",$pinyin_title);$pinyin_title = str_replace(":","",$pinyin_title);@me = $cfg_cmsurl."/tag/".$pinyin_title."_".$arcRow["id"]."_1.html";{/dede:field.title}

郑重声明:本站部分文章来自网络,如有侵权请联系站长。【加入VPS口碑QQ群聊

宝塔