<?php require_once('D:\APMServ\www\htdocs\include\template_lite\plugins\function.qishi_link.php'); $this->register_function("qishi_link", "tpl_function_qishi_link",false);  require_once('D:\APMServ\www\htdocs\include\template_lite\plugins\function.qishi_ad.php'); $this->register_function("qishi_ad", "tpl_function_qishi_ad",false);  require_once('D:\APMServ\www\htdocs\include\template_lite\plugins\function.qishi_news_category.php'); $this->register_function("qishi_news_category", "tpl_function_qishi_news_category",false);  require_once('D:\APMServ\www\htdocs\include\template_lite\plugins\function.qishi_news_list.php'); $this->register_function("qishi_news_list", "tpl_function_qishi_news_list",false);  require_once('D:\APMServ\www\htdocs\include\template_lite\plugins\modifier.qishi_url.php'); $this->register_modifier("qishi_url", "tpl_modifier_qishi_url",false);  require_once('D:\APMServ\www\htdocs\include\template_lite\plugins\function.qishi_pageinfo.php'); $this->register_function("qishi_pageinfo", "tpl_function_qishi_pageinfo",false);  /* V2.10 Template Lite 4 January 2007  (c) 2005-2007 Mark Dickenson. All rights reserved. Released LGPL. 2013-07-13 10:26 中国标准时间 */ ?>

<!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" /><?php echo tpl_function_qishi_pageinfo(array('set' => "列表名:page,调用:QS_news"), $this);?>
<title><?php echo $this->_vars['page']['title']; ?>
</title>
<meta name="description" content="<?php echo $this->_vars['page']['description']; ?>
">
<meta name="keywords" content="<?php echo $this->_vars['page']['keywords']; ?>
">
<meta name="author" content="建材销售人才网，建材人才网" />
<meta name="copyright" content="epzpw.com" />
<meta http-equiv="X-UA-Compatible" content="IE=7">
<link rel="shortcut icon" href="<?php echo $this->_vars['QISHI']['site_dir']; ?>
favicon.ico" />
<link href="<?php echo $this->_vars['QISHI']['site_template']; ?>
css/common.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_vars['QISHI']['site_template']; ?>
css/news.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->_vars['QISHI']['site_template']; ?>
js/jquery.js" type='text/javascript' ></script>
<script src="<?php echo $this->_vars['QISHI']['site_template']; ?>
js/jquery.KinSlideshow.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function()
{
	$(".news_imgad").KinSlideshow({
			moveStyle:"up",
			mouseEvent:"mouseover",
			//isHasTitleFont:false,
			//isHasTitleBar:false,
			titleBar:{titleBar_height:30,titleBar_bgColor:"#000000",titleBar_alpha:0.3},			
			titleFont:{TitleFont_size:12,TitleFont_color:"#FFFFFF",TitleFont_weight:"normal"},
			btn:{btn_bgColor:"#FFFFFF",btn_bgHoverColor:"#1072aa",btn_fontColor:"#000000",btn_fontHoverColor:"#FFFFFF",btn_borderColor:"#cccccc",btn_borderHoverColor:"#1188c0",btn_borderWidth:0}
	});
});
</script>
</head>
<body>
<?php $_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include("header.htm", array());
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
 ?> 
<div class="top_search_x">
  <div class="top_search_bar">
    <div class="hearend"><span>&nbsp;</span>当前位置：<b><a href="<?php echo $this->_vars['QISHI']['site_dir']; ?>
"  target="_blank" class="l7"><?php echo $this->_vars['QISHI']['site_name']; ?>
</a>-<a href="<?php echo $this->_run_modifier("QS_news", 'qishi_url', 'plugin', 1); ?>
" class="l7">新闻资讯</a></b></div>
  </div>
