织梦cms调用栏目的地址(非标签调用)
推荐学习:织梦cms
调动栏目的地址,静态时为静态访问地址,动态浏览时为动态访问地址。
$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); //获得栏目地址}
以上就是织梦cms怎么调用栏目的地址的详细内容。