织梦前台的菜单怎么换 织梦dede导航栏目顶级和二级判断二级输出不同url

软件教程 2024-02-12 07:09:21

拷贝{dede:channelartlist row=7typeid=top currentstyle=current}<li><a href=http://blog.aftss.cn/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}"><span>{dede:field.typename/}</span>{dede:channel type=son row=1 noself=yes}<i class="touch-arrow-down"></i>{/dede:channel}</a>{dede:channel type=son row=1 noself=yes}<ul>{/dede:channel} {dede:channel type=son noself=yes} <li><a href=http://blog.aftss.cn/a/dedejq/"[field:typelink/]"><span>[field:typename/]</span></a></li>{/dede:channel} {dede:channel type=son row=1 noself=yes} </ul>{/dede:channel} </li>{/dede:channelartlist}

发表回复