{*<?php exit();?>*}
<div class="block article_tree">
	<div class="head"><span>文章分类</span></div>
	<div class="main">
		{foreach from=$article_tree name=article_tree item=item}
		{if $item.grade == 1}{$grade = 1}{elseif $item.grade == 2}{$grade = 2}{else}{$grade = 3}{/if}
		<div class="cat{$grade}"><a href="{url channel='article' cat=$item.id}">{$item.name}</a></div>
		{/foreach}
	</div>
</div>
<!-- 红头船 -->