<!--#include file="conn.asp"-->
<!--#include file=const.asp -->
<!--#include file="time.asp"-->
<!--#include file="ubb.asp"-->
<!--#include file="userInfo.inc"-->
<%
dim exec, rs
dim w, q
rem strpagelist是分页显示的字符串
'取搜索关健字
w=encodestr(request.querystring("w"))
q=encodestr(request.querystring("q"))
if w="" or q="" or (w<>"title" and w<>"name" and w<>"nei") then
	response.redirect("index.asp")
end if

%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META name="Author" content="木鸟">
<title><%=sitetitle%></title>
<link rel="stylesheet" href="style/<%=skin%>.css" type="text/css">
</head>

<body>
<!--#include file="head.asp"-->
<%
if w = "name" then
	exec="select top 40 * from ly where name = '"& q &"' order by id desc"
else
	exec="select top 40 * from ly where "& w &" like '%"& q &"%' order by id desc"
end if
%>
<!--#include file=list5.asp-->


<!--#include file="searchBar.inc"-->
<!--#include file="foot.asp"-->
</body>

</html>
