<%@ LANGUAGE=VBScript CodePage=65001%>
<% response.charset="utf-8" %>
<% session.codepage=65001 %>
<!-- #include file="../inc/AntiAttack.asp" -->
<!-- #include file="../inc/conn.asp" -->
<!-- #include file="../inc/web_config.asp" -->
<!-- #include file="../inc/html_clear.asp" -->
<!--基本信息-->
<!-- #include file="baseInfo.asp" -->
<!--基本信息结束-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta content="telephone=no" name="format-detection" />
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/pageOthers.css">
<link rel="apple-touch-icon" href="/images/icon.png"/>
<script src="js/right.js"></script>
	<title><%=web_title%></title>





<script src="js/mobile_zh_CN.js"></script>
<script type="text/javascript">

function getCookieObj(){

		var ary=document.cookie.split(/;\s?/),cookieObj={};

		for(var i=0,n=ary.length;i<n;i++){

			var t=ary[i].split('=');

			if(t.length==2)cookieObj[t[0]]=t[1];

		}

		return cookieObj;

}

(function(){

	var defaultImgMode=window.localStorage.getItem('browseMode');

	if(defaultImgMode&&defaultImgMode!='close'){

		var imgMode=getCookieObj().imgDispMode;

		if(imgMode=='pq'){

			document.write('<link id="hdLink" rel="stylesheet" type="text/css" href="css/common_hd480.css">');

		}else if(imgMode=='gq'){

			document.write('<link id="hdLink" rel="stylesheet" type="text/css" href="css/common_hd640.css">');

		}else if(!imgMode){

			if(defaultImgMode=='gq'){

				var dpr=window.devicePixelRatio;

				if(dpr>1.5){

					document.write('<link id="hdLink" rel="stylesheet" type="text/css" href="css/common_hd640.css">');

				}else{

					document.write('<link id="hdLink" rel="stylesheet" type="text/css" href="css/common_hd480.css">');

				}

			}

		}

	}

})()



var CompInit=function(){

		var initFuncs={};

		var requireJsAry=[];

		return {

			addCompInit:function(key,opts){

				if(opts.initFunc){

					initFuncs[key]=opts.initFunc;

				}

				if(opts.requireJs){

					requireJsAry.push(opts.requireJs);

				}

			},

			initAll:function(fn){

				fn({requireJsAry:requireJsAry,initFuncs:initFuncs})

			}

		}

}()

</script>

<title></title>
</head>
<body>
<div id="box_root" class="z3g-pageIntroduction">
	<!-- 主题内容区 -->
	<div id="box_mainBody">
		<div id="box_main" >
			<!-- 头部区域 开始 -->
			<header id="box_header">
				<!-- 头部内容插入区 -->
				 <div class="columnSpace" id="elem-PublicConfig_showLogo01-001" name="LOGO"> 
				 







<script type="text/javascript">

//<![CDATA[

CompInit.addCompInit('PublicConfig_showLogo01-001',{

    requireJs:'/publicScripts/logo/PublicConfig_showLogo01.js',

    initFunc:function(){

      var options={

		clientAddress:"http://m.300.cn/DownloadsClient",

		china:"",

		english:"",

        hanyu:"",

		fanti:"",

		riyu:"",

		eyu:"",

		fayu:"",

		xibanyayu:"",

		putaoyayu:"",

		deyu:"",

		languageList:[]

		}

	  PublicConfig_showLogo01.init(options);

    }

})



// ]]>

</script>





<!-- 头部 -->

<section class="PublicConfig_showLogo01-d1_c1" style="display:none;">

<!-- 样式1 leftAndRight-->



	<div class="showStyle1 whiteIcon grayIcon">

		<!-- logo -->

		<div class="active logoWrap">

			<img src="/images/up_images/<%=web_image%>" />

		</div>

	</div>
</section> 
				 </div>
				 <!--导航开始-->
				<!-- #include file="top.asp" -->
				<!--导航结束-->
			</header>
			<!-- 头部区域 结束 -->
			<div id="box_content">
			<%
