<div class="side-bar pull-left">

  <div class="side-bar-tit">

    <%set DataTable pro=get_category_info({topid})%>

    <%loop dr pro%>

    <h2> <i></i>{dr[catname]}</h2>

    <span>{dr[enname]}</span>

    <%/loop%>

  </div>

  <%set DataTable categoryList=get_category_list(topid)%>

  <%foreach(DataRow cdr in categoryList.Rows)%>

  <%set DataTable bcategoryList=get_category_list({strtoint({cdr[id]})})%>

  <dl>

    <dt><i></i><a href="<%linkurl(1,{cdr[id]})%>" title="{cdr[catname]}">{cdr[catname]}</a></dt>

    <%foreach(DataRow dr in bcategoryList.Rows)%>

    <dd class="wjdh-menu-{dr[id]}"> <i></i><a href="<%linkurl(1,{dr[id]})%>" title="{dr[catname]}">{dr[catname]}</a></dd>

    <%/foreach%>

  </dl>

  <%/foreach%>

  <script>



                $(".wjdh-menu-{catid}").addClass("cur");



        </script>

  

</div>

