{template 'phpcms','header'}
<!--begin main-->
<div id="main">
  <div id="main_l" class="bdr_1">
    <!--位置导航-->
    <div id="position"><a href="">首页</a>{areapos($A[areaid],"area.php?areaid=\$areaid&catid=$catid")}</div>
    <div class="bdr_2">
      <ul class="pic_list">
		{tag_信息地区页面图文列表}
      </ul>
    </div>
		<ul class="text_list text_list_f14">
		{php $arrchildid = $CATEGORY[$catid][arrchildid]}
		{if $arrchildid}
		<!--{get sql="SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `phpcms_content` WHERE status=99 AND `areaid` IN ($arr_areaid) AND `catid` IN ($arrchildid) ORDER BY contentid DESC" rows="10" page="$page"}-->
			<li>{if $showdate}<span class="date">{date('Y-m-d',$r[updatetime])}</span>{/if}
			<a href="{$CATEGORY[$r[catid]][url]}" class="catname">[{$CATEGORY[$r[catid]][catname]}]</a>
			<a href="{$r[url]}" target="{$target}">{if $r[style]}<span class="{$r[style]}">{str_cut($r[title], 60)}</span>{else}{str_cut($r[title], 60)}{/if}</a></li>
		<!--{/get}-->
		</ul>
		{if $pages}<div id="pages">{$pages}</div>{/if}
		{/if}
  </div>
  <div id="main_r">
    <h4>按子地区浏览</h4>
    <div id="area">
	{loop $areas $a}<a href="area.php?areaid={$a[areaid]}&catid={$catid}">{$a[name]}</a>{/loop}
	</div>
   <h4>信息分类</h4>
    <div id="info_nav">
	{loop $catlist $c}
      <dl>{php $cols=1;}
        {if $c[parentid]==$catid}<dt><a href="{$c[url]}">{$c[catname]}</a></dt>
			<dd>{loop $catlist $cat}
			{if $cols<4 && $cat[parentid]==$c[catid]}<a href="{$c[url]}">{$c[catname]}</a>{/if}
			{php $cols++;}
			{/loop}<a href="{$c[url]}">>></a></dd>
		{/if}
      </dl>
	{/loop}
    </div>
    
  </div>
</div>
<!--end main-->

{template 'phpcms','footer'}