<% data_path="/" 'ACC连接数据库路径,对SQL无效 %> 信息安全 - 产品首页 - 聚商宝V2.0 #BM_top#
产品分类
#HOPE_ProductsCat()#
 业务联系
 人才招聘
 客服电话
 在线联系
   产品搜索 首页 - 产品搜索     
<% strsearch=request.QueryString("action") ProductsName=trim(request("ProductsName")) if ProductsName="" then ProductsName="输入产品名称" end if if strsearch="search" then if ProductsName="输入产品名称" then Sql="Select * from benming_ch_prod where show=1" else Sql="Select * from benming_ch_prod where show=1 and prodName like '%"&ProductsName&"%' " sprodname=ProductsName end if else Sql="Select * from benming_ch_prod where show=1" end if %>
  产品名称:
  首页 >> 搜索 “<%=sprodname%>” 结果:
<% Set Rs=Server.CreateObject("ADODB.RecordSet") Rs.open Sql,Conn,1,1 msg_per_page=6 %> <% j=1 do while not rs.eof and rowcount > 0 %> <% if j mod 2=0 then response.Write "" end if rowcount=rowcount-1 rs.movenext j=j+1 loop %>
" width="150" height="94" /> .html" class="Font_2E4690_a Font-Weight"><%=rs("prodName")%>
<%=gotTopic(rs("remark"),150)%>
<% listPages3("Search.asp") Rs.close Set Rs=nothing %>
#BM_botten#