{
global $dsql;
$row = $dsql->GetOne("SELECT typename,topid FROM dede_arctype WHERE id= $id");
if ($row['topid'] == '0')
{
return $row['typename'];
}
else
{
$row1 = $dsql->GetOne("SELECT typename FROM dede_arctype WHERE id= $row[topid]");
return $row1['typename'];
}
}
{dede:field name='typeid' function="GetTopTypename(@me)" /}
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!