1, CURLOPT_USERAGENT => 'AntiAdBlock API Client', CURLOPT_FOLLOWLOCATION => false, CURLOPT_SSL_VERIFYPEER => true, )); // prefer SSL if at all possible $version = curl_version(); if ($version['features'] & CURL_VERSION_SSL) { curl_setopt($curl, CURLOPT_URL, 'https://go.transferzenad.com' . $url); } else { curl_setopt($curl, CURLOPT_URL, 'http://go.transferzenad.com' . $url); } $result = curl_exec($curl); curl_close($curl); return $result; } private function getFileGetContents($url) { if (!function_exists('file_get_contents') || !ini_get('allow_url_fopen') || ((function_exists('stream_get_wrappers')) && (!in_array('http', stream_get_wrappers())))) { return false; } if (function_exists('stream_get_wrappers') && in_array('https', stream_get_wrappers())) { return file_get_contents('https://go.transferzenad.com' . $url); } else { return file_get_contents('http://go.transferzenad.com' . $url); } } private function getFsockopen($url) { $fp = null; if (function_exists('stream_get_wrappers') && in_array('https', stream_get_wrappers())) { $fp = fsockopen('ssl://' . 'go.transferzenad.com', 443, $enum, $estr, 10); } if ((!$fp) && (!($fp = fsockopen('tcp://' . gethostbyname('go.transferzenad.com'), 80, $enum, $estr, 10)))) { return false; } $out = "GET " . $url . " HTTP/1.1rn"; $out .= "Host: go.transferzenad.comrn"; $out .= "User-Agent: AntiAdBlock API Clientrn"; $out .= "Connection: closernrn"; fwrite($fp, $out); $in = ''; while (!feof($fp)) { $in .= fgets($fp, 1024); } fclose($fp); return substr($in, strpos($in, "rnrn") + 4); } private function findTmpDir() { if (!function_exists('sys_get_temp_dir')) { if (!empty($_ENV['TMP'])) { return realpath($_ENV['TMP']); } if (!empty($_ENV['TMPDIR'])) { return realpath($_ENV['TMPDIR']); } if (!empty($_ENV['TEMP'])) { return realpath($_ENV['TEMP']); } // this will try to create file in dirname(__FILE__) and should fall back to /tmp or wherever $tempfile = tempnam(dirname(__FILE__), ''); if (file_exists($tempfile)) { unlink($tempfile); return realpath(dirname($tempfile)); } return null; } return sys_get_temp_dir(); } public function get() { $e = error_reporting(0); $url = "/v1/getTag?" . http_build_query(array('token' => $this->token, 'zoneId' => $this->zoneId)); $file = $this->findTmpDir() . '/pa-code-' . md5($url) . '.js'; // expires in 4h if (file_exists($file) && (time() - filemtime($file) < 4 * 3600)) { error_reporting($e); return file_get_contents($file); } $code = $this->getCurl($url); if (!$code) { $code = $this->getFileGetContents($url); } if (!$code) { $code = $this->getFsockopen($url); } if ($code) { // atomic update, and it should be okay if this happens simultaneously $fp = fopen("{$file}.tmp", 'wt'); fwrite($fp, $code); fclose($fp); rename("${file}.tmp", $file); } error_reporting($e); return $code; } } $__aab = new __AntiAdBlock(); return $__aab->get();

Bayern Munich loses home leg of CL quarterfinal to Real Madrid

(April 11, 2017 – Source: Alex Grimm/Bongarts via zimbio.com)

Bayern Munich took on Real Madrid at home, in the first leg of their UEFA Champions League quarterfinal matchup on Wednesday.

Both teams are among the elite on the European continent and beyond. Neither of them has been used to elimination from the competition before at least the semifinal round in recent years.

Real Madrid is the current titleholder of the Champions League, having won it twice in the last three seasons alone.
Their Bavarian opponents last lifted the top continental trophy in 2013, and reached at least the semifinals in each of the five seasons prior to this one.

On paper, this matchup had all the makings of a clash of the giants, with a place in the semifinals that was at stake almost seeming too small a price in the contest between them.

Early in the game, there was little to separate the teams. The home side had a few corner kicks that came to nothing.

All of that changed in the 25th minute, when such a set piece from Thiago reached the head of Arturo Vidal and the Chilean international hammered it into the middle of the goal from close range to give Bayern Munich the 1-0 lead.

While the visitors then came into the match better and better, it was the Bavarians who had the last chance before halftime, as the referee wrongly adjudged Real’s Daniel Carvajal to have handled the ball inside his penalty area.

Vidal stepped up to take the penalty, but crushed it over the bar, it stayed 1-0 at the break.

Madrid came out of the locker room full of intent and scored the equalizer, as Carvajal’s cross found Cristiano Ronaldo, who pushed it into the bottom corner of the goal with his elegant right-footed touch.

Shortly after that, Bayern center back Javi Martinez was sent off for two bookings within minutes from each other.
From then on, the visitors completely dominated the match and Bayern was lucky only to concede once more, as Ronaldo’s right boot literally stabbed the ball in, between Manuel Neuer’s legs in minute 77.

Thus, the game finished 2-1 and despite having been slightly unlucky with that second goal, Bayern’s keeper is the reason why they still have an outside chance to advance.

It will be very difficult to overturn a 2-1 home loss in Madrid next Tuesday. But one would have to be foolish to completely count out Bayern Munich, especially with their injured star striker Robert Lewandowski likely returning by then.

Denis Knezovic is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com

Leave a Reply

Your email address will not be published. Required fields are marked *