欢迎各位兄弟 发布技术文章
这里的技术是共享的
//返回typeurl
function getMyTypeUrl($tid)
{
global $dsql;
$query2 = "SELECT * FROM #@__arctype where id = $tid";
$row = $dsql->GetOne($query2);
$typeurl = GetTypeUrl($row['id'],MfTypedir($row['typedir']),$row['isdefault'],$row['defaultname'],$row['ispart'],$row['namerule2'],$row['moresite'],$row['siteurl'],$row['sitepath']);
return $typeurl;
}