2000-10-28 13:00:55 +00:00
|
|
|
<?
|
|
|
|
switch ($type_of_search) {
|
|
|
|
case "news":
|
|
|
|
$string = AddSlashes ($words);
|
2007-03-18 04:34:44 +00:00
|
|
|
include "old_news.php";
|
2000-10-28 13:00:55 +00:00
|
|
|
break;
|
|
|
|
case "-announce":
|
|
|
|
$string = urlencode ($words);
|
|
|
|
header ("Location: http://www.geocrawler.com/search/?config=3792&words=$string");
|
|
|
|
break;
|
|
|
|
case "-bugs":
|
|
|
|
$string = urlencode ($words);
|
|
|
|
header ("Location: http://www.geocrawler.com/search/?config=7109&words=$string");
|
|
|
|
break;
|
|
|
|
case "-cvs":
|
|
|
|
$string = urlencode ($words);
|
|
|
|
header ("Location: http://www.geocrawler.com/search/?config=899&words=$string");
|
|
|
|
break;
|
|
|
|
case "-devel":
|
|
|
|
$string = urlencode ($words);
|
|
|
|
header ("Location: http://www.geocrawler.com/search/?config=856&words=$string");
|
|
|
|
break;
|
|
|
|
case "-user":
|
|
|
|
$string = urlencode ($words);
|
|
|
|
header ("Location: http://www.geocrawler.com/search/?config=898&words=$string");
|
|
|
|
break;
|
|
|
|
default:
|
2007-03-18 04:34:44 +00:00
|
|
|
$site = URLEncode ("quakeforge.net");
|
|
|
|
$string = URLEncode ($words);
|
|
|
|
header ("Location: http://www.google.com/custom?domains=$site&sitesearch=$site&q=$words");
|
2000-10-28 13:00:55 +00:00
|
|
|
break;
|
|
|
|
}
|
2007-03-18 04:34:44 +00:00
|
|
|
?>
|