<!-- left menus -->
<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 _getDownloadClass(0,"naviid="+naviid+"","orderid asc,id desc").Rows) %>
            <% { %>
            <li><a <%=classid==item["id"].ToString()?"class=active":"" %> href="<%=getDownloadUrl(item["naviid"].ToString(),item["id"].ToString()) %>"><%=item["name"] %></a>
                <%if(_getDownloadClass(0,"naviid="+naviid+"","orderid asc,id desc").Rows.Count>0) %>
                <%{ %>
                <ol>
                    <% foreach (System.Data.DataRow sonitem in _getDownloadClass(0,"parent="+item["id"].ToString()+"","orderid asc,id desc").Rows) %>
                    <% { %>
                        <li><a <%=classid==sonitem["id"].ToString()?"class=active":"" %> href="<%=getDownloadUrl(sonitem["naviid"].ToString(),sonitem["id"].ToString()) %>"><%=sonitem["name"] %></a></li>
                    <%} %>
                </ol>
                <%} %>
            </li>
            <%} %>
        </ul>
    </div>
</div>
<!-- end left menus -->