cid=cint(request.querystring("pid"))
pid = cint(request.querystring("id"))
			%>
				<div class="columnSpace" id="elem-NewsCategory_tree01-001" name="资讯分类"> 
				<section class="NewsCategory_tree01-d1_c1">
				
		<h1 class="z3g-pageTitle">
			<%
			set rs2=server.createobject("adodb.recordset")
			if pid=0  then
			sql="SELECT * from category where id="&cid&""
			else
			sql="SELECT * from category where id="&pid&""
			end if
			rs2.open(sql),cn,1,1
			if not rs2.eof then
			%>
			<span class="name" id = "listTitleId"><%=rs2("name")%></span>
			<%
			else
			response.write "该栏目没有初始数据"
			end if
			rs2.close
			set rs2=nothing%>
			
			<span class="titleBar" onClick="changeSpan()">
				<em class="title">
					分类筛选
				</em>
				<em class="icon"></em>
			</span>
			<div class="clear-both"></div>
		</h1>
	<section class="z3g-showMoreContNews z3g-showMoreSection">
	</section>
	<section class="z3g-showMoreContShowLogo z3g-showMoreSection" id="PublicConfigLogoNavTree" style="left:-100%;"></section>
</section>
<script  type="text/javascript">
    CompInit.addCompInit('NewsCategory_tree01-001', {
    	requireJs : '/publicScripts/news/NewsCategory_tree01.js',
    	initFunc : function() {
    		var options = {
    			displayNewsCategoryId : '62',
    			columnSiteId : '2',
    			ctx : ''
    		}
    		NewsCategory_tree01.init(options);
    	}
    })
</script> 
				</div>
				
				<div class="columnSpace" id="elem-News_list01-001" name="资讯列表"> 
				<section id="news-list" class="News_list01-d1_c1">
		<ul>
			<!--显示更多内容开始-->
		
			
			<div id="contents">
			<% 
set rs=server.createobject("adodb.recordset")
if pid="" then
sql="SELECT * from article where cid='"&cid&"' order by time desc"
else
sql="SELECT * from article where  cid='"&cid&"' and pid='"&pid&"' order by time desc"
end if
rs.open(sql),cn,1,1
%>  
<% 
rs.PageSize=8 '设置页码
pagecount=rs.PageCount '获取总页码 
page=int(request("page")) '接收页码 
if page<=0 then page=1 '判断 
if request("page")="" then page=1 
rs.AbsolutePage=page '设置本页页码 
%> 
<% 
if page=pagecount then
rs.PageSize= rs.recordcount mod 8
end if
if not rs.eof and not rs.bof then 

for i=1 to rs.PageSize %>
<li class="active">
						<a href="article.asp?id=<%=rs("id")%>&cid=<%=rs("cid")%>" style="text-decoration:none;"><div data-id="144" class="js_gotoNewsDetail">
							<h3 class="newsTitle">
								<em class="icon"></em>
								<span class="name">
									<%=rs("title")%>
								</span>
							</h3>
							<p class="time">
								<%=rs("time")%>
							</p>
						</div></a>
				</li>
 
