dede织梦arclist标签调用tag标签的方法:[field:id runphp=yes] global $dsql; $tags = ; $query = SELECT tag FROM `yx_taglist` WHERE aid=@me ; $dsql-Execute(tag,$query); while($row = $dsql-GetArray(tag)) { $tags .= a href=/tags.php?/.urlencode...
dedecms获取当前栏目id方法,代码如下: {dede:field.typeid runphp=yes function=GetTopid(@me)} $dsql = new DedeSql(false); $a=SELECT id FROM 5just_arctype where id=@me; $arcRow = $dsql-GetOne($a); @me=$arcRow[id]; {/dede:field.typeid}...