<!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="generator" content="niubiCMS V1.3" />
<meta name="keywords" content="<?php echo $_type['keywords'];?>" />
<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>
<title><?php echo $_type['name'];?> - <?php echo $niubicms['site_name'];?></title>
</head>
<body>
  <?php include template('header');?>
  
  <!--主要内容-->
<div class="position">您当前的位置：<?php echo getconpos($_type['id']);?><?php echo $_type['name'];?></div>
<div class="newslist1">
	<div class="leftdiv">
		<div class="listtitle"><?php echo $_type['name'];?></div>
		<?php if($data) { ?>
		<ul>
          <?php $no=1;if(is_array($data))foreach($data as $r){?>
          <li><span><?php echo date('Y-m-d',$r['updatetime']);?></span><a href="<?php echo formatconurl($r['contentid']);?>"title="<?php echo $r['title'];?>" target="_blank"><?php echo sub_string($r['title'],100);?></a></li>
		  <?php $no++;}?>
        </ul>
		<div class="pagediv">
            共 <strong><?php echo $totalnum;?></strong> 条信息 <strong><?php echo $pagenum;?></strong> 页 当前是第 <strong><?php echo $page;?></strong> 页 <?php echo $PAGE['list'];?>
        </div>
		<?php }else{ ?>
		<div style="text-align:center">暂无<?php echo $_type['name'];?>信息</div>
		<?php }?>
	</div>
	<div class="rightdiv">

		<div class="searchtitle"></div>
		<form action="<?php echo $niubicms['site_url'];?>search/index.php" method="get" name="mysearchform" class="searchform" id="mysearchform">
	     	<input type="hidden" name="moduleid" value="<?php echo $_con['moduleid'];?>" />
			<input type="text" name="k" style="background:#FFFFFF" class="stxt" value="输入关键词..." onfocus="if(this.value=='输入关键词...'){this.value='';}"  onblur="if(this.value==''){this.value='输入关键词...';}" /><input type="submit" class="sbtn" value="搜索" />
		</form>
		<div class="listtitle">热点新闻</div>
		<ul class="listul">
			<?php $_DATA=call_user_func('get_tag_data',$typeid,0,$modelid,-1,-1,-1,0,10,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'],34);?></a></li>
			<?php }unset($_DATA); ?>
		</ul>
		<div class="listtitle">Top10阅读排行</div>
		<ul class="listul">
			<?php $_DATA=call_user_func('get_tag_data',$typeid,0,$modelid,-1,1,-1,0,10,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'],34);?></a></li>
			<?php }unset($_DATA); ?>
		</ul>
		
	</div>
</div>

  <div class="clear"></div>
<!-- 正文结束 -->
<!-- 尾部开始 -->
<?php include template('footer');?>
</body>
</html>
