<!doctype html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black">
<%
value1=replace(Request.ServerVariables("QUERY_STRING"),".html","-")
 '获得?后面的参数
value2=split(value1,"-")           '对参数进行过滤，从而获得id1和id2的值
dd=ubound(value2)
if int(dd)<0 then 
response.Write "<script language=javascript>alert('参数错误!');history.go(-1);</script>"
response.end
end if
cid=value2(0)
if  int(dd)>=1 then
page=value2(1)
end if
'接下来调用数据库，并显示内容，跟动态ASP一样
%>
<!--#include file="../inchuayuwebrlzywzhyweb/web_top_wap.asp"-->
<%if cid=""  then oa.msgshow("参数错误!")
set dh=server.CreateObject("adodb.recordset")
	dh.open"select  *from ClassList where classid="&cid&" order  by rootid,orderid",conn,1,1
	if not dh.eof then
	lxa=dh("class_show")
		Child=dh("Child")
	end if
	dh.close
	set dh=nothing%>
<link rel="stylesheet" type="text/css" href="../wapimg/common.css">
<link href="../wapimg/txt.css" rel="stylesheet" type="text/css">
<link href="../wapimg/nypage.css" rel="stylesheet" type="text/css">
<link href="../wapimg/menu.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="../wapimg/swiper-3.3.1.min.css">
<SCRIPT type=text/javascript src="../wapimg/jquery-1.9.1.min.js"></SCRIPT>
</head>
<body ><!--#include file="../top.asp"--><div id="hyweb"><div id="body"><div id="nypage"><div id="contain"><div id="contain-1"><div id="contain-1-1"><i class="fa fa-chevron-circle-right" aria-hidden="true"></i>
              <%response.Write""& oa.getclassname(cid)%></div><div id="contain-1-2"><a href="<%=webdir%>wap/" ><i class="fa fa-home" aria-hidden="true"></i></a></div></div><div id="contain-c"><div id="lmda" <%if child=0 then%> style="display:none"<%end if%>> <%set rc=server.CreateObject("adodb.recordset")
rc.open"select *from  classlist where parentid="&cid&"    order by orderid ",conn,1,1
if not rc.eof then%><%do while not rc.eof%><a href="<%if rc("zdylj")<>"" then%><%=webdir%><%=rc("zdylj")%><%else%><%=webdir%>category/?<%=cid%>-<%=rc("classid")%>.html<%end if%>"  class="<%if int(sid)=rc("classid") or int(xl)=rc("classid") then%>sec<%end if%>" <%if instr(rc("zdylj"),"http")>0 then%> target="_blank" <%end if%>><%=rc("classname")%></a><%rc.movenext
  loop
  %>  <%end if
rc.close
set rc=nothing
%></div><%if sid<>"" then
				call newslist(sid)
		    else					
				call newslist(Cid)
		    end if%></div>
 </div></div></div></div><!--#include file="../end.asp"-->
</body>
</html>



