Search
 

 

">
 
'; $microtime = microtime(); $microsecs = substr($microtime, 2, 8); $secs = substr($microtime, 11); $start_time = "$secs.$microsecs"; $sizetotal = 0; if ( ereg ( "[>
There were found unpermitted symbols in the searched page. - ( )


Search with less than 3 symbols is not being elaborated.

$value) // выбираем строку { if($allwords > 1) // если более одного слова в запросе { if(preg_match_all("/".$searchstring."/i", $value, $ok, PREG_PATTERN_ORDER)) $new = str_replace($ok[0][0],''.trim($CONFIG[6]).$ok[0][0].''.trim($CONFIG[7]), $value); else $new = $value; if($new != $value) { $find++; $true = 1; $show[$find] = $new; $full_result++; } } for ($all = 0; $all < $allwords; $all++) // проходим по каждому из слов в запросе { $chekfull = explode(" ",$value); if(in_array($searchword[$all],$chekfull)) $full_result++; $long = strlen($searchword[$all]); if ($long > 5) { if(preg_match("/(у|ы|а|о|я|е|и|ь)$/i", $searchword[$all])) $long = -1; if(preg_match("/(и|е|о|а|ы|у)[еямюйивх]$/i", $searchword[$all])) $long = -2; $short = substr($searchword[$all],0,$long); if(preg_match_all("/".$short."/i", $value, $ok, PREG_PATTERN_ORDER)) $new = str_replace(PHPruLow($ok[0][0]),''.trim($CONFIG[6]).$ok[0][0].''.trim($CONFIG[7]), PHPruLow($value)); else $new = $value; if($new != $value) { $find++; $true = 1; $show[$find] = $new; } } else { $short = $searchword[$all]; if(preg_match_all("/".$short."/i", $value, $ok, PREG_PATTERN_ORDER)) $new = str_replace(PHPruLow($ok[0][0]),''.trim($CONFIG[6]).$ok[0][0].''.trim($CONFIG[7]), PHPruLow($value)); else $new = $value; if($new != $value) { $find++; $true = 1; $show[$find] = $new; } } } } if ($true !== 0) { $fulltrue = 1; echo '

'.$filename.'
Last update of the document. - '.$modify.',size - '.$filesize.'Kb
There was found '.$find.' results (same - '.$full_result.',similar - '.($find-$full_result).')
, such as...:'; if ($find > trim($CONFIG[1])) // ограничение количества выводимых строк $STROK = trim($CONFIG[1]); else $STROK = $find; for ($a = 1; $a < $STROK+1; $a++) // выводим совпадения построчно { echo '
  • ...'.$show[$a].'...
  • '; } } } if(!isset($fulltrue)) echo '
    Unfortunately, there is nothing found according to you search.; echo '

    Files were elaborated by '.$sizetotal.'Kb '.$count.' in files in '; $microtime = microtime(); $microsecs = substr($microtime, 2, 8); $secs = substr($microtime, 11); $end_time = "$secs.$microsecs"; $total = round(($end_time - $start_time),2); echo $total.'sec.

    '; //PHPruRw(); flush(); if (isset($_SERVER["REMOTE_ADDR"])) $IP = $_SERVER["REMOTE_ADDR"]; else $IP = 'No data'; $NEW = time().'^^'.$searchstring.'^^'.$_SERVER["HTTP_REFERER"].'^^'.$IP."\r\n"; PHPruSave($NEW,'sinc/query.php','a+'); } else echo 'No search!

    '; ?>
      © ACRA Credit Reporting 2005. Privacy Policy Terms and Conditions