<!--#include file="inc/conn.asp"-->
<%
dh="您的位置：<a href='index.asp'>首页</a>"
if IsInteger(request("id"))=False Then
		response.Write "<br><center><a href=""index.asp"">对不起，无效的参数，点击返回重新操作</a></center>"
		response.End()
else
		set rs=server.createobject("adodb.recordset")
		rs.open "select * from xwfb where id="&request("id"),conn,1,3
		
		If rs.EOF AND rs.BOF Then
	  		response.Write "<br><center><a href=""index.asp"">对不起，没有找到相关信息，点击返回重新操</a></center>"
			response.End()
		else
			xwbt=rs("xwbt")
			fbsj=rs("fbsj")
			nr=rs("content")
			bh=rs("bh")
			sj=rs("sj")
			pic=rs("pic")
			lmid=rs("lmid")
			cpid=rs("id")
		set rs=nothing
		end if
end if
%>
<%
if bh<>"" then
sql2="select * from bhlm where bh="&bh&""
set rs2=conn.execute(sql2)		
if not rs2.eof then
	lmmc=">>  "&rs2("bhmc")
	lm=rs2("bhmc")
	lm2=rs2("bhmc2")
	bhmc=rs2("bhmc")
	bhmc2=rs2("bhmc2")
	pic2=rs2("pic")
	if rs2("urllb")=0 then
		url33="list"
	end if
	if rs2("urllb")=1 then
		url33="view"
	end if
	if rs2("urllb")=2 then
		url33="pic"
	end if	
	dh=dh&" > <a href='"&myurl(url33,rs2("bh"),"","")&"'>"&rs2("bhmc")&"</a>"
end if
end if

if lmid<>"" then
'读取二级栏目
sql2="select * from xwlm where lmid="&lmid&""
set rs2=conn.execute(sql2)		
if not rs2.eof then
	lmmc=lmmc&"  >>  "&rs2("lmmc")
	lm=rs2("lmmc")
	lm2=rs2("lmmc2")

	if rs2("urllb")=0 then
		url33="list"
	end if
	if rs2("urllb")=1 then
		url33="view"
	end if
	if rs2("urllb")=2 then
		url33="pic"
	end if	
	dh=dh&" > <a href='"&myurl(url33,rs2("bh"),rs2("lmid"),"")&"'>"&rs2("lmmc")&"</a>"
end if
end if

if sj<>"" then
'读取二级栏目
sql2="select * from sjlm where id="&sj&""
set rs2=conn.execute(sql2)		
if not rs2.eof then
	lmmc=lmmc&"  >>  "&rs2("sjmc")
	lm=rs2("sjmc")
	lm2=rs2("sjmc2")
	dh=dh&" > "&rs2("sjmc")
