discuz怎么才能改成在后台添加导航后左右分栏,条件如何判断?类似将下面这段ul代码右浮动 20
<ul><!--{loop$_G['setting']['navs']$nav}--><!--{if$nav['available']&&(!$nav['level']|...
<ul> <!--{loop $_G['setting']['navs'] $nav}--> <!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li {if $mnid == $nav[navid]}class="a" {/if}$nav[nav]></li><!--{/if}--> <!--{/loop}--></ul><ul style="float:right;"> <!--{loop $_G['setting']['navs'] $nav}--> <!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li {if $mnid == $nav[navid]}class="a" {/if}$nav[nav]></li><!--{/if}--> <!--{/loop}--></ul>
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询