万户资源科技
万汇资源微信公众号

微信扫码有惊喜!

获取指定栏目的第n级栏目:{getcatxcatid($n,$catid)}

lwting 2016-01-12 技术
{wanhuicms $now_catid=$catid;}
{if !ishaschildren($now_catid)}
{wanhuicms $cn_catid=getcatxcatid(2,$now_catid);}
{/if}

            <div class="item_f">
                <p><strong>系统:</strong></p>
                <ul class="clearfix">
                <!-- <li><a href="{caturl()}" {if ishaschildren($now_catid)}class="on"{/if}>不限</a></li> -->
                
                {wanhui:category parentid="66" row="5" mod="1,2,4" type="son"}
                    

                    <li><a href="{field:url}" {if $now_catid==field:id || $cn_catid==field:id}class="on"{/if}>{field:catname}</a></li>
                {/wanhui:category}

                </ul>
            </div>
            <div class="item_f">
            
                <p><strong>户型:</strong></p>

                <ul class="clearfix">
                    <li><a {if !$cn_catid}class="on"{/if}>不限</a></li>
                    
                    {wanhui:category parentid="$cn_catid" row="6" type="son"}
                    <li><a href="{field:url}" {if $now_catid==field:id}class="on"{/if}>{field:catname}</a></li>
                    {/wanhui:category}
                    
                </ul>

            </div>

2016-01-12_172528.jpg

文章关键词
category
栏目标签
qq qq tel
服务热线:

134-1954-9128