</div>
<div class="news-index">
  <div class="left">
		<div class="news_imgad"  style="visibility:hidden;">
		<?php echo tpl_function_qishi_news_list(array('set' => "列表名:img_news,显示数目:5,标题长度:12,填补字符:...,图片:1,排序:id>desc"), $this);?>
		<?php if (count((array)$this->_vars['img_news'])): foreach ((array)$this->_vars['img_news'] as $this->_vars['list']): ?>
		<a target="_blank" href="<?php echo $this->_vars['list']['url']; ?>
"><img src="<?php echo $this->_vars['list']['bimg']; ?>
" width="278" height="230" alt="<?php echo $this->_vars['list']['title']; ?>
" ></a></li>
		<?php endforeach; endif; ?>
		</div>
  </div>  
  <div class="center">
  		<div class="listbox">
			  <div class="top link_lan">
			  	<?php echo tpl_function_qishi_news_list(array('set' => "列表名:news,显示数目:1,摘要长度:100,属性:3,排序:article_order>desc"), $this);?>
				<?php if (count((array)$this->_vars['news'])): foreach ((array)$this->_vars['news'] as $this->_vars['list']): ?>
				<h1><a href="<?php echo $this->_vars['list']['url']; ?>
" target="_blank"><?php echo $this->_vars['list']['title']; ?>
</a></h1>
				<?php echo $this->_vars['list']['briefly']; ?>

			&nbsp;&nbsp;<a href="<?php echo $this->_vars['list']['url']; ?>
" target="_blank">[全文...]</a>
				<?php endforeach; endif; ?>	
			  </div>
			  	<ul class="link_lan">
			  <?php echo tpl_function_qishi_news_list(array('set' => "列表名:news,显示数目:8,属性:3,标题长度:12,开始位置:1,排序:article_order>desc"), $this);?>
				<?php if (count((array)$this->_vars['news'])): foreach ((array)$this->_vars['news'] as $this->_vars['list']): ?>
				<li><a href="<?php echo $this->_vars['list']['url']; ?>
"  target="_blank"><?php echo $this->_vars['list']['title']; ?>
</a></li>
				<?php endforeach; endif; ?>
				</ul>
				<div class="clear"></div>			  
		</div>
  </div>
  <div class="right">
		<div class="listbox">
			  <div class="title"><h2>推荐资讯</h2></div>	  
				<div class="txt">
					<ul class="link_bk">
					<?php echo tpl_function_qishi_news_list(array('set' => "列表名:news,显示数目:9,属性:4,标题长度:18,排序:article_order>desc"), $this);?>
					<?php if (count((array)$this->_vars['news'])): foreach ((array)$this->_vars['news'] as $this->_vars['list']): ?>
					<li><a href="<?php echo $this->_vars['list']['url']; ?>
" target="_blank"><?php echo $this->_vars['list']['title']; ?>
</a></li>
					<?php endforeach; endif; ?>
					</ul>
				</div>	
	 	 </div>
	</div>
  <div class="clear"></div>
</div>
<div class="news-index-list">
	<div class="left">
	  		<div class="listbox">
			<div class="title">
			<strong><?php echo tpl_function_qishi_news_category(array('set' => "列表名:category,名称长度:10,资讯小类:2"), $this); echo $this->_vars['category']['title']; ?>
</strong>
			</div>
			<div class="more link_bk"><a href="<?php echo $this->_run_modifier("QS_newslist,2", 'qishi_url', 'plugin', 1); ?>
">更多...</a></div>
			<div class="clear"></div>		
			<div class="txt">
				<ul class="link_bk">
				<?php echo tpl_function_qishi_news_list(array('set' => "列表名:news,显示数目:10,标题长度:18,资讯小类:2,排序:article_order>desc"), $this);?>
				<?php if (count((array)$this->_vars['news'])): foreach ((array)$this->_vars['news'] as $this->_vars['list']): ?>
				<li><a href="<?php echo $this->_vars['list']['url']; ?>
" target="_blank"><?php echo $this->_vars['list']['title']; ?>
</a></li>
				<?php endforeach; endif; ?>
				</ul>
			</div>
		  </div>
	</div>
	<div class="center">
			<div class="listbox">
			<div class="title">
			<strong><?php echo tpl_function_qishi_news_category(array('set' => "列表名:category,名称长度:10,资讯小类:3"), $this); echo $this->_vars['category']['title']; ?>
</strong>
			</div>
			<div class="more link_bk"><a href="<?php echo $this->_run_modifier("QS_newslist,3", 'qishi_url', 'plugin', 1); ?>
">更多...</a></div>
			<div class="clear"></div>		
			<div class="txt">
				<ul class="link_bk">
				<?php echo tpl_function_qishi_news_list(array('set' => "列表名:news,显示数目:10,标题长度:28,资讯小类:3,排序:article_order>desc"), $this);?>
				<?php if (count((array)$this->_vars['news'])): foreach ((array)$this->_vars['news'] as $this->_vars['list']): ?>
				<li><a href="<?php echo $this->_vars['list']['url']; ?>
" target="_blank"><?php echo $this->_vars['list']['title']; ?>
</a></li>
				<?php endforeach; endif; ?>
				</ul>
			</div>
		  </div>
	</div>
	<div class="right">
 	  		<div class="listbox">
			<div class="title">
			<strong><?php echo tpl_function_qishi_news_category(array('set' => "列表名:category,名称长度:10,资讯小类:4"), $this); echo $this->_vars['category']['title']; ?>
</strong>
			</div>
			<div class="more link_bk"><a href="<?php echo $this->_run_modifier("QS_newslist,4", 'qishi_url', 'plugin', 1); ?>
">更多...</a></div>
			<div class="clear"></div>		
			<div class="txt">
				<ul class="link_bk">
				<?php echo tpl_function_qishi_news_list(array('set' => "列表名:news,显示数目:10,标题长度:18,资讯小类:4,排序:article_order>desc"), $this);?>
				<?php if (count((array)$this->_vars['news'])): foreach ((array)$this->_vars['news'] as $this->_vars['list']): ?>
				<li><a href="<?php echo $this->_vars['list']['url']; ?>
" target="_blank"><?php echo $this->_vars['list']['title']; ?>
</a></li>
				<?php endforeach; endif; ?>
				</ul>
			</div>
		  </div>
	</div>
  <div class="clear"></div>
</div>
<!--广告位 资讯首页中间横幅-->
<?php echo tpl_function_qishi_ad(array('set' => "显示数目:1,调用名称:QS_newsbanner,列表名:ad"), $this); if (count((array)$this->_vars['ad'])): foreach ((array)$this->_vars['ad'] as $this->_vars['li']): ?>
<div class="news_index_banner"><a target="_blank" href="<?php echo $this->_vars['li']['img_url']; ?>
"><img src="<?php echo $this->_vars['li']['img_path']; ?>
" alt="<?php echo $this->_vars['li']['img_explain_']; ?>
" border="0"></a></div>
<?php endforeach; endif; ?>
<!--广告位结束 -->
<div class="news-index-list">
	<div class="left">
	  		<div class="listbox">
			<div class="title">
			<strong><?php echo tpl_function_qishi_news_category(array('set' => "列表名:category,名称长度:10,资讯小类:5"), $this); echo $this->_vars['category']['title']; ?>
</strong>
			</div>
			<div class="more link_bk"><a href="<?php echo $this->_run_modifier("QS_newslist,5", 'qishi_url', 'plugin', 1); ?>
">更多...</a></div>
			<div class="clear"></div>		
			<div class="txt">
				<ul class="link_bk">
				<?php echo tpl_function_qishi_news_list(array('set' => "列表名:news,显示数目:10,标题长度:18,资讯小类:5,排序:article_order>desc"), $this);?>
				<?php if (count((array)$this->_vars['news'])): foreach ((array)$this->_vars['news'] as $this->_vars['list']): ?>
				<li><a href="<?php echo $this->_vars['list']['url']; ?>
" target="_blank"><?php echo $this->_vars['list']['title']; ?>
</a></li>
				<?php endforeach; endif; ?>
				</ul>
			</div>
		  </div>
	</div>
	<div class="center">
			<div class="listbox">
			<div class="title">
			<strong><?php echo tpl_function_qishi_news_category(array('set' => "列表名:category,名称长度:10,资讯小类:6"), $this); echo $this->_vars['category']['title']; ?>
</strong>
			</div>
			<div class="more link_bk"><a href="<?php echo $this->_run_modifier("QS_newslist,6", 'qishi_url', 'plugin', 1); ?>
">更多...</a></div>
			<div class="clear"></div>		
			<div class="txt">
				<ul class="link_bk">
				<?php echo tpl_function_qishi_news_list(array('set' => "列表名:news,显示数目:10,标题长度:28,资讯小类:6,排序:article_order>desc"), $this);?>
				<?php if (count((array)$this->_vars['news'])): foreach ((array)$this->_vars['news'] as $this->_vars['list']): ?>
				<li><a href="<?php echo $this->_vars['list']['url']; ?>
" target="_blank"><?php echo $this->_vars['list']['title']; ?>
</a></li>
				<?php endforeach; endif; ?>
				</ul>
			</div>
		  </div>
	</div>
	<div class="right">
 	  		<div class="listbox">
			<div class="title">
			<strong><?php echo tpl_function_qishi_news_category(array('set' => "列表名:category,名称长度:10,资讯小类:7"), $this); echo $this->_vars['category']['title']; ?>
</strong>
			</div>
			<div class="more link_bk"><a href="<?php echo $this->_run_modifier("QS_newslist,7", 'qishi_url', 'plugin', 1); ?>
">更多...</a></div>
			<div class="clear"></div>		
			<div class="txt">
				<ul class="link_bk">
				<?php echo tpl_function_qishi_news_list(array('set' => "列表名:news,显示数目:10,标题长度:18,资讯小类:7,排序:article_order>desc"), $this);?>
				<?php if (count((array)$this->_vars['news'])): foreach ((array)$this->_vars['news'] as $this->_vars['list']): ?>
				<li><a href="<?php echo $this->_vars['list']['url']; ?>
" target="_blank"><?php echo $this->_vars['list']['title']; ?>
</a></li>
				<?php endforeach; endif; ?>
				</ul>
			</div>
		  </div>
	</div>
  <div class="clear"></div>
</div>
<div class="links link_bk">
	<?php echo tpl_function_qishi_link(array('set' => "列表名:link,显示数目:100,调用名称:QS_news,类型:1"), $this);?>
	<strong>友情链接：</strong>
	<?php if (count((array)$this->_vars['link'])): foreach ((array)$this->_vars['link'] as $this->_vars['list']): ?>
	<a href="<?php echo $this->_vars['list']['link_url']; ?>
" target="_blank"><?php echo $this->_vars['list']['title']; ?>
</a>
	<?php endforeach; endif; ?>
	<a href="<?php echo $this->_vars['QISHI']['site_dir']; ?>
link/add_link.php"  style="color: #0066CC">[申请友情连接]</a>
  <div class="clear"></div>
	<?php echo tpl_function_qishi_link(array('set' => "列表名:link,显示数目:18,调用名称:QS_news,类型:2"), $this);?>
	<?php if (count((array)$this->_vars['link'])): foreach ((array)$this->_vars['link'] as $this->_vars['list']): ?>
		<div class="imglink">
		<a href="<?php echo $this->_vars['list']['link_url']; ?>
" target="_blank">
		<img src="<?php echo $this->_vars['list']['link_logo']; ?>
" alt="<?php echo $this->_vars['list']['title']; ?>
"  border="0"  width="88" height="31" />
		</a>
		</div>
	<?php endforeach; endif; ?>
	<div class="clear"></div>
</div>
<?php $_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include("footer.htm", array());
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
 ?>
</body>
</html>
