打开/include/extend.func.php文件
最下面加入
function gettopname($aid){global $dsql;$sql = "SELECT tt.typename,tt.typedir from arctiny as a join arctype as t on a.typeid = t.id join arctype as tt on t.topid=tt.id where a.id = $aid" ;$row = $dsql->GetOne($sql);$typename = $row['typename'];$typedir = $row['typedir'];$bodytag = str_replace("{cmspath}",$url,$typedir);return $lit_imglist = $typename;}
arclist调用标签
[field:id function='gettopname(@me)'/]