dede根据任意栏目id获取顶级栏目名称的自定义函数
//获取顶级栏目名 function GetTopTypenameById($id) { global $dsql; $row = $dsql-GetOne(SELECT typename,topid FROM idea_arctype WHERE id= $id); if ($row[topid] == 0) { return $row[typename]; } else { $row1 = $dsql-GetOne(SELECT typename FROM ide...