<!--#include file="inc/conn.asp"-->
<%
keywords=request("keywords")
page=clng(request("page"))
set rs=server.CreateObject("adodb.recordset")
sql="select * from Product where (EnTitle like '%"&keywords&"%' or EnContent like '%"&keywords&"%') order by ID desc"
rs.open sql,conn,1,1
%>
<!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=utf-8" />
<title><%=keywords%> - Search results for <%=keywords%></title>
<meta name="keywords" content="<%=keywords%>" />
<meta name="description" content="Search results for <%=keywords%>" />
<link rel="stylesheet" type="text/css" href="images/style.css" />
</head>

<body>
<div id="header">
	<div id="heads">
    	<div id="logo"></div>
        <div id="language"><a href="/china/" target="_blank">Chinese</a></div>
        <br class="clear" />
    </div>
</div>
<div id="navs">
    <div id="nav">
    	<ul>
        	<li><a href="index.html" class="over">Home</a></li>
        	<li><a href="about-us.html">About Us</a></li>
        	<li><a href="product.html">Product</a></li>
        	<li><a href="quality-certification.html">Quality Certification</a></li>
        	<li><a href="customer-visit.html">Customer Visit</a></li>
        	<li><a href="enquiry.html">Enquiry</a></li>
        	<li><a href="contact-us.html">Contact Us</a></li>
        </ul>
        <div class="search"><form action="search.asp" method="post" name="search"><div class="sinput"><input type="text" name="keywords" value="Product Search" onblur="if(this.value=='')this.value='Product Search';" onfocus="if(this.value=='Product Search')this.value='';" /></div> <div class="simg"><input name="submit" type="image" src="images/go.jpg" /></div></form></div>
    </div>
</div>
<div id="centerer">
    <div id="menu">
        <div class="menu"><a href="index.html">Home</a> &raquo; <a href="product.html">Product</a> &raquo; <%=keywords%></div>
        <div class="hotkey">Hot Searches: 
        <%
		set rss=server.CreateObject("adodb.recordset")
		sql="select top 3 * from search order by times desc"
		rss.open sql,conn,1,1
		if not(rss.eof and rss.bof) then
			do while not rss.eof
				keyword=replace(rss("keywords")," ","+")
				hotsearch=hotsearch & " <a href=""search.asp?keywords=" & keyword & """ title=""" & rss("keywords") &""">" & rss("keywords") & "</a>,"
			rss.movenext
			loop
		end if
		response.Write(hotsearch)
		rss.close
		set rss=nothing
		%>
        </div>
    </div>
</div>
<div id="container">
	<div id="contents">
        <h1><%=keywords%></h1>
        <ul id="list_product">
        <%
		if rs.eof and rs.bof then
			response.Write("<li>Sorry!</li>")
		else
			rs.PageSize=8
			if page=0 then page=1 
			pages=rs.pagecount
			if page > pages then page=pages
			rs.AbsolutePage=page
            for j=1 to rs.PageSize
		%>
        <li>
			<a href="<%=rs("FileNames")%>" target="_blank"><img src="<%=rs("DefaultPicUrl")%>" width="130" height="80" alt="<%=rs("EnTitle")%>" /></a>
			<h2><a href="<%=rs("FileNames")%>" title="<%=rs("EnTitle")%>" target="_blank"><%=rs("EnTitle")%></a></h2>
			<div><%=rs("description")%></div>
		</li>
        <%
		rs.movenext
		if rs.eof then exit for
		next
		end if
		%>
        </ul>
        <%
        response.write "<div id=""pagenav"">"
        if Page<2 then      
            response.write "&lt;&lt; First Previous "
        else
            response.write "<a href=?keywords="&keywords&"&page=1>&lt;&lt; First</a>&nbsp;&nbsp;"
            response.write "<a href=?keywords="&keywords&"&page=" & (Page-1) & ">Previous</a>&nbsp;&nbsp;"
        end if
        if rs.pagecount-page<1 then
            response.write "Next End &gt;&gt;"
		else
            response.write "<a href=?keywords="&keywords&"&page=" & (page+1) & ">"
            response.write "Next</a> <a href=?keywords="&keywords&"&page="&rs.pagecount&">End&gt;&gt;</a>"
        end if
        rs.close
        set rs=nothing
        response.write "</div>"
		rs.close
		set rs=nothing
		%>
	</div>
	<div id="list">
				<h2><a href="briquetting-presses.html">Briquette Machine</a></h2>
		<ul>
			<li><a href="Charcoal.htm">Biomass Briquetting Machine</a></li>
			<li><a href="Charcoal-Powder-of-Briquetting-Plant.htm">Charcoal Power Briquetting Plant</a></li>
			<li><a href="Metal-Briquette-Press.html">Metal Briquette Press</a></li>
			
			<li><a href="Coal-Ball-Briquetting-Plant.html">Coal Ball Briquetting Plant</a></li>
		</ul>
		<h2><a href="pellet-mill.htm">Pellet Mill</a></h2>
		<ul>
			<li><a href="pellet-press.htm">Pellet Press</a></li>
			<li><a href="Wood-Pellet-Plant.htm">Wood Pellet Plant</a></li>
			<li><a href="wood-pellet-mill-cooler.html">Counter-flow Cooler</a></li>
			<li><a href="wood-pellet-mill-stoves.html">Wood Pellet Stove</a></li>
			<li><a href="wood-pellet-mill-pellets.html">Wood Pellets</a></li>
		</ul>
		<h2><a href="oil-press.html">Oil Press</a></h2>
		<ul>
			<li><a href="screw-oil-expeller.html">Small Oil Press</a></li>
			<li><a href="oil-expellers.html">Large Scale Oil Press</a></li>
			<li><a href="Oil-Press-Machine.htm">Integrated Oil Press</a></li>
			<li><a href="vegetable-oil-filter-press.html">Oil Filter Press</a></li>
		</ul>
		<h2><a href="flour-mill.html">Flour Mill</a></h2>
		<ul>
			<li><a href="Small-Wheat-Flour-Mill.html">Small Wheat Flour Mill</a></li>
			<li><a href="Large-Flour-Mill.html">Large Flour Mill</a></li>
			<li><a href="Flour-Milling-Machine.html">Cassava Flour Milling</a></li>
		</ul>
		<h2><a href="roll-forming-machine.html">Roll Forming Machine</a></h2>

    </div>
    <br class="clear" />
</div>
<div id="footer">
	<div id="foots">
    	<div id="foot_logo"></div>
        <div id="copyright">
			<ul>
              <li><a href="about-us.html">About Us</a>|</li>
              <li><a href="privacy-policy.html">Privacy Policy</a>|</li>
              <li><a href="terms-of-use.html">Terms of Use</a>|</li>
              <li><a href="faq.html">FAQ</a>|</li>
              <li><a href="enquiry.html">Enquiry</a>|</li>
              <li><a href="sitemap.html">Site Map</a>|</li>
              <li><a href="contact-us.html">Contact Us</a></li>
              <br class="clear" />
            </ul>
            <div class="copyrights">漏 www.agitc.cn 1992-2009. All Rights Reserved.</div>
            <div class="links">Keywords: <%=keywords%></div>
        </div>
        <br class="clear" />
    </div>
</div>

</body>
</html>