<!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 rel="icon" href="favicon.ico" type="image/x-icon" />
<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/news.css" type="text/css" rel="stylesheet" />
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/player.css" type="text/css" rel="stylesheet" />
<script language="javascript" src="template/<?php echo $DIRCMS['tpl_name'];?>/images/js/jquery.min.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="template/<?php echo $DIRCMS['tpl_name'];?>/images/player.js"></script>
<script language="javascript" type="text/javascript" src="template/<?php echo $DIRCMS['tpl_name'];?>/images/site.js"></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=8"></script></div>
	<div class="position"><?php echo $dir_postion;?></div>
	<div class="body_top">
		<div class="body_top_left">
			<DIV class=fpic>
			<?php $dir_page="";$_DATA=get_tag_data($catid,'7','1',0,0,'1','id DESC',0,'0');foreach($_DATA as $no => $r)if(is_array($r)){?>
			<A id=foclnk 
			href="<?php echo $r['url'];?>"><IMG id=focpic 
			
			style="FILTER: RevealTrans ( duration = 1，transition=12 ); VISIBILITY: visible; POSITION: absolute" 
			
			height=414 alt="" src="<?php echo $r['thumb'];?>" width=284></A>
			
			<DIV id=fttlbg></DIV>
			
			<DIV id=fttltxt><A 
			
			href="<?php echo $r['url'];?>"><?php echo sub_string($r['title'],24);?>
			
			</A></DIV>
			<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
			<?php $dir_page="";$_DATA=get_tag_data($catid,'7','4',0,0,'1','id DESC',0,'0');foreach($_DATA as $no => $r)if(is_array($r)){?>
			<DIV class=thubpiccur id=tmb<?php echo $no;?> onmouseover=setfoc(<?php echo $no;?>); onmouseout=playit();><A 
			
			href="<?php echo $r['url'];?>"><IMG height=46 
			
			alt="<?php echo $r['title'];?>" src="<?php echo $r['thumb'];?>" width=56></A></DIV>
			<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
			
			</DIV>
			<SCRIPT language=javascript type=text/javascript>var picarry = {};var lnkarry = {};var ttlarry = {};
			<?php $dir_page="";$_DATA=get_tag_data($catid,'7','4',0,0,'1','id DESC',0,'0');foreach($_DATA as $no => $r)if(is_array($r)){?>
			picarry[<?php echo $no;?>] = "<?php echo $r['thumb'];?>";
			lnkarry[<?php echo $no;?>] = "<?php echo $r['url'];?>";
			ttlarry[<?php echo $no;?>] = "<?php echo sub_string($r['title'],24);?>";
			<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
			</SCRIPT>
		</div>
		<div class="body_top_middle">
			<div class="body_top_middle_c">
				<?php $dir_page="";$_DATA=get_tag_data($catid,'5','3',0,0,'0','id DESC',0,'0');foreach($_DATA as $no => $r)if(is_array($r)){?>
				<div class="body_top_middle_c_top">
					<h1><a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],40);?></a></h1>
					<div class="body_top_middle_c_desc"><?php echo sub_string($r['description'],108,'...');?><a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_blank">[查看详情]</a></div>
				</div>
				<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
				<ul>
					<?php $dir_page="";$_DATA=get_tag_data($catid,'0','12',0,0,'0','id 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'],24);?></a></li>
					<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
				</ul>
			</div>
			<div style="clear:both"><img src="template/<?php echo $DIRCMS['tpl_name'];?>/images/th1middleb.jpg" /></div>
		</div>
		<div class="body_top_right">
			<script language="javascript" src="<?php echo $DIRCMS[site_url];?>ads.js.php?id=15"></script>
			<div class="body_top_right_c">
				<div class="h2bg">热门图文</div>
				<div class="body_top_right_pic">
					<?php $dir_page="";$_DATA=get_tag_data($catid,'0','2',0,0,'1','clicks DESC',0,'0');foreach($_DATA as $no => $r)if(is_array($r)){?>
					<div style="clear:both">
						<div class="body_top_right_pic_left">
							<a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>" target="_blank"><img src="<?php echo $r['thumb'];?>" /></a>
						</div>
						<div class="body_top_right_pic_right">
							<div class="body_top_right_pic_right_title"><a href="<?php echo $r['url'];?>"><?php echo sub_string($r['title'],20);?></a></div>
							<div class="body_top_right_pic_right_desc"><?php echo sub_string($r['description'],36,'...');?></div>
						</div>
					</div>
					<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
					<ul>
						<?php $dir_page="";$_DATA=get_tag_data($catid,'0','8',2,0,'1','clicks DESC',0,'0');foreach($_DATA as $no => $r)if(is_array($r)){?>
						<li><a href="<?php echo $r['url'];?>" target="_blank">·<?php echo sub_string($r['title'],34);?></a></li>
						<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<!-- 图片新闻-->
	<div class="news_pic">
		<ul>
			<?php $dir_page="";$_DATA=get_tag_data($catid,'0','7',0,0,'1','id 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"><img src="<?php echo $r['thumb'];?>" /><br /><?php echo sub_string($r['title'],18);?></a></li>
			<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
		</ul>
	</div>
	<div class="ads_960"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>ads.js.php?id=14"></script></div>
	<!-- 列表-->
	<div class="news_list">
		<div class="news_list_left">
			<div class="news_list_left_c">
				<?php $_DATA=get_category_tag($catid,'20','son','0');$dir_catid=$catid;foreach($_DATA as $no => $r){ $catid=$r['id'];?>
				<div class="news_list_left_c_b">
					<div class="h2bg"><a href="<?php echo $r['url'];?>" target="_blank" title="<?php echo $r['categoryname'];?>"><?php echo $r['categoryname'];?></a></div>
					<ul>
						<?php $dir_page="";$_DATA=get_tag_data($catid,'0','8',0,0,'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'],42);?></a></span><span style="float:right; color:#666"><?php echo date('Y-m-d',$r['updatetime']);?></span></li>
						<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
					</ul>
				</div>
				<?php }unset($_DATA); $catid=$dir_catid;?>
			</div>
		</div>
		<div class="news_list_right">
			<div class="news_list_right_b">
				<div class="h2bg">点击排行</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'],34);?></a></li>
					<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
				</ul>
			</div>
			<div class="news_list_right_b">
				<div class="h2bg">评论排行</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'],34);?></a></li>
					<?php } $dir_page=$_DATA['pagestring'];unset($_DATA); ?>
				</ul>
			</div>
		</div>
	</div>
	<!-- 正文结束 -->
	<!-- 底部开始 -->
	<?php include template('footer');?>
	<!-- 底部结束 -->
</body>
</html>