<!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" />
<%
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.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")
	cname=dh("classname")
	nbanner=dh("class_pic")
	end if
	dh.close
	set dh=nothing%>
<link rel="stylesheet" type="text/css" href="../images/page.css">
<link href="../images/nypage.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../images/jquery-1.8.3.min.js"></script>
<SCRIPT type=text/javascript src="../images/jquery-1.7.2.js"></SCRIPT>
<script src="../images/jquery.superslide.2.1.1.js" type="text/javascript"></script>
<SCRIPT type=text/javascript src="../images/load.js"></SCRIPT>
<SCRIPT language="javascript" src="../images/dbl.js"></SCRIPT>
<SCRIPT language=JavaScript type=text/javascript src="../images/sc.js"></SCRIPT>
<link href="../images/pro_dropdown_2.css" rel="stylesheet" type="text/css" />
</head>
<body><!--#include file="../head.asp"--><!--#include file="../nbanner.asp"-->
<div id="hyweb"><div id="body_1"><div id="nypage"><!--#include file="../left.asp"--><div id="contain"><div id="contain-1">
                <div id="contain-1-1">
                    <% dim sid
		  
							if sid<>"" then	 
		  	 response.Write""& oa.getclassname(sid)
		  else
		  response.Write""& oa.getclassname(cid)
		  end if%></div><div id="contain-1-2">当前位置：<a href="<%=webdir%>">网站首页</a>&nbsp;&gt;&nbsp;
               <a href="<%if sid<>"" and lxa="文章形式"  then%><%=webdir%>directory/?<%=cid%>-<%=sid%>.html<%else%><%=webdir%>channel/?<%=cid%>.html<%end if%>"> <span><%response.Write oa.getclassname(Cid)%></span></a>
    
        <%if xl<>"" then
		%> &nbsp;&gt;&nbsp;<%response.Write  oa.getclassname(xl)%> <%end if%>        <%
			 
		  if sid<>"" and sid<>cid   then
		  if xl<>"" then
		  xlm="-"&xl&""
		  end if%>
		 &nbsp;&gt;&nbsp;<%response.Write oa.getclassname(sid)%>
		<%  else
		 	
		  end if%></div></div><div id="contain-c">
           <%if sid<>"" then
				call newslist(sid)
		    else					
				call newslist(Cid)
		    end if%></div></div></div></div></div>
<!--#include file="../foot.asp"-->
   
</body>
</html>





