1.文章页调用评论数 small{dede:field.id runphp=yes}$dsql = new dedesql(false);$dsql - SetQuery(Select count(id) as c from dede_feedback where aid=.@me);$row = $dsql - getone();@me=$row[c];{/dede:field.id}/small个评论 2.文章页调用收藏数...
$row = $dsql-GetOne(select * from `dede_arctype` where id = 1); //1为栏目的id $typeurl = GetTypeUrl($row[typeid],MfTypedir($row[typedir]),$row[isdefault],$row[defaultname], $row[ispart],$row[namerule2],$row[moresite],$row[siteurl],$row[sitepath])...