<%rs.movenext 
next
else 
response.write("null") 
end if 
%>
</div>
<div id="fenye"  class='t_page ColorLink' style="text-align:center; width:90%;">
<%if page=1 and not page=pagecount then%> 
&nbsp;首页&nbsp;|&nbsp;前一页&nbsp;|
<a href="articlelist.asp?page=<%=page+1%>&id=&pid=<%=cid%>">后一页</a>&nbsp;| &nbsp;
<a href="articlelist.asp?page=<%=pagecount%>&id=&pid=<%=cid%>">末页</a> 
<%elseif page<>1 and page<>pagecount then%> 
<a href="articlelist.asp?page=1&id=&pid=<%=cid%>">&nbsp;首页</a>&nbsp;| &nbsp;
<a href="articlelist.asp?page=<%=page-1%>&id=&pid=<%=cid%>">前一页</a>&nbsp;| &nbsp;
<a href="articlelist.asp?page=<%=page+1%>&id=&pid=<%=cid%>">后一页</a>&nbsp;| &nbsp;
<a href="articlelist.asp?page=<%=pagecount%>&id=&pid=<%=cid%>">末页</a> 
<%elseif page=pagecount then%> 
<a href="articlelist.asp?page=1&id=&pid=<%=cid%>">&nbsp;首页</a>&nbsp;|&nbsp;
<a href="articlelist.asp?page=<%=page-1%>&id=&pid=<%=cid%>">前一页</a>&nbsp;| &nbsp;
下一页&nbsp;| &nbsp;
末页 
<%elseif page=pagecount-1 then%>
<%end if%>
</div>
			
			<!--显示更多内容结束-->
		</ul>
		<!-- 滑动层 开始 -->
			<section id='testdiv' class="z3g-showMoreSection z3g-showMoreCont "
				style="left: 100%;">
			<table cellspacing="0" cellpadding="0">
				<tr>
					<td class="barWrap active" valign="top" onClick="changeSpanstop()">
						<span class="closeBar active"><em></em></span>					</td>
					<td class="contWrap">
						<!-- 插入内容 开始 -->
						<div id="hScrollList">
							<ul id="thelist">
								<%
set rss2=server.createobject("adodb.recordset")
sql2="SELECT * from category where pid="&cid&" and ClassType=1"
rss2.open(sql2),cn,1,1
if not rss2.eof and not rss2.bof then
for i=1 to rss2.recordcount
%>
<% if rss2("id")=pid then %>
											<li class="item current active" id="170">
											<a href="articlelist.asp?id=<%=rss2("id")%>&pid=<%=rss2("pid")%>" style="color:#fff;">
											<span class="name js_slideChange" id="170" data-pageNum="170">
															<%=rss2("name")%>													</span>
												<span class="curtMark"><em>◆</em></span>	</a>										</li>
<% else %>
											<li class="item active" class="right_css">
											<a href="articlelist.asp?id=<%=rss2("id")%>&pid=<%=rss2("pid")%>" style="color:#fff;"> 
														<span class="name js_slideChange" id="171" data-pageNum="171">
															<%=rss2("name")%>														</span>
												<span class="curtMark"><em>◆</em></span>			</a>								</li>
											
<% end if %>
											
			<%
				rss2.movenext 
				next
else
response.write "暂时无数据"
end if %>
							</ul>
						</div>
						<!-- 插入内容 结束 -->
					</td>
				</tr>
			</table>
			</section>
	</section>
	<section class="z3g-showMoreContShowLogo z3g-showMoreSection" id="PublicConfigLogoNavTree" style="left:-100%;"></section>
	<!-- 滑动层 结束 -->		

<input class="j-categoryId" type="hidden" value="62" />
<input class="j-keyword" type="hidden" value="" />
<input id="pageno" class="j-pageno" type="hidden" value="1" />
<script type="text/javascript">
	CompInit.addCompInit('News_list01-001',{
        requireJs:'/publicScripts/news/News_list01.js' ,
        initFunc:function(){ 
          var options={
            pageno : '1',
			show : '1',
			categoryId : '62',
			keyword : '',
			InfoListColumnID : '2'
          }
          News_list01.init(options);
        }
    })
</script> 
				</div>
			
			</div>
			<!-- 内容区域 结束 -->
			<div class="columnSpace" id="elem-PublicConfig_showBottom01-001" name="bottom">
	

	<section class="PublicConfig_showBottom01-d1_c1">

	<div class="htmledit">

		<%=web_BottomHTML%>

	</div>

	</section>


			</div>
		</div>
			
	</div>
	<!-- 底部工具栏 开始 -->
	<!-- #include file="footer.asp" -->
	<!-- 底部工具栏 结束 -->
</div>
<script type="text/javascript" src="js/lib.min.js"></script>
</body>
</html>