Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

【贵族丽人网】风格免费分享之五-全能搜索

[复制链接]
qdcaishen 发表于 2009-10-7 18:29:48 | 显示全部楼层 |阅读模式
本帖最后由 qdcaishen 于 2009-10-7 18:31 编辑

支持网站:
贵族丽人网
http://www.vvnv.cn

技术支持:578676980
展示页面:http://www.vvnv.cn/viewnews-12224

  1. <div class="search_bar">
  2. <h3>快速搜索</h3>
  3. <ul id="tab_search">
  4. <li class="current"><em onclick="secBoard('tab_search','searchlist',1)">标题</em></li>
  5. <li class="normal"><em onclick="secBoard('tab_search','searchlist',2)">内容</em></li>
  6. <li class="normal"><em onclick="secBoard('tab_search','searchlist',3)">作者</em></li>
  7. <li class="normal"><em onclick="secBoard('tab_search','searchlist',4)">百度</em></li>
  8. <li class="normal"><em onclick="secBoard('tab_search','searchlist',5)">Google</em></li>
  9. </ul>
  10. <div class="search_list">
  11. <div id="searchlist_1" class="current">
  12. <form action="/xl/batch.search.php" method="post">
  13. <input id="search1" onclick="javascript:searchtxt('search1')" type="text" class="input_tx" size="10" name="searchkey" value="标题" />
  14. <input type="hidden" name="searchname" id="searchname" value="subject" />
  15. <input type="submit" class="input_search" name="authorsearchbtn" value="搜索" /><br />
  16. <input type="hidden" value="news" name="type">
  17. <input type="hidden" name="authorsearch" value="true" />
  18. </form>
  19. </div>
  20. <div id="searchlist_2" class="normal">
  21. <form action="/xl/batch.search.php" method="post">
  22. <input id="search2" onclick="javascript:searchtxt('search2')" type="text" class="input_tx" size="10" name="searchkey" value="内容" />
  23. <input type="hidden" name="searchname" id="searchname" value="message" />
  24. <input type="submit" class="input_search" name="searchbtn" value="搜索" /><br />
  25. <input type="hidden" value="news" name="type">
  26. <input type="hidden" name="subjectsearch" value="true" />
  27. </form>

  28. </div>
  29. <div id="searchlist_3" class="normal">
  30. <form action="/xl/batch.search.php" method="post">
  31. <input id="search3" onclick="javascript:searchtxt('search3')" type="text" class="input_tx" size="10" name="searchkey" value="作者" />
  32. <input type="hidden" name="searchname" id="searchname" value="author" />
  33. <input type="submit" class="input_search" name="messagesearchbtn" value="搜索" /><br />
  34. <input type="hidden" value="news" name="type">
  35. <input type="hidden" name="messagesearch" value="true" />
  36. </form>

  37. </div>

  38. <div id="searchlist_3" class="normal">
  39. <form action="/xl/batch.search.php" method="post">
  40. <input id="search3" name="searchname value="请输入关键字" class="input_tx" size="10" onMouseOver="this.focus()"
  41. onBlur="if (this.value =='') this.value='请输入关键字'" onFocus="this.select()" onClick="if
  42. (this.value=='请输入标题作者关键字') this.value=''">
  43. <input type="hidden" name="searchname" id="searchname" value="author" />
  44. <input type="submit" class="input_search" name="messagesearchbtn" value="搜索" /><br />
  45. <input type="hidden" value="news" name="type">
  46. <input type="hidden" name="messagesearch" value="true" />
  47. </form>
  48. </div>


  49. <div id="searchlist_4" class="normal">
  50. <form name="search_form" target="_blank" id="search_form" onsubmit="return gowhere(this)">
  51. <input id="word" name="word" value="请输入关键字" class="input_tx" size="10" onMouseOver="this.focus()"
  52. onBlur="if (this.value =='') this.value='请输入关键字'" onFocus="this.select()" onClick="if
  53. (this.value=='请输入关键字') this.value=''">
  54. <input type="submit" class="input_search" name="_si" id="_si"  name="authorsearchbtn" value="搜索" />
  55. <br />
  56. </form>
  57. </div>
  58. <div id="searchlist_5" class="normal">
  59. <!-- Search Google -->
  60. <center>
  61. <script type="text/javascript"><!--
  62.   google_ad_client = "pub-6429042836473374";
  63.   google_ad_format = "js_sdo";
  64.   google_searchbox_width = 160;
  65.   google_searchbox_height = 25;
  66.   google_link_target = 2;
  67.   google_ad_height = 25;
  68.   google_ad_width = 250;
  69. //-->
  70. </script>
  71. <script type="text/javascript"
  72.   src="http://pagead2.googlesyndication.com/pagead/show_sdo.js">
  73. </script>
  74. </center>
  75. <!-- Search Google -->
  76. </div>
  77. </div>
  78. <div class="fyb">                               
  79. <script type='text/javascript' src='http://unstat.baidu.com/code/js/fyb_1.js'></script>
  80. <script type='text/javascript' src='/js/baidu2.js'></script></div>
  81. </div>
