|
dedecms织梦模板调动栏目的地址,静态时为静态访问地址,动态浏览时为动态访问地址。
$sql="SELECT * FROM dede_arctype where topid=0 and ishidden = 0 order by sortrank asc,id asc";
$dsql->SetQuery($sql);
$dsql->Execute();
$topids= array();
while($arr = $dsql->GetArray())
{
$typeurl = GetOneTypeUrlA($arr); //获得栏目地址
} |
|