search.asp

来自「人民医院眼科全站」· ASP 代码 · 共 40 行

ASP
40
字号
<!--#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="" 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"-->
<%
	exec="select top 40 * from ly where "& w &" like '%"& q &"%' order by id desc"
%>
<!--#include file=list5.asp-->


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

</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?