⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pro_search.asp

📁 网站源码
💻 ASP
字号:
<!--#include file="setup.asp" -->
<%
if len(request("keyword"))=0 then
back("请填写关键字!!")
Response.end
end if 
keyword=request("keyword")


			

%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=web_name%>公司简介</title>
<link href="inc/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #0066CC}
-->
</style>
</head>
<body leftmargin="0" topmargin="0">
<!--#include file="index_top.asp" -->

<table width="762" height="5" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="f5f5f5" class="tablelinenotop">
  <tr> 
    <td></td>
  </tr>
  <tr> 
    <td height="1" bgcolor="#CCCCCC"></td>
  </tr>
</table>
<table width="762" height="378" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="tablelinenotop">
  <tr> 
    <td valign="top"> 
      <div align="center">
        <table width="95%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td>&nbsp;</td>
          </tr>
          <%  strsql="select * from pro_list  where pro_name like '%"&keyword&"%' or pro_info like '&"&keyword&"&'"
	  			set rs = Server.CreateObject("ADODB.Recordset")
				rs.Open strsql, conn, 1, 1
				total=0
				total=rs.recordcount
				while not rs.eof %>
          <tr class="font"> 
            <td width="12%"> <div align="right"><img src="image/best_zoom.gif" width="19" height="18"> 
                &nbsp;</div></td>
            <td width="88%" height="30"><a href="product_view.asp?id=<%= rs("id") %>"> 
              <% =rs("pro_name") %>
              </a> </td>
          </tr>
          <% 
		
		rs.movenext
		wend    
		rs.close
		 %>
          <%  strsql="select * from job_info  where title like '%"&keyword&"%' or content like '&"&keyword&"&'"
	  			
				rs.Open strsql, conn, 1, 1
				total=total+rs.recordcount
				while not rs.eof
				 %>
          <% 
		  rs.movenext
		  wend
		  rs.close
		   %>
          <%  strsql="select * from gqxx_info  where title like '%"&keyword&"%' or content like '&"&keyword&"&'"
	  			
				rs.Open strsql, conn, 1, 1
				total=total+rs.recordcount
				while not rs.eof
				 if rs("type") =1 then
		info_type="供应"
		info_col="333333"
		else
		info_type="需求"
		info_col="003399"
		end if
				 %>
          <% 
		  rs.movenext
		  wend
		  rs.close
		   %>
        </table>
       
		<table width="95%" border="0" cellpadding="0" cellspacing="0">
          <% if total=0 then %>
		   <tr> 
            <td>&nbsp;<font color="#FF0000"><strong>没有找到任何与条件相符的信息!!</strong></font>&nbsp;&nbsp;&nbsp;[<a href="#" onclick="history.back()">返回上一页</a>]</td>
          </tr>
		  <% else %>
		    <tr> 
            <td>&nbsp;
              <div align="center"><font color="#0033CC"><strong>共找到<%= total %>条符合条件的信息!!</strong>&nbsp;&nbsp;&nbsp;[<a href="#" onclick="history.back()">返回上一页</a>]</font></div></td>
          </tr>
		  
		  <% end if %>
        </table>
		
      </div>
      </td>
  </tr>
</table>
<!--#include file="index_down.asp" -->
</body>
</html>

⌨️ 快捷键说明

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