<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)%>

  <dl>

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

    <%set DataTable prolisttt=get_content_list({strtoint({cdr[id]})},4,"","listorder desc,id desc")%>

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

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

    <%/foreach%>

  </dl>

  <%/foreach%>

  <script>



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



        </script>

</div>