复制代码
  1. <div class="box_r col_350 nl_for_sides" style="height:200px;">
  2. <div class="search_bar">
  3. <h3>快速搜索</h3>
  4. <ul id="tab_search">
  5. <li class="current"><em onclick="secBoard('tab_search','searchlist',1)">标题</em></li>
  6. <li class="normal"><em onclick="secBoard('tab_search','searchlist',2)">内容</em></li>
  7. <li class="normal"><em onclick="secBoard('tab_search','searchlist',3)">作者</em></li>
  8. <li class="normal"><em onclick="secBoard('tab_search','searchlist',4)">百度</em></li>
  9. <li class="normal"><em onclick="secBoard('tab_search','searchlist',5)">Google</em></li>
  10. </ul>
  11. <div class="search_list" style="height:200px;">
  12. <div id="searchlist_1" class="current">
  13. <form action="/batch.search.php" method="post">
  14. <input id="search1" onclick="javascript:searchtxt('search1')" type="text" class="input_tx" size="12" name="searchkey" value="标题" />
  15. <input type="hidden" name="searchname" id="searchname" value="subject" />
  16. <input type="submit" class="input_search" name="authorsearchbtn" value="搜索" /><br />
  17. <input type="hidden" value="news" name="type">
  18. <input type="hidden" name="authorsearch" value="true" />
  19. </form>
  20. </div>
  21. <div id="searchlist_2" class="normal">
  22. <form action="/batch.search.php" method="post">
  23. <input id="search2" onclick="javascript:searchtxt('search2')" type="text" class="input_tx" size="12" name="searchkey" value="内容" />
  24. <input type="hidden" name="searchname" id="searchname" value="message" />
  25. <input type="submit" class="input_search" name="searchbtn" value="搜索" /><br />
  26. <input type="hidden" value="news" name="type">
  27. <input type="hidden" name="subjectsearch" value="true" />
  28. </form>
  29. </div>
  30. <div id="searchlist_3" class="normal">
  31. <form action="/batch.search.php" method="post">
  32. <input id="search3" onclick="javascript:searchtxt('search3')" type="text" class="input_tx" size="12" name="searchkey" value="作者" />
  33. <input type="hidden" name="searchname" id="searchname" value="author" />
  34. <input type="submit" class="input_search" name="messagesearchbtn" value="搜索" /><br />
  35. <input type="hidden" value="news" name="type">
  36. <input type="hidden" name="messagesearch" value="true" />
  37. </form>
  38. </div>
  39. <div id="searchlist_3" class="normal">
  40. <form action="/batch.search.php" method="post">
  41. <input id="search3" name="searchname value="请输入关键字" class="input_tx" size="12" onMouseOver="this.focus()"
  42. onBlur="if (this.value =='') this.value='请输入关键字'" onFocus="this.select()" onClick="if
  43. (this.value=='请输入标题作者关键字') this.value=''">
  44. <input type="hidden" name="searchname" id="searchname" value="author" />
  45. <input type="submit" class="input_search" name="messagesearchbtn" value="搜索" /><br />
  46. <input type="hidden" value="news" name="type">
  47. <input type="hidden" name="messagesearch" value="true" />
  48. </form>
  49. </div>
  50. <script type='text/javascript' src='http://unstat.baidu.com/code/js/fyb_1.js'></script>
  51. <div id="searchlist_4" class="normal">
  52. <form name="search_form" target="_blank" id="search_form" onsubmit="return gowhere(this)">
  53. <input id="word" name="word" value="请输入关键字" class="input_tx" size="12" onMouseOver="this.focus()"
  54. onBlur="if (this.value =='') this.value='请输入关键字'" onFocus="this.select()" onClick="if
  55. (this.value=='请输入关键字') this.value=''">
  56. <input type="submit" class="input_search" name="_si" id="_si"  name="authorsearchbtn" value="搜索" />
  57. </form>
  58. </div>
  59. <div id="searchlist_5" class="normal">
  60. <!-- Search Google -->
  61. <center>
  62. <script type="text/javascript"><!--
  63.   google_ad_client = "pub-6429042836473374";
  64.   google_ad_format = "js_sdo";
  65.   google_searchbox_width = 160;
  66.   google_searchbox_height = 25;
  67.   google_link_target = 2;
  68.   google_ad_height = 25;
  69.   google_ad_width = 250;
  70. //-->
  71. </script>
  72. <script type="text/javascript"
  73.   src="http://pagead2.googlesyndication.com/pagead/show_sdo.js">
  74. </script>
  75. </center>
  76. <!-- Search Google -->
  77. </div>
  78. <script type='text/javascript' src='/js/baidu2.js'></script>
  79. </div>
  80. </div>
复制代码
将baidu2.js上传到网站根目录js文件夹下

评分

1

查看全部评分

dhqcje 发表于 2009-10-8 09:10:57 | 显示全部楼层
沙发来顶贴,这个不错
回复

使用道具 举报

jerrylook 发表于 2009-10-8 09:26:32 | 显示全部楼层
谢谢分享啊
回复

使用道具 举报

fb0755 发表于 2009-10-8 09:38:00 | 显示全部楼层
3# jerrylook


    我要看毛
回复

使用道具 举报

mrwwx 发表于 2009-10-8 09:53:15 | 显示全部楼层
不错,看我的超级搜索:http://so.mbazone.net
回复

使用道具 举报

goldlink 发表于 2009-10-8 11:29:20 | 显示全部楼层
.
回复

使用道具 举报

zhanggmin 发表于 2009-10-18 15:02:41 | 显示全部楼层
呵呵不错哦 收藏了
回复

使用道具 举报

651604513 发表于 2009-11-26 14:31:04 | 显示全部楼层
收藏起来了
1
回复

使用道具 举报

9#
无效楼层,该帖已经被删除
语童潆 发表于 2009-12-21 18:05:09 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-12-25 16:56 , Processed in 0.031311 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表