搜索页面左边树型搜索结果代码 修改
来源:互联网 发布:xbox360 手柄链接mac 编辑:程序博客网 时间:2024/05/16 02:22
<%
if Chkrequest(sortid) then
sortsql="select class_2.typeid,class_2.typename,class_1.* from class_2,class_1 where class_2.sortid="&sortid&" and class_1.sortid=class_2.sortid"
set rssort=conn.execute(sortsql)
if rssort.eof then
response.write"暂无信息"
else
if Getsearchsortcount4>0 then response.write"<b><A href='searchall.asp?sortid="&sortid&"&keywords="&keywords&"'>"&rssort("sort")&"</A> ("&Getsearchsortcount4&")</b><br>"
do while not rssort.eof
response.write"<span class=lh13>"
if Getsearchtypecount4>0 then response.write"·<a href='searchall.asp?typeid="&rssort("typeid")&"&keywords="&keywords&"' class='s'>"&rssort("typename")&"</a> ("&Getsearchtypecount4&")<br>"
rssort.movenext
loop
end if
rssort.close
set rssort=nothing
elseif Chkrequest(typeid) then
typesql="select class_2.typeid,class_2.typename,class_1.* from class_2,class_1 where class_2.typeid="&typeid&" and class_1.sortid=class_2.sortid"
set rstype=conn.execute(typesql)
if rstype.eof then
response.write"暂无信息"
else
if Getsearchsortcount5>0 then response.write"<b><A href='searchall.asp?sortid="&rstype("sortid")&"&keywords="&keywords&"'>"&rstype("sort")&"</A> ("&Getsearchsortcount5&")</b><br><span class=lh15>"
if Getsearchtypecount>0 then response.write"·<a href='searchall.asp?typeid="&rstype("typeid")&"&keywords="&keywords&"' class='s'>"&rstype("typename")&"</a> ("&Getsearchtypecount&")<br>"
end if
rstype.close
set rstype=nothing
else
sortsql="select * from class_1"
set rssort=conn.execute(sortsql)
if rssort.eof then
response.write"暂无信息"
else
do while not rssort.eof
response.write"<span class=lh15>"
if Getsearchsortcount>0 then response.write" <b><A href='searchall.asp?sortid="&rssort("sortid")&"&keywords="&keywords&"'>"&rssort("sort")&"</A> ("&Getsearchsortcount&")</b><br>"
typesql="select * from class_2 where sortid="&rssort("sortid")&""
set rstype=conn.execute(typesql)
if rstype.eof then
response.write"暂无信息"
else
do while not rstype.eof
if Getsearchtypecount>0 then response.write"·<a href='searchall.asp?typeid="&rstype("typeid")&"&keywords="&keywords&"' class='s'>"&rstype("typename")&"</a> ("&Getsearchtypecount&")<br>"
rstype.movenext
loop
end if
rstype.close
set rstype=nothing
rssort.movenext
loop
end if
rssort.close
set rssort=nothing
end if
%>
- 搜索页面左边树型搜索结果代码 修改
- 修改index页面的搜索
- 实现在搜索结果页面中变色显示搜索关键字
- 百度搜索结果页面的参数 搜索历史记录(rsv_sug)
- 百度搜索结果页面的参数 搜索框位置(rsv_bp)
- 织梦DedeCMS搜索页面搜索结果总数调用方法
- 弹出页面显示搜索值结果
- 【爬虫】爬取百度搜索结果页面
- 搜索结果页面关键字加红加粗
- 修改百度搜索结果的标题
- ajax 通过搜索页面进行搜索,通过结果页面显示结果
- 二叉搜索树修改
- 百度搜索结果页面的参数 搜索框提示词搜索方式(rsv_sug2)
- 百度搜索结果页面的参数_反馈搜索结果用时(rsv_sug4)
- 搜索:进入搜索到找到搜索结果
- 搜索页面
- 页面搜索
- 二叉搜索树代码
- 两位民工的眼神让我感动一生
- crystal report初体验
- 用 CSS 实现的阴影效果
- 我在驱坛生涯的回忆(包含NDIS架构简述)
- bitmap的一些block影响
- 搜索页面左边树型搜索结果代码 修改
- 不使用bind vars的影响
- vi自动加chmod +x
- 塔什干的盛会
- Struts1.2.4 的新特性
- ORACLE库中 大数据量的表 中索引建立的注意事项
- 这回真的是原创
- 抱歉,安装程序缺少必要文件!
- Google密谋收购Sun?