<!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=utf-8" />
<link href="{$GetInstallDir}images/shop/style.css" rel="stylesheet" />
<link href="{$GetInstallDir}images/home.css" rel="stylesheet" />
<title>{$GetSiteTitle}-新闻频道-{$GetClassName}新闻-第[KS:CurrentPage]页</title>
<!--鼠标滑动特效start-->
<script src="{$GetInstallDir}ks_inc/jquery.js" type="text/javascript"></script>
<script src="{$GetInstallDir}ks_inc/kesion.common.js" type="text/javascript"></script>
<script src="{$GetInstallDir}ks_inc/lhgdialog.js"></script>
<!--鼠标滑动特效end-->
<style>
.fr{margin-top:0px;}
</style>
<link href="../../../images/home.css" rel="stylesheet" type="text/css" />
</head>
<body>
{KS_头部通用}
<div class="newsnav">
<div class="lmbox">
<ul>
{KS:Filter("选择分类","ClassID")}
{KS:Filter("资料类型","data")}<br>
{KS:Filter("所属系列","xilie")}<br>
{KS:Filter("所属类型","series")}<br>
{KS:Filter("主板类型","board")}<br>
{KS:Filter("面板类型","pannel")}<br>
{KS:Filter("文件类型","files")}<br>
</ul>
<div class="lm_sxbox">
<!---筛选 beigin-->
<div class="l">进一步筛选:</div><input type='text' name='keyword' value='[KS:SearchKey]' id='keyword' class="shoptext" /><input type='button' value='搜索' class="shopbtn" />
<script>
function searchByClass(){
var url=location.href;
var newurl='';
if (url.indexOf('?')!=-1){ //没有启用伪静态
var param=url.split('?')[1];
var newparam=getNewSearchParam(param);
newurl='index.aspx?'+newparam;
}else{ //启用伪静态
var parr=url.split('/');
var qparam=parr[parr.length-1];
var ext="."+qparam.split('.')[qparam.split('.').length-1];
var preurl=url.replace(qparam,'');
var param=qparam.replace(ext,'');
var newparam=getNewSearchParam(param);
newurl=preurl+newparam+ext
}
location.href=newurl;
}
function getNewSearchParam(param){
var key=jQuery("#keyword").val();
var parr=param.split(',');
var newparam='';
for (var i=0;i<parr.length;i++){
var pparr=parr[i].split('-');
if (pparr[0]=='key'){
if (newparam==''){
newparam='key-'+(key);
}else{
newparam+=',key-'+(key);
}
}else{
if (newparam==''){
newparam=parr[i];
}else{
newparam+=','+parr[i];
}
}
}
if (newparam.indexOf('key-')==-1 && key!=''){
if (newparam==''){
newparam='key-'+key;
}else{
newparam+=',key-'+(key);
}
}
return newparam;
}
</script>
<!---筛选 end-->
</div>
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
<div class="newsmain01" style="margin-top:0px">
<div class="left">
<div class="left02">
<h1 style="border-top:0px">{$GetClassName}</h1>
<ul>
[Loop Times="5"]
<li class="li02">
<div class="title"><a target="_blank" href="{$Field(InfoID,url,1,3)}" title="{$Field(title,text,0,,2,)}">{$Field(title,text,24,,2,)}</a></div>
<div class="intro">{$Field(Intro,text,200,...,2,)}</div>
</li>
<div class="clear"></div>
[/Loop]
<!---{KS_新闻分页}-->
</ul>
</div>
</div>
</div>
{KS_尾部通用}
</body>
</html>