$row = $dsql->GetOne("select * from `dede_arctype` where id = 1");  //1为栏目的id
$typeurl = GetTypeUrl($row['typeid'],MfTypedir($row['typedir']),$row['isdefault'],$row['defaultname'],
    $row['ispart'],$row['namerule2'],$row['moresite'],$row['siteurl'],$row['sitepath']);
echo $typeurl;die;