<!DOCTYPE html>
<html>
{include file="header.html"}

<body>
<div class="page" data-role="page">
	{include file="common.html"}
	 
	<header>
  <div class="left-box"> <a class="hd-lbtn back"   href="#"><span>返回</span></a> </div>
  <h1>{if $catrs.cname}{$catrs.cname}{else}资讯列表{/if}</h1>
  <div class="right-box"> <a href="javascript:;" class="panel-btn"><i class="fa fa-th f16"></i></a> </div>
</header> 
    <div class="main-body">
<p>
<div class="btn-group">
  <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
    文章分类
    <span class="caret"></span>
  </a>
  <ul class="dropdown-menu">
{foreach item=t from=$artcat}
<li><a href="index.php?m=art_cat&catid={$t.catid}">{$t.cname}</a></li>
{if $t.child}{/if}  
{foreach item=c from=$t.child}
<li><a href="index.php?m=art_cat&catid={$c.catid}">{$c.cname}</a></li>
{/foreach}
{/foreach}
  </ul>
</div>
</p>


{if $artlist}
<ul class="nav nav-tabs nav-stacked">
<li><a href="javascript:;">{$catrs.cname}文章列表::</a></li>
<?php mod_artlist('artlist',$_GET['catid']);?>
{foreach item=t from=$artlist}
<li><a href="index.php?m=art&id={$t.id}">{$t.title}</a></li>
{/foreach}
</ul>
{else}
<p>该分类下暂无文章</p>
{/if}


{if $pagelist}<p>{$pagelist}</p>{/if}

</div>
{include file="footer.html"}
</div>
</body>
</html>


