function GetTopTypename($id) { global $dsql; $row = $dsql-GetOne(SELECT typename,topid FROM dede_arctype WHERE id= $id);