

<!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=gbk" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="keywords" content="<?php echo $NEWS['keywords'];?>" />
<meta name="description" content="<?php echo $NEWS['description'];?>" />
<title><?php echo $niubicms['site_name'];?> - <?php echo $niubicms['site_title'];?></title>
<link href="<?php echo $niubicms['site_url'];?>template/<?php echo $niubicms['lang'];?>/<?php echo $niubicms['tpl_name'];?>/css/share.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $niubicms['site_url'];?>template/<?php echo $niubicms['lang'];?>/<?php echo $niubicms['tpl_name'];?>/css/header.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $niubicms['site_url'];?>template/<?php echo $niubicms['lang'];?>/<?php echo $niubicms['tpl_name'];?>/news/css/news.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $niubicms['site_url'];?>template/<?php echo $niubicms['lang'];?>/<?php echo $niubicms['tpl_name'];?>/css/footer.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript">
function killerror()
{
	return true;
}
window.onerror=killerror;
</script>
<script type="text/javascript" src="<?php echo $niubicms['site_url'];?>template/<?php echo $niubicms['lang'];?>/<?php echo $niubicms['tpl_name'];?>/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<?php echo $niubicms['site_url'];?>template/<?php echo $niubicms['lang'];?>/<?php echo $niubicms['tpl_name'];?>/js/ks-switch.pack.js"></script>
<script language="javascript" src="<?php echo $niubicms['site_url'];?>statics/data.input.js"></script>
<script src="<?php echo $niubicms['site_url'];?>template/<?php echo $niubicms['lang'];?>/<?php echo $niubicms['tpl_name'];?>/js/jquery.lazyload.js" type="text/javascript"></script>
<script language="javascript"  type="text/javascript" src="<?php echo $niubicms['site_url'];?>template/<?php echo $niubicms['lang'];?>/<?php echo $niubicms['tpl_name'];?>/js/Function.js"></script>
<script src="<?php echo $niubicms['site_url'];?>template/<?php echo $niubicms['lang'];?>/<?php echo $niubicms['tpl_name'];?>/js/newFlash.js" type="text/javascript"></script>
</head>
<body>
<?php include template('header');?>
<!--主体开始--><!--主体开始-->
<div class="body_top">
	<div class="body_top_left">
		<div id="flashcontent01"></div>
		<?php $_DATA=call_user_func('get_tag_data',$typeid,0,$modelid,-1,-1,0,$moduleid,4,0,1,'updatetime','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){$r['lianiren']=$r['contactuser'];?>
		<?php $_pics[$no]=formaturl($r['thumb']);$_mylinks[$no]=formaturl(formatconurl($r['contentid']));$_texts[$no]=sub_string($r['title'],30);?>
		<?php }unset($_DATA); ?>
		<script type="text/javascript">	
			var speed = 4000;		
			var pics='<?php echo implode('|',$_pics);?>';	
			var mylinks='<?php echo implode('|',$_mylinks);?>';
			var texts='<?php echo implode('|',$_texts);?>';			
			var sohuFlash2 = new sohuFlash("<?php echo $niubicms['site_url'];?>template/<?php echo $niubicms['lang'];?>/<?php echo $niubicms['tpl_name'];?>/js/newFlash.swf","flashcontent01","285","235","8","#ffffff");
			sohuFlash2.addParam("quality", "medium");
			sohuFlash2.addParam("wmode", "opaque");						
			sohuFlash2.addVariable("speed",speed);
			sohuFlash2.addVariable("p",pics);	
			sohuFlash2.addVariable("l",mylinks);
			sohuFlash2.addVariable("icon",texts);
			sohuFlash2.write("flashcontent01");
		</script>
		<ul>
			<?php $_DATA=call_user_func('get_tag_data',$typeid,0,$modelid,-1,-1,-1,$moduleid,8,0,1,'updatetime','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){$r['lianiren']=$r['contactuser'];?>
			<li style=" padding-left:8px;line-height:22px; height:22px; "><a href="<?php echo formatconurl($r['contentid']);?>" title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],44);?></a></li>
			<?php }unset($_DATA); ?>
		</ul>
	</div>
	<div class="body_top_middle">
		<div class="body_top_middle_c">
			<?php $_DATA=call_user_func('get_tag_data',$typeid,0,$modelid,-1,-1,-1,$moduleid,3,0,0,'updatetime','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){$r['lianiren']=$r['contactuser'];?>
			<div class="body_top_middle_c_top">
				<h1><a href="<?php echo formatconurl($r['contentid']);?>" 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 formatconurl($r['contentid']);?>" title="<?php echo $r['title'];?>" target="_blank">[查看详情]</a></div>
			</div>
			<?php }unset($_DATA); ?>
			<ul>
				<?php $_DATA=call_user_func('get_tag_data',$typeid,0,$modelid,-1,-1,-1,$moduleid,12,0,0,'updatetime','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){$r['lianiren']=$r['contactuser'];?>
				<li><a href="<?php echo $r['url'];?>" title="<?php echo formatconurl($r['contentid']);?>" target="_blank"><?php echo sub_string($r['title'],24);?></a></li>
				<?php }unset($_DATA); ?>
			</ul>
		</div>
		<div style="clear:both"><img src="<?php echo $niubicms['site_url'];?>template/<?php echo $niubicms['lang'];?>/<?php echo $niubicms['tpl_name'];?>/news/images/th1middleb.jpg" /></div>
	</div>
	<div class="body_top_right">
		<div class="body_top_right_c">
			<div class="h2bg">热门图文</div>
			<div class="body_top_right_pic">
				<?php $_DATA=call_user_func('get_tag_data',$typeid,0,$modelid,-1,-1,-1,$moduleid,2,0,1,'clicks','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){$r['lianiren']=$r['contactuser'];?>
				<div style="clear:both; padding-bottom:4px; height:72px">
					<div class="body_top_right_pic_left">
						<a href="<?php echo formatconurl($r['contentid']);?>" title="<?php echo $r['title'];?>" target="_blank"><img src="<?php echo formaturl($r['thumb']);?>" /></a>
					</div>
					<div class="body_top_right_pic_right">
						<div class="body_top_right_pic_right_title"><a href="<?php echo formatconurl($r['contentid']);?>"><?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 }unset($_DATA); ?>
				<ul>
					<?php $_DATA=call_user_func('get_tag_data',$typeid,0,$modelid,-1,-1,-1,$moduleid,10,2,1,'clicks','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){$r['lianiren']=$r['contactuser'];?>
					<li><a href="<?php echo formatconurl($r['contentid']);?>" title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],34);?></a></li>
					<?php }unset($_DATA); ?>
				</ul>
			</div>
		</div>
	</div>
