setPageTitle("Search HiredGoons.ca"); $currBanner->addContent("Where the hell did you put all the stuff??"); ?>

So you think I have something, but can't figure out my godawful navigation? Try this.

Query Results"); // include the necessary file require("$_SERVER[DOCUMENT_ROOT]/lib/SOAP_google.inc.php"); $google = new SOAP_Google('skCp0fJQFHJ9hFFNutkLk3mafAuU9P5Y'); $result = $google->search( array( 'query' => "$_REQUEST[query] site:www.hiredgoons.ca" ) ); if (false !== $result) { /* print("
");
	  print_r($result);
	  print("
"); reset($result); */ $num = $result->estimatedTotalResultsCount; $searchTime = $result->searchTime; $elements = $result->resultElements; $list = ''; if ($num > 0) { foreach ($elements as $item) { $size = $item->cachedSize; $title = $item->title; $url = $item->URL; $snippet = $item->snippet; $desc = "

$title - $url [Size: $size]

"; $desc .= "\n
$snippet
\n\n"; $list .= $desc; } } $output = "$num results returned in $searchTime seconds:\n\n$list"; print($output); } else { echo 'Query failed.'; } } else { ?>

Text to search for:

Powered by Google using the Web API, with a component from Sebastian Bergmann and some output formatting code from Simon Willison.