user_auth; $start_time = microtime(true); /* ------------------------------------------------------------------------------------ * Goosle - The fast, privacy oriented search tool that just works. * * COPYRIGHT NOTICE * Copyright 2023-2024 Arnan de Gans. All Rights Reserved. * * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT. * By using this code you agree to indemnify Arnan de Gans from any * liability that might arise from its use. ------------------------------------------------------------------------------------ */ ?> Goosle Search Results type == "9") { echo " "; } ?> hash_auth, $opts->hash, $auth)) { ?>

Goosle

" name="q" />
query)) { // Curl $mh = curl_multi_init(); // Load search script if($opts->type == 0) { require ABSPATH.'engines/search.php'; $search = new Search($opts, $mh); } else if($opts->type == 1) { require ABSPATH.'engines/search-image.php'; $search = new ImageSearch($opts, $mh); } else if($opts->type == 2) { require ABSPATH.'engines/search-news.php'; $search = new NewsSearch($opts, $mh); } else if($opts->type == 9) { require ABSPATH.'engines/search-magnet.php'; $search = new MagnetSearch($opts, $mh); } $running = null; do { $status = curl_multi_exec($mh, $running); if($running) { curl_multi_select($mh); } } while ($running && $status == CURLM_OK); $results = $search->get_results(); curl_multi_close($mh); // Add elapsed time to results $results['time'] = number_format(microtime(true) - $start_time, 5, '.', ''); // Echoes results and special searches $search->print_results($results, $opts); } else { echo "
"; echo "

Search query can not be empty!

"; echo "

Not sure what went wrong? Learn more about hash."\" title=\"how to use Goosle!\">how to use Goosle.

"; echo "
"; } ?>
Goosle"; } ?>