<div class="bread-crumb">
    <ol class="container">
        <li><a href="{url:/index/index}">首页</a> </li>
        <li><a href="{url:/index/article_list}">文章中心 </a></li>
    </ol>
</div>
<div class="container">
<div class="mt10 clearfix" style="position: relative;">
    <div class="sidebar fl" style="width:240px;">
        <h2 class="header">文章中心</h2>
        <div class="box mt20">
            <ul class="menu-list">
                {query:name=category order=sort desc}
                <li><a {if:$id==$item['id']}class="current"{/if}  href="{url:/index/article_list/id/$item[id]}">{echo:TString::msubstr($item['name'],0,13)}<span class="l-triangle"></span></a></li>
                {/query}
            </ul>
        </div>
    </div>
    <div class="content" style="margin-left: 262px;">
      <div class="help-content p20" style="min-height:200px;">
        <ul class="list">
            {query:name=article where=$where order=id desc page=1 id=$article}
            <li><span class="fr">{$item['publish_time']}</span><a href="{url:/index/article/id/$item[id]}">{$item['title']}</a></li>
            {/query}
        </ul>
        <div class="page-nav">{echo:$article->pageBar()}</div>
    </div>
</div>
</div>
</div>
