|
根据当前栏目ID,调用当前栏目静态链接的方法
$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;
获取当前栏目ID,在获取当前栏目静态链接。 |
|