?? search.asp
字號(hào):
<!--#include file="conn.asp"-->
<!--#include file="fenlei.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="images/css.css" type="text/css">
<title>綜合搜索</title>
</head>
<body text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0>
<!--#include file="head.asp"-->
<form action="list.asp" method="post">
<table style="BORDER-COLLAPSE: collapse" borderColor=#808080 align=center cellPadding=5 width="450" border=1>
<tr><td>
<table width=100% border=0 align="center">
<tr><td align="center" class="header" colspan=2>綜合搜索</td></tr>
<tr>
<td align="right">所屬<%=strfenlei1%>:</td>
<td><input type=text name="fenlei1" size=15></td>
</tr>
<tr>
<td align="right">所屬<%=strfenlei2%>:</td>
<td><input type=text name="fenlei2" size=15></td>
</tr>
<tr>
<td align="right">教師姓名:</td>
<td><input type=text name="teacher" size=15></td>
</tr>
<tr>
<td align="right">相關(guān)資料:</td>
<td><input type=text name="course" size=15></td>
</tr>
<tr>
<td align="right">資料標(biāo)題:</td>
<td><input type=text name="title" size=15></td>
</tr>
<%
sql = "select * from type"
set rs = server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%>
<tr>
<td align="right">資料類型:</td>
<td>
<select name="filetype">
<option value="" selected>請(qǐng)選擇 </option>
<%
do while not rs.eof
%>
<option value="<%=rs("typeid")%>"><%=rs("type")%></option>
<%
rs.movenext
loop
rs.close
set rs = nothing
%>
</select>
</td>
</tr>
<tr>
<td align="center" colspan=2>注:只填寫您要搜索的部分即可,不必全部填寫,支持模糊搜索</td>
</tr>
</table>
</td></tr></table>
<center><br>
<input type=submit name="submit" value="搜索">
<input type=reset name="reset" value="清空">
</center>
</form>
<!--#include file="foot.asp"-->
</body>
</html>
<%
conn.close
set conn = nothing
%>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -