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 denied by bad refereeing in Madrid

(April 17, 2017 – Source: Gonzalo Arroyo Moreno/Getty Images Europe via zimbio.com)

Bayern Munich took on Real Madrid in the Spanish capital on Tuesday in a memorable quarterfinal second leg of the UEFA Champions League. The game had everything one could wish for, except good officiating.

It went back and forth and into extra time, before the crew of otherwise widely-respected Hungarian referee Victor Kassai took Real over the top.

After last week’s 2-1 defeat at home, the Bavarians had a long way to go, to come back from the deficit.
The first half in Madrid produced several chances at both ends, but no goals.

Bayern Munich controlled most of the second half and forced their opponents into defensive errors.
A foul by Casemiro on Arjen Robben in the penalty area, sent Robert Lewandowski to the spot, 1-0 Bayern early in the second half. The Bavarians needed at least another goal to advance and pushed forward accordingly.

However, the next goal came from Real Madrid’s Cristiano Ronaldo, before the captain of Madrid Sergio Ramos scored an own goal, making it 2-1 Bayern and sending the match into extra time.

Despite the harsh dismissal of Bayern’s Arturo Vidal, that left his team with ten men late in regulation time, it was the Munich side that seemed more likely to score in the following minutes.

Instead, it was Ronaldo who scored two given goals from offside positions and Marco Asensio who also struck to make it a 4-2 final score for Madrid.

Apart from the sending off for Vidal and two incorrect goals by Ronaldo, there were other key mistakes that referee Kassai and his crew made in favor of the home team.

Soon after having scored the opening goal, Lewandowski had a fantastic chance to make it 2-0, as he was in on goal, but wrongly flagged offside. Furthermore, Casemiro was allowed to stay in the game, despite a number of  fouls he made after having been booked.

The officials clearly ruined an otherwise fantastic game, which makes the case for video refereeing. The knockout stage of the Champions League is far too important to be left subject to human error.

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 *