</div>
<!-- 图片新闻-->
<div class="news_pic">
	<ul>
		<?php $_DATA=call_user_func('get_tag_data',$typeid,0,$modelid,-1,-1,-1,$moduleid,7,0,1,'clicks','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){$r['lianiren']=$r['contactuser'];?>
		<li><a href="<?php echo formatconurl($r['contentid']);?>" title="<?php echo $r['title'];?>" target="_blank"><img src="<?php echo formaturl($r['thumb']);?>" /><br /><?php echo sub_string($r['title'],18);?></a></li>
		<?php }unset($_DATA); ?>
	</ul>
</div>

<!-- 列表-->
<div class="news_list">
	<div class="news_list_left">
		<div class="news_list_left_c">
			<?php $_DATA=get_category_data(0,0,$moduleid,0,'top',16);foreach($_DATA as $no => $r)if(is_array($r)){?>
			<div class="news_list_left_c_b">
				<div class="h2bg"><span><a href="<?php echo caturl($r['typeid']);?>" target="_blank" title="<?php echo catname($r['typeid']);?>">更多</a></span><a href="<?php echo caturl($r['typeid']);?>" target="_blank" title="<?php echo catname($r['typeid']);?>"><?php echo catname($r['typeid']);?></a></div>
				<ul>
					<?php $_DATA=call_user_func('get_tag_data',$r[typeid],0,$modelid,-1,-1,-1,0,9,0,0,'updatetime','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){$r['lianiren']=$r['contactuser'];?>
					<li><span style="float:left"><a href="<?php echo formatconurl($r['contentid']);?>" title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],30);?></a></span><span style="float:right; color:#666"><?php echo date('Y-m-d',$r['updatetime']);?></span></li>
					<?php }unset($_DATA); ?>
				</ul>
			</div>
			<?php }unset($_DATA);?>
		</div>
	</div>
	<div class="news_list_right">
		<div class="news_list_right_b">
			<div class="h2bg">热点新闻</div>
			<ul>
				<?php $_DATA=call_user_func('get_tag_data',$typeid,0,$modelid,-1,-1,-1,$moduleid,8,0,0,'clicks','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){$r['lianiren']=$r['contactuser'];?>
				<li><a href="<?php echo formatconurl($r['contentid']);?>"title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],27);?></a></li>
				<?php }unset($_DATA); ?>
			</ul>
		</div>
		<div class="news_list_right_b">
			<div class="h2bg">Top阅读排行</div>
			<ul>
				<?php $_DATA=call_user_func('get_tag_data',$typeid,0,$modelid,-1,1,-1,$moduleid,8,0,0,'updatetime','desc','',0,'all');foreach($_DATA as $no => $r)if(is_array($r)){$r['lianiren']=$r['contactuser'];?>
				<li><a href="<?php echo formatconurl($r['contentid']);?>"title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],27);?></a></li>
				<?php }unset($_DATA); ?>
			</ul>
		</div>
	</div>
</div>

<div class="main_spacing"></div>
<div class="main_div">
<div class="index_link">
<div class="t">友情链接</div>


<?php $_DATA=get_flink_data(0,-1,-1,0,10);foreach($_DATA as $no => $r)if(is_array($r)){?>
	<a href="<?php echo $r['url'];?>"><img src="<?php echo $r['image'];?>" title="<?php echo $r['title'];?>" target="_blank"/></a>
<?php }unset($_DATA); ?>
</div></div>
<div id="scrolltop" style="left: auto; right: 0px; visibility: visible;">
<a href="javascript:;" class="go-top">回顶部</a>
<a href="<?php echo formatmoduleurl(19);?>" target="_blank" class="go-feed">反馈信息</a>
</div>
<!--右侧浮动结束-->
<script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });</script>
<script type="text/javascript">
    $('.go-top').click(function () {
        $('html,body').animate({ scrollTop: 0 }, 500);
    });
</script>
<!--页脚开始-->
<?php include template('footer');?>
</body></html>
