<!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" type="text/css" rel="stylesheet" />
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/category.css" type="text/css" rel="stylesheet" />
<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="category">
		<div class="category_left_list">
			<ul>
				<?php $dir_page="";$_DATA=get_tag_data($catid,'0','30',0,$page,'0','id DESC',0,'0');foreach($_DATA as $no => $r)if(is_array($r)){?>
				<li><span style="float:left">·<a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],70);?></a></span><span style="float:right; color:#999; font-size:12px"><?php echo date('Y-m-d H:i:s',$r['updatetime']);?></span></li>			
				<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
			</ul>
			<div class="category_page"><?php echo $dir_page;?></div>
		</div>
		<div class="category_right">
			<div class="category_right_content">
				<div class="bar_c">点击排行</div>
				<ul>
					<?php $dir_page="";$_DATA=get_tag_data($catid,'0','8',0,0,'0','clicks DESC',0,'0');foreach($_DATA as $no => $r)if(is_array($r)){?>
						<li><a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],32);?></a></li>
					<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?><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>
				</ul>
			</div>
			<div class="category_right_content">
				<div class="bar_c">评论排行</div>
				<ul>
					<?php $dir_page="";$_DATA=get_tag_data($catid,'0','8',0,0,'0','comments DESC',0,'0');foreach($_DATA as $no => $r)if(is_array($r)){?>
						<li><a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],32);?></a></li>
					<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?><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>
				</ul>
			</div>
		</div>
	</div>
	<!-- 正文结束 -->
	<!-- 底部开始 -->
	<?php include template('footer');?>
	<!-- 底部结束 -->
</body>
</html>