欢迎光临
我们一直在努力

织梦dede导航栏目顶级和二级判断二级输出不同url

织梦dede导航栏目顶级和二级判断二级输出不同url

2021-07-15分类:技术教程评论(0)
{dede:channelartlist row=7typeid=top currentstyle=current}<a href=http://www.sjztyd.com/a/dedejq/”{dede:field name=typeid runphp=yes}global $dsql;$row=$dsql->GetOne(“select * from `58pic_arctype` where reid=@me and ishidden<>1 order by sortrank asc limit 0,1”);if(is_array($row)) @me=javascript:;; else @me=GetOneTypeUrlA($dsql->GetOne(“select * from `58pic_arctype` where id=@me and ishidden<>1″));{/dede:field}”>{dede:field.typename/}{dede:channel type=son row=1 noself=yes}{/dede:channel}{dede:channel type=sonrow=1noself=yes}{/dede:channel} {dede:channel type=son noself=yes} ><span>[field:typename/]

赞(0)
未经允许不得转载:梦马网络 » 织梦dede导航栏目顶级和二级判断二级输出不同url
分享到

评论 抢沙发

登录

找回密码

注册