';
$act=($tid==$rootId)?' active':'';
$h.='
'.$root['typename'].'';
$dsql->Execute('cattab',"SELECT id,typename FROM `#@__arctype` WHERE reid='$rootId' AND ishidden=0 ORDER BY sortrank ASC");
while($s=$dsql->GetArray('cattab')){
$act=($tid==$s['id'])?' active':'';
$h.='
'.$s['typename'].'';
}
$h.='
';
$DedeMeValue=$h;
}else{ $DedeMeValue=''; }
{/dede:field}