 <div class="nav_active ftstyle" id="nav_active" style="top: -45px; display: none;">
    <ul>
        
     <?php  $cdi=0; ?>
        <volist name="cate_data" id="bcate" mod="12">
          <if condition="($bcate['pid'] eq 0) AND ($cdi lt 19)">
            <?php $cdi++; ?>
            
            <li class="<if condition="($cid eq $bcate['id']) OR ($cate_data[$cid]['pid'] eq $bcate['id'])">active
              </if>
              ">
            <a href="{:U('index/cate', array('cid'=>$bcate['id']))}" title="{$bcate.name}"><i></i>{$bcate.name}</a></li>
            
              </if>
        </volist>  
        </div>