<!-- left class -->
<div class="global_box">
    <h1>
        <span class="cn">产品分类</span>
        <span class="en">CLASS</span>
    </h1>
    <div class="box_gap">
        <ul class="l_menus">
            <% foreach (System.Data.DataRow item in _getProductClass(0,"naviid="+naviid+" and parent=0","orderid asc,id desc").Rows) %>
            <% { %>
            <li><a <%=classid==item["id"].ToString()?"class=active":"" %> href="<%=getProductUrl(item["naviid"].ToString(),item["id"].ToString(),brandid) %>"><%=item["name"] %></a>
                <%if(_getProductClass(0,"naviid="+naviid+"","orderid asc,id desc").Rows.Count>0) %>
                <%{ %>
                <ol>
                    <% foreach (System.Data.DataRow sonitem in _getProductClass(0,"parent="+item["id"].ToString()+"","orderid asc,id desc").Rows) %>
                    <% { %>
                        <li><a <%=classid==sonitem["id"].ToString()?"class=active":"" %> href="<%=getProductUrl(sonitem["naviid"].ToString(),sonitem["id"].ToString(),brandid) %>"><%=sonitem["name"] %></a></li>
                    <%} %>
                </ol>
                <%} %>
            </li>
            <%} %>
        </ul>
    </div>
</div>
<!-- end left class -->

<!-- left class -->
<div class="global_box">
    <h1>
        <span class="cn">产品品牌</span>
        <span class="en">BRAND</span>
    </h1>
    <div class="box_gap">
        <ul class="l_menus">
            <% foreach (System.Data.DataRow item in _getProductBrand(0,"naviid="+naviid+" and parent=0","orderid asc,id desc").Rows) %>
            <% { %>
            <li><a <%=brandid==item["id"].ToString()?"class=active":"" %> href="<%=getProductUrl(item["naviid"].ToString(),classid,item["id"].ToString()) %>"><%=item["name"] %></a>
                <%if(_getProductBrand(0,"naviid="+naviid+"","orderid asc,id desc").Rows.Count>0) %>
                <%{ %>
                <ol>
                    <% foreach (System.Data.DataRow sonitem in _getProductBrand(0,"parent="+item["id"].ToString()+"","orderid asc,id desc").Rows) %>
                    <% { %>
                        <li><a <%=brandid==sonitem["id"].ToString()?"class=active":"" %> href="<%=getProductUrl(sonitem["naviid"].ToString(),classid,sonitem["id"].ToString()) %>"><%=sonitem["name"] %></a></li>
                    <%} %>
                </ol>
                <%} %>
            </li>
            <%} %>
        </ul>
    </div>
</div>
<!-- end left class -->