<!--#include file="inc/conn.asp"-->
<%
dh="您的位置：<a href='index.asp'>首页</a>"
if request("bh")<>"" then
bh=sqlcheck(IsIntegers(request("bh")))
'读取二级栏目
sql2="select * from bhlm where bh="&bh&""
set rs2=conn.execute(sql2)		
if not rs2.eof then
	lm=rs2("bhmc")
	bhmc=rs2("bhmc")
	bhmc2=rs2("bhmc2")
	js=rs2("js")
	pic=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 request("lmid")<>"" then
lmid=sqlcheck(IsIntegers(request("lmid")))

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

if request("sj")<>"" then
sj=sqlcheck(IsIntegers(request("sj")))
'读取二级栏目
sql2="select * from sjlm where id="&sj&""
set rs2=conn.execute(sql2)		
if not rs2.eof then
	lm=rs2("sjmc")
	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>
           <% 
				set rs=server.createobject("adodb.recordset")
				sql="select * from xwfb where 1=1"
				if bh<>"" then
					sql=sql&" and bh="&bh&""
				end if
				if lmid<>"" then
					sql=sql&" and lmid="&lmid&""
				end if
				if sj<>"" then
					sql=sql&" and sj="&sj&""
				end if
				if keyword<>"" then
					sql=sql&" and xwbt like '%"&keyword&"%'"
				end if
				sql=sql&" order by px,id desc"
				cnt=0
				
      		 	rs.open sql,conn,1,1
				if rs.eof then%>
  &nbsp;&nbsp;&nbsp;&nbsp;<strong><font color="#333333">对不起，暂无记录！</font></strong>
  <%
			    else
				
				Dim CurPage,Url_Add
        		IF CheckStr(Request.QueryString("Page"))<>Empty Then
          		Curpage=CLng(CheckStr(Request.QueryString("Page")))
          		IF Curpage<0 Then Curpage=1
        		Else
          		Curpage=1
        		End IF
				if ishtml="0" then
        		Url_Add="?bh="&request("bh")&"&lmid="&request("lmid")&"&sj="&request("sj")&"&"
				end if
				if ishtml="1" then
        		Url_Add="pic"&request("bh")&"-"&request("lmid")
				end if
        		rs.PageSize=8
        		rs.AbsolutePage=CurPage
        		Dim nums
				iii=0
        		Nums=rs.RecordCount
        		Dim MultiPages,PageCount
				if ishtml="0" then
        		MultiPages=MultiPage(Nums,rs.PageSize,CurPage,Url_Add)
				end if
				if ishtml="1" then
        		MultiPages=MultiPagehtml(Nums,rs.PageSize,CurPage,Url_Add)
				end if
				do until rs.eof or PageCount=rs.PageSize
				cnt=cnt+1	
				%>
      
      <table width="95%" border="0" cellspacing="0" cellpadding="0" style="margin:0 auto">
        <tr>
          <% for ii=1 to 4%>
          <td valign="top"><table width="137" height="157" border="0" cellpadding="0" cellspacing="0" style="margin-bottom:5px">
            <tr>
              <td height="107" align="center" valign="top" background="img/cpbj.gif"><div style="width:180px; height:140px; border:1px solid #CCCCCC; padding:5px; overflow:hidden; text-align:center"> <a href="<%=viewurl("newview",rs("id"))%>"  target="_blank" class='jqzoom' style='' title='<%=rs("xwbt")%>'><img src="<%=rs("pic")%>" width="180"  border="0" onload="javascript:DrawImage(this,180,140)" alt="<%=rs("xwbt")%>"/></a></div></td>
            </tr>
            <tr>
              <td height="25" align="center"><%=rs("xwbt")%></td>
            </tr>
          </table></td>
          <%
				rs.movenext
				i=i+1
				PageCount=PageCount+1
				if rs.eof then exit for
				next
				%>
        </tr>
        <tr>
          <td height="15"></td>
        </tr>
      </table>
      <%	
				loop
				rs.close
				end if
				%>
      <table width="450" border="0" cellpadding="0" cellspacing="0" style="margin-top:10px">
        <tr>
          <td align="center"><%=MultiPages%></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>
