用ASP做一个TOP COOL的站内搜索。

80酷酷网    80kuku.com

  该搜索引擎由一个HTM文件一个ASP文件组成,主要是运用FILESYSTEMOBJECT组件来达到目的,功能强大,修改界面以后可以直接拿来使用,当然加上一点自己的东西就更加好了。

searchpage.htm
该HTM文件用来传入条件

<HTML>
    <HEAD>
        <TITLE>ASP搜索引擎范例</TITLE>
    </HEAD>
    <BODY>
        <CENTER>
            <FORM METHOD=POST ACTION="search.asp">
                
    <TABLE BGCOLOR="#CC6633" BORDER="0">
      <TR>
                        
        <TD ROWSPAN="3" BGCOLOR="#CC6633" width="21" nowrap>  </TD>
                        
        <TD width="363" nowrap> <FONT COLOR="#FFFFFF">
          <INPUT TYPE="text" NAME="SearchText" SIZE="22">
                                <INPUT TYPE="checkbox" NAME="Case">
          高度敏感</FONT> </TD>
                        
        <TD ROWSPAN="3" width="10">
          <INPUT TYPE="submit" VALUE="确定">
                                <P>
                            
            <INPUT TYPE="reset" VALUE="清除">
                        </TD>
                        
        <TD ROWSPAN="3" BGCOLOR="#CC6633" width="28">  </TD>
                    </TR>
                    <TR>
                        
        <TD width="363" nowrap> <FONT COLOR="#FFFFFF"> 返回结果
          <SELECT name="rLength" >
            <option value="200" selected>长信息 </option>
            <option value="100">短信息</option>
            <option value="0">只返回连接</option>
          </SELECT>
                                <SELECT NAME="rResults">
                                    <O

分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: