mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-27 22:42:57 +00:00
trying out some search stuff...
This commit is contained in:
parent
6f7442a010
commit
81b0ff25f6
1 changed files with 14 additions and 10 deletions
|
@ -13,6 +13,7 @@
|
|||
$parseMe = dbmfetch($dbm, $string);
|
||||
}
|
||||
dbmclose($dbm);
|
||||
if ($parseMe) {
|
||||
$filenames = preg_split("/&&/", $parseMe);
|
||||
for ($i = 0;$i < sizeof($filenames);$i++) {
|
||||
$temp = $filenames[$i];
|
||||
|
@ -25,6 +26,9 @@
|
|||
while (list($key,$val) = each ($files)) {
|
||||
echo "<P><A HREF=\"$key\">$key</A> - $val hits";
|
||||
}
|
||||
} else {
|
||||
echo "<P>Sorry, no pages found containing $string";
|
||||
}
|
||||
require("parts/postamble.php"); // Finish this sucker up
|
||||
else {
|
||||
// Preamble
|
||||
|
|
Loading…
Reference in a new issue