cvs: phpweb / search.php
| From: | Mark Kronsbein | Date: | Thu, 26 Sep 2002 17:55:33 +0000 |
| Subject: | cvs: phpweb / search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-12798@lists.php.net to get a copy of this message | ||
mk Thu Sep 26 13:55:33 2002 EDT
Modified files:
/phpweb search.php
Log:
Adding links to AllTheWeb and Google, if there is no search result
Index: phpweb/search.php
diff -u phpweb/search.php:1.32 phpweb/search.php:1.33
--- phpweb/search.php:1.32 Sun Sep 15 07:33:29 2002
+++ phpweb/search.php Thu Sep 26 13:55:32 2002
@@ -174,7 +174,10 @@
}
if ($result[2] == "NOMATCH") {
echo "Sorry, no documents matched your search for
<b>"".htmlspecialchars($pattern).""</b>.<br><br>";
- echo "Click here for a <a href=\"$sourceurl\">New
Search</a><br><br>\n";
+ echo "Continue your search at ";
+ echo "<a href=\"http://www.alltheweb.com/seatch?q=".htmlspecialchars($pattern)."\">AllTheWeb</a>
";
+ echo "or <a href=\"http://www.google.com/search?q=".htmlspecialchars($pattern)."\">Google</a><br><br>";
+ echo "Click here for a <a href=\"$sourceurl\">New Search</a> on the
PHP website<br><br>\n";
commonFooter();
exit;
}