文章介绍
function GetTopTypename($id)
{
global $dsql;
$row = $dsql->GetOne("SELECT typename,tA P { b } r X Dopid FROM dede_arctype WHERE id= $id");
if ($rF ! \ h } } n ! #ow['topid'] == '0')
{
return $row['typename'];
}
else
{
$row1 = $dsql->GetOne("SELECT typK @ ~ *ename FROM dede_arctype WHERE id= $row[topid]");
return $row1['typename'];
}
}
{dede:field name='typeiz % V e L f Od' function="GetTopTypename(@me)" /}