<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="keywords" content="<?php echo $head[keywords];?>" />
<meta name="description" content="<?php echo $head[description];?>" />
<base href="<?php echo $DIRCMS['site_url'];?>" />
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/share.css" rel="stylesheet" type="text/css" />
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/category_class.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="images/js/jquery.min.js" type="text/javascript"></script>
<title><?php echo $head[title];?></title>
</head>

<body>
<!-- 头部 -->
	<?php include template('head');?>
<!-- 正文 -->
	<div class="ads_960"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>ads.js.php?id=14"></script></div>
	<div class="position"><?php echo $dir_postion;?></div>
	<div class="list">
		<div class="list_left">
			<div class="list_left_nav"><?php echo $dir_catname;?></div>
			<div class="list_left_content">
				<ul>
					<script type="text/javascript"><!--
google_ad_client = "pub-9442525253295629";
/* 200x200, 创建于 09-7-4 */
google_ad_slot = "9441498570";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><?php $_DATA=get_category_tag($catid,'20','self','0');$dir_catid=$catid;foreach($_DATA as $no => $r){ $catid=$r['id'];?>
					<li><a href="<?php echo $r['url'];?>" target="_blank" title="<?php echo $r['categoryname'];?>"><?php echo $r['categoryname'];?></a></li>
					<?php }unset($_DATA); $catid=$dir_catid;?>
				</ul>
			</div>
		</div>
		<div class="list_right">
			<div class="list_top_nav"><span class="span_left"><?php echo $dir_catname;?></span><span class="span_right" style="padding-top:5px"><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/write_info.gif" align="bottom" /> <a href="post/index.php?catid=<?php echo $dir_catid;?>">免费发布信息</a></span></div>
			<div class="list_top">
				<?php echo $dir_search;?>
			</div>
			
			<!-- 推荐信息区 -->
			<?php $dir_page="";$_DATA=get_tag_data($catid,'12','5',0,0,'0','updatetime DESC',0,'0');foreach($_DATA as $no => $r)if(is_array($r)){?>	
			<div class="list_content_<?php echo $no%2;?>" style="border-bottom:#fe8802 1px solid; background-color:#fffae7; margin-bottom:5px">
				<div class="list_content_title">
					<span class="span_left"><?php if((time()-$r['updatetime'])<3600*24) { ?><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/isnew.gif" title="新进信息" align="middle" /><?php }?>  [<font color="#FF0000"><strong>置顶</strong></font>]<a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_blank"><?php if($r['style']) { ?><font style="<?php echo $r['style'];?>"><?php }?><?php echo sub_string($r['title'],50);?><?php if($r['style']) { ?></font><?php }?></a> </span><span class="span_right"><?php echo $r['username'];?>，<?php echo date('m月d日',$r['updatetime']);?>发布</span>
				</div>
				<div class="list_content_desc" style="height:40px">
				<?php if($r['thumb']) { ?><span class="span_infoimg"><img src="<?php echo $r['thumb'];?>" width="55" height="50" /></span><?php }?>
				<?php echo sub_string($r['description'],200,'...');?>
				</div>
				<div class="list_content_more">信息类型：<?php echo getCategoryname($r['catid'],0);?> 地区：<?php echo getAreaname($r['areaid']);?></div>
			</div>
			<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
			<!-- 推荐信息区 -->
			
			<?php $dir_page="";$_DATA=get_tag_data($catid,'0','20',0,$page,'0','id DESC',0,'0');foreach($_DATA as $no => $r)if(is_array($r)){?>		
			<div class="list_content_<?php echo $no%2;?>">
				<div class="list_content_title">
					<span class="span_left"><?php if((time()-$r['updatetime'])<3600*24) { ?><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/isnew.gif" title="新进信息" align="middle" /><?php }?>  <a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_blank"><?php if($r['style']) { ?><font style="<?php echo $r['style'];?>"><?php }?><?php echo sub_string($r['title'],50);?><?php if($r['style']) { ?></font><?php }?></a> </span><span class="span_right"><?php echo $r['username'];?>，<?php echo date('m月d日',$r['updatetime']);?>发布</span>
				</div>
				<div class="list_content_desc" style="height:40px">
				<?php if($r['thumb']) { ?><span class="span_infoimg"><img src="<?php echo $r['thumb'];?>" width="55" height="50" /></span><?php }?>
				<?php echo sub_string($r['description'],200,'...');?>
				</div>
				<div class="list_content_more">信息类型：<?php echo getCategoryname($r['catid'],0);?> 地区：<?php echo getAreaname($r['areaid']);?></div>
			</div>
			<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>				
			<div class="div_page">
				<?php echo $dir_page;?>
			</div>
		</div>
	</div>
<!-- 底部 -->
	<?php include template('footer');?>
</body>
</html>