<!-- #include file="conn.asp" -->
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body>
<%
dim keyw
keyw=request.Form("SearchText")
set rs=server.CreateObject("adodb.recordset")  
  				sql="select title,pagepath,photo from news where title like '%"&keyw&"%' order by id desc"
  				set rs=conn.execute(sql)
				while not rs.eof
				response.Write("<a href=http://www.hs360.com/"&rs("pagepath")&">"&rs("title")&"</a><br />")
				rs.movenext
				wend
				rs.close
				set rs=nothing
				conn.close
				set conn=nothing
%>
</body>
</html>
