"Fossies" - the Fresh Open Source Software Archive

Member "3.2.11/src/search.htm-dist" (17 Jul 2005, 13517 Bytes) of package /linux/www/old/mnogosearch-php-3.2.11.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!--
    2 
    3     This is default template file for mnoGoSearch 3.2
    4     (C) 1999-2002, mnoGoSearch developers team <devel@mnogosearch.org>
    5 
    6     Please rename to search.htm and edit as desired.
    7     See doc/README.templates for detailed information.
    8     You may want to keep the original file for future reference.
    9 
   10     WARNING: Use proper chmod to protect your passwords!
   11 -->
   12 
   13 <!--variables
   14 # Database parameters are to be used with SQL backend
   15 # and do not matter for built-in text files support
   16 # Format (for mnogo-3.2.4 and below): <DBType>:[//[DBUser[:DBPass]@]DBHost[:DBPort]]/DBName/
   17 # Format (for mnogo-3.2.5+): <DBType>:[//[DBUser[:DBPass]@]DBHost[:DBPort]]/DBName/[?dbmode=mode]
   18 DBAddr	mysql://udm:udm@localhost/udm/?dbmode=single
   19 
   20 # Uncomment this line to enable search result cache
   21 #Cache yes
   22 
   23 # Uncomment this line if you want to detect and show clones
   24 #DetectClones yes
   25 
   26 # Use proper local and browser charsets
   27 # Examples:
   28 
   29 #LocalCharset	utf-8
   30 #BrowserCharset	utf-8
   31 
   32 LocalCharset   koi8-r
   33 BrowserCharset koi8-r
   34 
   35 # For cache mode and built-in database 
   36 # you may choose alternative working directory
   37 #VarDir /usr/local/mnogosearch/var
   38 
   39 # Load stopwords file.  File name is either absolute
   40 # or relative to /etc directory of mnoGoSearch installation.
   41 #
   42 #StopwordFile stopwords/en.sl
   43 #StopwordFile stopwords/ru.sl
   44 #
   45 
   46 #IspellUsePrefixes yes/no
   47 
   48 # a newer mnogosearch-3.2.x ispell affix commands
   49 #Affix en us-ascii /opt/udm/ispell/en.aff
   50 #Affix ru koi8-r /opt/udm/ispell/ru.aff
   51 #Spell en us-ascii /opt/udm/ispell/en.dict
   52 #Spell ru koi8-r /opt/udm/ispell/ru.dict
   53 
   54 # Word lengths
   55 MinWordLength 1
   56 MaxWordLength 32
   57 
   58 #
   59 # How to hilight searched words.
   60 #
   61 HlBeg	<font color="000088"><b>
   62 HlEnd	</b></font>
   63 
   64 # Load synonyms file.  File name is either absolute
   65 # or relative to /etc directory of mnoGoSearch installation.
   66 #
   67 #Synonym /opt/udm/synonym/english.syn
   68 #Synonym /opt/udm/synonym/russian.syn
   69 
   70 #Alias <find-prefix> <replace-prefix>
   71 #Alias http://localhost/ http://server.domain/
   72 
   73 # Grouping results by site (requires mnogosearch-3.2.7+)
   74 # GroupBySite yes
   75 
   76 # Uncoment this line to change default maximal excerpt size. Default value is 256
   77 # (requires mnogosearch-3.2.16+)
   78 #ExcerptSize 1024                                                               
   79 #                                                                               
   80 
   81 # Uncomment this line to change number of characters before and after search words
   82 # in excerpts. Default value is 40. 
   83 # (requires mnogosearch-3.2.16+)
   84 #ExcerptPadding 64
   85 #
   86                                                                                 
   87 # Uncomment this line to change Last-Modified format output                     
   88 # Use strftime function meta variables                                          
   89 #DateFormat %d %b %Y %X %Z                                                      
   90 
   91 # Uncomment to limit maximum number of results
   92 #ResultsLimit 1000
   93 
   94 # Uncomment this line if you want to generate misspelled
   95 # search word suggestions. You need to run "indexer -Ewrdstat"
   96 # before using this feature.
   97 #
   98 #Suggest yes
   99 
  100 #-------------------------------------------------
  101 # obsolete (mnogosearch-3.1.x or 3.2 old versions specific parameters)
  102 
  103 # Choose storage mode (for mnogosearch-3.2.4 or earlier):
  104 #DBMode  single
  105 #DBMode  multi
  106 #DBMode  crc
  107 #DBMode  crc-multi
  108 #DBMode  cache
  109 
  110 # Uncomment this line to enable query tracking facility
  111 # Use trackquery parameter in DBAddr command if using with mnogosearch-3.2.13+
  112 #TrackQuery yes
  113 
  114 #IspellMode text
  115 
  116 # Uncomment if index was built with phrase support
  117 #Phrase yes
  118 
  119 # Load stopwords from SQL table
  120 #StopwordTable stopword
  121 
  122 # old mnogosearch-3.1.x ispell affix commands
  123 #Affix en /opt/udm/ispell/en.aff
  124 #Affix ru /opt/udm/ispell/ru.aff
  125 #Spell en /opt/udm/ispell/en.dict
  126 #Spell ru /opt/udm/ispell/ru.dict
  127 
  128 # Searchd address - only for mnogosearch - 3.2.3 or earlier ! 
  129 #SearchdAddr localhost
  130 
  131 # Uncomment this line to enable document presence check at stored
  132 # (not used with mnogosearch-3.2.16+)
  133 #StoredAddr localhost
  134 
  135 # URL basis for storedoc.cgi
  136 # (not used with mnogosearch-3.2.16+)
  137 #StoredocURL     /cgi-bin/storedoc.cgi
  138 
  139 -->
  140 
  141 <!--top-->
  142 <HTML>
  143 <HEAD>
  144  <TITLE>mnoGoSearch: $Q</TITLE>
  145 </HEAD>
  146 
  147 <body BGCOLOR="#FFFFFF" LINK="#0050A0" VLINK="#0050A0" ALINK="#0050A0">
  148 <center>
  149 
  150 <FORM METHOD=GET ACTION="$A">
  151 <table bgcolor=#eeeee0 border=0 width=100%>
  152 <tr><td>
  153 <BR>
  154 <INPUT TYPE="hidden" NAME="ps" VALUE="10">
  155 Search for: <INPUT TYPE="text" NAME="q" SIZE=50 VALUE="$Q">
  156 <INPUT TYPE="submit" VALUE="Search!"><BR>
  157 
  158 Results per page:
  159 <SELECT NAME="ps">
  160 <OPTION VALUE="10" SELECTED="$ps">10
  161 <OPTION VALUE="20" SELECTED="$ps">20
  162 <OPTION VALUE="50" SELECTED="$ps">50
  163 </SELECT>
  164 
  165 Output format:
  166 <SELECT NAME="o">
  167 <OPTION VALUE="0" SELECTED="$o">Long
  168 <OPTION VALUE="1" SELECTED="$o">Short
  169 <OPTION VALUE="2" SELECTED="$o">URL
  170 </SELECT>
  171 
  172 Match:
  173 <SELECT NAME="m">
  174 <OPTION VALUE="all"    SELECTED="$m">All
  175 <OPTION VALUE="any"    SELECTED="$m">Any
  176 <OPTION VALUE="bool"   SELECTED="$m">Boolean
  177 <!--
  178 <OPTION VALUE="phrase" SELECTED="$m">Full phrase
  179 -->
  180 </SELECT>
  181 
  182 Search for:
  183 <SELECT NAME="wm">
  184 <OPTION VALUE="wrd" SELECTED="$wm">Whole word
  185 <OPTION VALUE="beg" SELECTED="$wm">Beginning
  186 <OPTION VALUE="end" SELECTED="$wm">Ending
  187 <OPTION VALUE="sub" SELECTED="$wm">Substring
  188 </SELECT>
  189 
  190 </td></tr>
  191 
  192 <tr><td>
  193 
  194 Search through:
  195 <SELECT NAME="ul" multiple>
  196 <OPTION VALUE=""            SELECTED="$ul">Entire site
  197 <OPTION VALUE="/php/"    SELECTED="$ul">PHP Docs
  198 <OPTION VALUE="/mysql/"    SELECTED="$ul">Mysql Docs
  199 <OPTION VALUE="/apache-manual/"   SELECTED="$ul">Apache Manual
  200 </SELECT>
  201 
  202 
  203 Language:
  204 <SELECT NAME="lang" multiple>
  205 <OPTION VALUE=""	SELECTED="$lang">Any
  206 <OPTION VALUE="en"	SELECTED="$lang">English
  207 <OPTION VALUE="ru"	SELECTED="$lang">Russian
  208 <OPTION VALUE="de"	SELECTED="$lang">German
  209 </SELECT>
  210 
  211 Restrict search:
  212 <SELECT NAME="tag" multiple>
  213 <OPTION VALUE="" SELECTED="$tag">All sites
  214 <OPTION VALUE="A" SELECTED="$tag">Group 1
  215 <OPTION VALUE="C" SELECTED="$tag">Group 2
  216 <OPTION VALUE="D" SELECTED="$tag">Group 3
  217 </SELECT>
  218 
  219 </td></tr>
  220 
  221 <tr><td>
  222 
  223 in:
  224 <SELECT NAME="wf">
  225 <OPTION VALUE="2221"  SELECTED="$wf">all sections
  226 <OPTION VALUE="2000"  SELECTED="$wf">Description
  227 <OPTION VALUE="0200"  SELECTED="$wf">Keywords
  228 <OPTION VALUE="0020"  SELECTED="$wf">Title
  229 <OPTION VALUE="0001"  SELECTED="$wf">Body
  230 </SELECT>
  231 
  232 <!-- Uncomment this to limit database subsection by "content_type" -->
  233 Search through:
  234 <SELECT NAME="type">
  235 <OPTION VALUE=""  SELECTED="$type">all types
  236 <OPTION VALUE="text/html" SELECTED="$type">text/html
  237 <OPTION VALUE="text/plain" SELECTED="$type">text/plain
  238 </SELECT>
  239 
  240 Sort by:
  241 <select name="s">
  242 <OPTION VALUE="RPD"  SELECTED="$s">Relevancy
  243 <OPTION VALUE="DRP"  SELECTED="$s">Last Modified Date
  244 </select>     
  245 
  246 </td></tr>
  247 
  248 <tr><td>
  249 
  250 Find word forms:
  251 <SELECT NAME="sp">
  252 <OPTION VALUE="1"  SELECTED="$sp">Yes
  253 <OPTION VALUE="0"  SELECTED="$sp">No
  254 </SELECT>
  255 
  256 Find synonyms:
  257 <SELECT NAME="sy">
  258 <OPTION VALUE="1"  SELECTED="$sy">Yes
  259 <OPTION VALUE="0"  SELECTED="$sy">No
  260 </SELECT>
  261 
  262 </td></tr>
  263 
  264 <!-- 'search with time limits' options -->
  265 <!--
  266 <TR><TD>
  267 <TABLE CELLPADDING=2 CELLSPACING=0 BORDER=0>
  268 <CAPTION>
  269 Limit results to pages published within a specified period of time.<BR>
  270 <FONT SIZE=-1><I>(Please select only one option)</I></FONT>
  271 </CAPTION>
  272 <TR> 
  273 <TD VALIGN=center><INPUT TYPE=radio NAME="dt" VALUE="back" CHECKED></TD>
  274 <TD><SELECT NAME="dp">
  275 <OPTION VALUE="0" SELECTED="$dp">anytime
  276 <OPTION VALUE="10M" SELECTED="$dp">in the last ten minutes
  277 <OPTION VALUE="1h" SELECTED="$dp">in the last hour
  278 <OPTION VALUE="7d" SELECTED="$dp">in the last week
  279 <OPTION VALUE="14d" SELECTED="$dp">in the last 2 weeks
  280 <OPTION VALUE="1m" SELECTED="$dp">in the last month
  281 <OPTION VALUE="3m" SELECTED="$dp">in the last 3 months
  282 <OPTION VALUE="6m" SELECTED="$dp">in the last 6 months
  283 <OPTION VALUE="1y" SELECTED="$dp">in the last year
  284 <OPTION VALUE="2y" SELECTED="$dp">in the last 2 years
  285 </SELECT>
  286 </TD>
  287 </TR>
  288 <TR>
  289 <TD VALIGN=center><INPUT type=radio NAME="dt" VALUE="er">
  290 </TD>
  291 <TD><SELECT NAME="dx">
  292 <OPTION VALUE="1" SELECTED="$dx">After
  293 <OPTION VALUE="-1" SELECTED="$dx">Before
  294 </SELECT>
  295 
  296 or on
  297 
  298 <SELECT NAME="dm">
  299 <OPTION VALUE="0" SELECTED="$dm">January
  300 <OPTION VALUE="1" SELECTED="$dm">February
  301 <OPTION VALUE="2" SELECTED="$dm">March
  302 <OPTION VALUE="3" SELECTED="$dm">April
  303 <OPTION VALUE="4" SELECTED="$dm">May
  304 <OPTION VALUE="5" SELECTED="$dm">June
  305 <OPTION VALUE="6" SELECTED="$dm">July
  306 <OPTION VALUE="7" SELECTED="$dm">August
  307 <OPTION VALUE="8" SELECTED="$dm">September
  308 <OPTION VALUE="9" SELECTED="$dm">October
  309 <OPTION VALUE="10" SELECTED="$dm">November
  310 <OPTION VALUE="11" SELECTED="$dm">December
  311 </SELECT>
  312 <INPUT TYPE=text NAME="dd" VALUE="$dd" SIZE=2 maxlength=2>
  313 ,
  314 <SELECT NAME="dy" >
  315 <OPTION VALUE="1990" SELECTED="$dy">1990
  316 <OPTION VALUE="1991" SELECTED="$dy">1991
  317 <OPTION VALUE="1992" SELECTED="$dy">1992
  318 <OPTION VALUE="1993" SELECTED="$dy">1993
  319 <OPTION VALUE="1994" SELECTED="$dy">1994
  320 <OPTION VALUE="1995" SELECTED="$dy">1995
  321 <OPTION VALUE="1996" SELECTED="$dy">1996
  322 <OPTION VALUE="1997" SELECTED="$dy">1997
  323 <OPTION VALUE="1998" SELECTED="$dy">1998
  324 <OPTION VALUE="1999" SELECTED="$dy">1999
  325 <OPTION VALUE="2000" SELECTED="$dy">2000
  326 <OPTION VALUE="2001" SELECTED="$dy">2001
  327 </SELECT>
  328 </TD>
  329 </TR>
  330 <TR>
  331 <TD VALIGN=center><INPUT TYPE=radio NAME="dt" VALUE="range">
  332 </TD>
  333 <TD>
  334 Between
  335 <INPUT TYPE=text NAME="db" VALUE="$db" SIZE=11 MAXLENGTH=11>
  336 and
  337 <INPUT TYPE=text NAME="de" VALUE="$de" SIZE=11 MAXLENGTH=11>
  338 </TD>
  339 </TR>
  340 </TABLE>
  341 
  342 </TD></TR>
  343 -->
  344 <!-- end of stl options -->
  345 
  346 <!-- categories stuff -->
  347 <!--
  348 <tr><td>$CP</td></tr>
  349 <tr><td>$CS</td></tr>-->
  350 <input type=hidden name=cat value="$cat">
  351 <!-- categories stuff end -->
  352 
  353 </table>
  354 </form>
  355 </center>
  356 <!--/top-->
  357 
  358 <!--stored-->
  359 <DD><a href="$(stored_href)" target=_blank>Cached copy</a></DD>
  360 <!--/stored-->
  361 
  362 <!--site_limit-->
  363 <DD><small><a href="$(sitelimit_href)">More result from this site ($(PerSite) total)</a></small></DD>
  364 <!--/site_limit-->
  365 
  366 <!--clone-->
  367 <li><A HREF="$DU" TARGET="_blank">$DU</A> ($DC) $DM, $DS bytes
  368 <!--/clone-->
  369 
  370 <!--restop-->
  371 <table bgcolor=#EEEEEE width=100% border=0>
  372   <tr>
  373     <td>
  374       <small>Search for <b>$Q</b>.</small>
  375       <small>Search results: <b>$W</b>.</small>
  376     </td>
  377     <td>
  378       <small>Results <b>$f-$l</b> of <B>$t</B>.</small>
  379       <small>Search took <b>$SearchTime</b> seconds</small>
  380     </td>
  381   </tr>
  382 </table>
  383 <!--/restop-->
  384 <!--res-->
  385 <DL><DT>
  386 <b>$DN.</b><a href="$DU" TARGET="_blank"><b>$DT</b></a>
  387 [<b>$DR</b>, Popularity: <b>$(Pop_Rank)</b>]<DD>
  388 $DE...<BR>$DX
  389 <UL>
  390 <li><A HREF="$DU" TARGET="_blank">$DU</A> ($DC) $DM, $DS bytes
  391 $CL
  392 </UL>
  393 $(STORED)
  394 $(SITELIMIT)
  395 </DL>
  396 <!--/res-->
  397 
  398 <!--ftpres-->
  399 <DL><DT>
  400 <b>$DN.</b> <a href="$DU" TARGET="_blank"><b>$DT</b></a> [<b>$DR</b>]<DD>
  401 <UL>
  402 <li><A HREF="$DU" TARGET="_blank">$DU</A> ($DC) $DM, $DS bytes
  403 $CL
  404 </UL>
  405 </DL>
  406 <!--/ftpres-->
  407 
  408 <!--resbot-->
  409 <HR>
  410 <CENTER>
  411 $V
  412 </CENTER>
  413 <!--/resbot-->
  414 
  415 
  416 
  417 
  418 
  419 <!--restop-->
  420 Search results:
  421 <small>$W</small><HR>                                                                            
  422 Displaying documents $f-$l of total <B>$t</B> found.
  423 <!--/restop-->
  424 <!--res-->
  425 <DL><DT>
  426 <b>$DN.</b> <a href="$DU" TARGET="_blank"><b>&nbsp; $DT</b></a> [<b>$DR</b>]<DD>
  427 </DL>
  428 <!--/res-->
  429 <!--resbot-->
  430 <HR>
  431 <CENTER>
  432 $V
  433 </CENTER>
  434 <!--/resbot-->
  435 
  436 
  437 
  438 <!--restop-->
  439 Search results:
  440 <small>$W</small><HR>
  441 Displaying documents $f-$l of total <B>$t</B> found.
  442 <!--/restop-->
  443 <!--res-->
  444 <DL><DT>
  445 <b>$DN.</b> <a href="$DU" TARGET="_blank"><b>$DU</b></a> [<b>$DR</b>]<DD>
  446 </DL>
  447 <!--/res-->
  448 <!--resbot-->
  449 <HR>
  450 <CENTER>
  451 $V
  452 </CENTER>
  453 <!--/resbot-->
  454 
  455 
  456 
  457 
  458 <!--clone-->
  459 <li><A HREF="$DU" TARGET="_blank">$DU</A> ($DC) $DM
  460 <!--/clone-->
  461 
  462 <!--navigator-->
  463 <TABLE BORDER=0><TR>$NL $NB $NR</TR></TABLE>
  464 <!--/navigator-->
  465 
  466 <!--navleft-->
  467 <TD><A HREF="$NH">Prev</A></TD>
  468 <!--/navleft-->
  469 
  470 <!--navleft_nop-->
  471 <TD><FONT COLOR="#707070">Prev</FONT></TD>
  472 <!--/navleft_nop-->
  473 
  474 <!--navbar1-->
  475 <TD><A HREF="$NH">$NP</A></TD>
  476 <!--/navbar1-->
  477 
  478 <!--navbar0-->
  479 <TD>$NP</TD>
  480 <!--/navbar0-->
  481 
  482 <!--navright-->
  483 <TD><A HREF="$NH">Next</TD>
  484 <!--/navright-->
  485 
  486 <!--navright_nop-->
  487 <TD><FONT COLOR="#707070">Next</FONT></TD>
  488 <!--/navright_nop-->
  489 
  490 
  491 <!--notfound-->
  492 <!--
  493 Did you mean <b><a href="?q=$%(WS)">$(WS)</a></b> ?
  494 -->
  495 
  496 Search Time: $SearchTime<br>
  497 Search results:
  498 <small>$W</small><HR>
  499 <CENTER>
  500 Sorry, but search returned no results.<P>
  501 <I>Try to produce less restrictive search query.</I>
  502 </CENTER>
  503 <!--/notfound-->
  504 
  505 <!--error-->
  506 <CENTER>
  507 <FONT COLOR="#FF0000">An error occured!</FONT>
  508 <P><B>$E</B>
  509 </CENTER>
  510 <!--/error-->
  511 
  512 
  513 <!--noquery-->
  514 <FONT COLOR=red>You should give at least one word to search for.</FONT>
  515 <!--/noquery-->
  516 
  517 
  518 <!--bottom-->
  519 <HR>
  520 <CENTER>
  521 <a href="http://www.mnogosearch.ru/"><IMG BORDER=0 SRC="http://www.mnogosearch.ru/img/udm.gif"></A>
  522 <FONT SIZE=1><A HREF="http://www.mnogosearch.org/">Powered by mnoGoSearch - free web search engine software</A></FONT>
  523 </CENTER>
  524 </BODY>
  525 </HTML>
  526 <!--/bottom-->
  527 
  528 <!--storedoc_top-->
  529 <BASE HREF="$(URL)">
  530 
  531 <table border="1" cellpadding="2" cellspacing="0"><tr>
  532 <td><b>Document ID:</b> $(ID)</td>
  533 <td><b>Last modified:</b> $(Last-Modified)</td>
  534 <td><b>Language:</b> $(Content-Language)</td>
  535 <td><b>Charset:</b> $(Charset)</td>
  536 <td><b>Size:</b> $(Content-Length)</td>
  537 </tr></table>
  538 <hr>
  539 <!--/storedoc_top-->
  540 
  541 <!--storedoc-->
  542 $(document)
  543 <!--/storedoc-->
  544 
  545 <!--storedoc_bottom-->
  546 <HR>
  547 <CENTER>
  548 <a href="http://www.mnogosearch.ru/"><IMG BORDER=0 SRC="http://www.mnogosearch.ru/img/udm.gif"></A>
  549 <FONT SIZE=1><A HREF="http://www.mnogosearch.org/">Powered by mnoGoSearch - free web search engine software</A></FONT>
  550 </CENTER>
  551 <!--/storedoc_bottom-->