end if
end if
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<META content="<%=lm&"-"&seoms%>" name="description">
<META content="<%=lm&"-"&seokeys%>" name="keywords">
<title><%=lm&"-"&seotitle%></title>
<!--#include file="inc/function.asp"-->
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<link rel="stylesheet" type="text/css" href="style/css/iconfont.css" />
<link rel="stylesheet" type="text/css" href="style/css/style5.css" />
<script src="style/js/1.9.1jquery.min.js"></script>
<script src="style/js/jquery.glide.min.js"></script>
<link rel="stylesheet" type="text/css" href="style/css/layout.css" />
<script src="style/js/png.js"></script>
<script type="text/javascript" src="style/js/more_sort.js"></script>
<script type="text/javascript" src="style/js/public.js"></script>
<script type="text/javascript" src="style/js/usefor_user.js"></script>
<script type="text/javascript" src="style/js/ajax.js" language="javascript"></script>
<script type="text/javascript" src="style/js/new_common.js" language="javascript"></script>
<script type="text/javascript" src="style/js/swfobject.js"></script>
<script type="text/javascript" src="style/js/domtab.js" language="javascript"></script>
<script type="text/javascript" src="style/js/temp_public.js" language="javascript"></script>
<script type="text/javascript" src="style/js/ddsmoothmenu.js">
</script>
<script type="text/javascript">
$(document).ready(function(){
	function mofinebanner(){
		var h,bh;
		w = $(window).width();
		bw=(w-$(".p_banner").outerWidth());
		$(".p_banner").css("margin-left",bw/2);
	}
	$(window).resize(function() {
		mofinebanner();
	});
	mofinebanner();
})
</script>
</head>
<body>
<!--#include file="top.asp"-->
<div class="clear"> </div>
<div class="p_container">
  <div class="def_cont">
    <div class="edit_nullmodule" id="com_definedkeys_1" editok="online"> </div>
  </div>
  <div class="clear"> </div>
  <div class="title02 wow zoomIn animated" id="com_pmodule_the_viewtitle" editok="online"> <span><%=bhmc2%></span>
    <h3 class="yahei"> <%=lm%> </h3>
    
  </div>
  <div style="padding:20px; margin:0 auto;width:1000px; height:40px; text-align:center">
   <%
					sql2="select * from xwlm where bh="&bh&" order by px,lmid"
					set rs2=conn.execute(sql2)		
					do while not rs2.eof
					if rs2("urllb")=0 then
						url3="list"
					end if
					if rs2("urllb")=1 then
						url3="view"
					end if
					if rs2("urllb")=2 then
						url3="pic"
					end if
					%>
      <li style="list-style-type:none; display:inline;  "><A href="<%=myurl(url3,rs2("bh"),rs2("lmid"),"")%>" title="<%=rs2("lmmc")%>"><%=rs2("lmmc")%></A></li>
      <%rs2.movenext:loop:set rs2=nothing%>
      </div>
  <div class="p_about wow fadeInUp animated">
    <div id="com_pmodule_products_list" editok="online" class="content">
      <div class="productview">
        
       
        <div class="productremark">
          <p class="title"> 详细说明 </p>
          
          <div>
          <table width="95%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="40" align="center" style="border-bottom:1px dotted #CCCCCC"><b><%=xwbt%></b></td>
        </tr>
        <%
			if pic <>"" then
			%>
        <tr>
          <td height="40" align="center" style="border-bottom:1px dotted #CCCCCC"><a href="<%=pic%>"  class="MagicZoom"><img src="<%=pic%>"  /></a></td>
        </tr>
        <% end if%>
        <tr>
          <td align="left" valign="top">　<br />
            <table >
              <tr>
                <td align="left">
                <%=nr%></td>
              </tr>
            </table></td>
        </tr>
        <tr>
                  <td align="center" valign="top"><%
				 	sql2="select top 1 * from xwfb where id<"&cpid&" and bh="&bh&""
					
					
					sql2=sql2&" order by id desc"
					set rs2=conn.execute(sql2)		
					if not rs2.eof then
						response.Write "<a href='newview.asp?id="&rs2("id")&"'>上一条:"&rs2("xwbt")&"</a>　　"
					else
						response.Write "没有上一条了"
					end if
					
					
				  %>
                    <%
				 	
					
					sql2="select top 1 * from xwfb where id>"&cpid&" and bh="&bh&""
					
					
					sql2=sql2&" order by id asc"
					set rs2=conn.execute(sql2)		
					if not rs2.eof then
						response.Write "<a href='newview.asp?id="&rs2("id")&"'>下一条:"&rs2("xwbt")&"</a>"
					else
						response.Write "没有下一条了"
					end if
				  %></td>
                </tr>
      </table>
          
          </div>
        
        </div>
        
      </div>
    </div>
  </div>
  <div class="def_cont">
    <div class="fl">
      <div class="edit_nullmodule" id="com_definedkeys_2" editok="online"> </div>
    </div>
    <div class="fr">
      <div class="edit_nullmodule" id="com_definedkeys_3" editok="online"> </div>
    </div>
    <div class="clear"> </div>
    <div class="edit_nullmodule" id="com_definedkeys_4" editok="online"> </div>
  </div>
  <div class="clear"> </div>
</div>
<div class="clear"> </div>
<!--#include file="end.asp"-->

</body>
</html>
