📄 search1.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="inc/const.asp"-->
<%
dim totalPut
dim CurrentPage
dim TotalPages
dim i,j
dim keyword
dim sql
dim rs
dim founderr
dim errmsg
dim findword
founderr=false
keyword=request("keyword")
if keyword="" then
errmsg=errmsg+"<br>"+"请输入查询条件。"
founderr=true
else
if request("action")="title" then
findword="showname like '%"&keyword&"%' "
else
findword="note like '%"&keyword&"%' "
end if
end if
if not isempty(request("page")) then
currentPage=cint(request("page"))
else
currentPage=1
end if
set rs=server.createobject("adodb.recordset")
dim classid,Nclassid
dim classname,Nclassname
if request("classid")="" then
classid=""
classname="所有软件"
else
classid="classid="&cstr(request("classid"))&" and"
sql="select class from class where classid="&cstr(request("classid"))
rs.open sql,conn,1,1
classname="[<font color=#008000>"&rs("class")&"</font>]"
rs.close
end if
if request("Nclassid")="" then
Nclassid=""
Nclassname="所有软件"
else
Nclassid=" Nclassid="&cstr(request("Nclassid"))&" and"
sql="select Nclass from Nclass where Nclassid="&cstr(request("Nclassid"))
rs.open sql,conn,1,1
Nclassname="的[<font color=#008000>"&rs("Nclass")&"</font>]分类"
rs.close
end if
%>
<HTML><HEAD>
<meta http-equiv="Content-Language" content="zh-cn">
<TITLE>(<%=keyword%>)-查找结果</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="Microsoft FrontPage 6.0" name=GENERATOR>
<LINK href="images/style.css" rel=stylesheet type=text/css>
<SCRIPT language=javascript>
function popwin2(id,path)
{ window.open("openarticle.asp?id="+id+"&ppath="+path,"");
}
</SCRIPT>
<!--#include file="head.asp"--></HEAD>
<BODY text=#444444 bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<TABLE cellSpacing=0 cellPadding=0 width=603 align=center background=imgages/0415tit01b0.gif border=0>
<TBODY>
<TR>
<TD height=4 width="603">
</TD></TR>
</table>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 id="table8">
<TBODY>
<TR>
<TD vAlign=top align=middle width=175 bgColor=#f6f6f6>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 id="table9">
<TBODY>
<TR>
<TD background="images/homedhbg.gif"><img src="images/xzss.gif" width="161" height="34">
</TD>
</TR></TBODY></TABLE>
<table border="0" cellpadding="0" cellspacing="0" width="95%" id="table10">
<tr>
<td width="95%" height="60">
<form method="post" name="myform" action="search1.asp">
<p align="center">
<input type="text" name="keyword0" class=textfield size=21 maxlength="50" style="font-family: Arial" onMouseOver="this.focus()" onblur="if (value ==''){value='软件名称或简介'}" onFocus="this.select()" onClick="if(this.value=='软件名称或简介')this.value=''" value="软件名称或简介"><br>
<input type="submit" name="Submit22" value="搜索" style="height='21'" class="botton">
<input type="reset" name="b" value="重填" class="botton"> </form>
</tr>
</table>
<TABLE cellSpacing=1 cellPadding=0 width="98%" border=0 id="table11">
<TBODY>
<TR>
<TD>
</TD></TR></TBODY></TABLE>
<TABLE height=5 cellSpacing=0 cellPadding=0 width=150
border=0 id="table12">
<TBODY>
<TR>
<TD></TD></TR></TBODY></TABLE>
<TABLE height=5 cellSpacing=0 cellPadding=0 width=150
border=0 id="table13">
<TBODY>
<TR>
<TD></TD></TR></TBODY></TABLE></TD>
<TD vAlign=top width=0></TD>
<TD vAlign=top><div align="center">
<table border=0 cellpadding=0 cellspacing=0 width=98% align="center" id="table53">
<tr>
<td align=middle valign=top width=568 height="160" bgcolor="#FFFFFF">
<TABLE style="BORDER-RIGHT: #d8d8d8 1px solid" cellSpacing=0 cellPadding=0
width="99%" border=0 id="table54">
<TBODY>
<TR>
<TD width="21%" background="images/homedhbg.gif" height=34><IMG height=34 src="images/rjmc.gif" width=150></TD>
<TD width="63%" background="images/homedhbg.gif"> </TD>
</TR>
</TBODY>
</TABLE>
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="table55">
<tr>
<td width="100%">
<%if founderr=true then%>
<table border="0" width="99%" height="56" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" align="center" id="table56">
<tr>
<td bgcolor="#FFFFFF" valign="top">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="table57">
<tr>
<td height="5"></td>
</tr>
<tr>
<td height="5"></td>
</tr>
<tr>
<td height="5"></td>
</tr>
<tr>
<td background="images/bj4.gif" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
</tr>
</table>
<table width="98%" border="0" align="center" id="table58">
<tr>
<td>您的位置:<a href="index.asp">首页 >></a>
<%
response.write "查询条件:<font color=red>"&keyword&"</font>"
response.write "在"&classname&""&Nclassname&"中"
%>
</td>
</tr>
</table>
<br>
<br>
<div align="center">关键字不能为空!</div>
</td>
</tr>
</table>
<%else%>
<table border=0 cellpadding=0 cellspacing=1 width="99%" align="center" bgcolor="#CCCCCC" id="table59">
<tr>
<td valign=top height="160" bgcolor="#FFFFFF">
<table width="98%" border="0" cellpadding="0" cellspacing="0" align="center" id="table60">
<tr>
<td height="5"></td>
</tr>
<tr>
<td background="images/bj4.gif" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
</tr>
</table>
<table width="98%" border="0" align="center" id="table61">
<tr>
<td>您的位置:<a href="index.asp">首页 >></a>
<%
response.write "查询条件:<font color=red>"&keyword&"</font>"
response.write "在"&classname&""&Nclassname&"中"
%>
</td>
</tr>
</table>
<TABLE border="0" cellspacing="0" width="100%" align="center" id="table62">
<TR>
<TD valign="top" align="center" bgcolor="#FFFFFF">
<TABLE border="0" width="100%" cellspacing="0" cellpadding="3" align="center" height="4" id="table63">
<TR bgcolor="#FFFFFF">
<TD bgcolor="#FFFFFF" height="1">
<table border="0" cellpadding="0" cellspacing="0" width="339" id="table64">
<tr>
<td width="337"><script>
function search4()
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -