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 beats PSG 1-0 in women’s Champions League last eight

©Getty Images (via uefa.com)

Until recently, the Bayern Munich women’s team did not play a major role in Germany, much less in Europe.

Two consecutive Women’s Bundesliga titles greatly enhanced their domestic reputation. The leadership of the famous club started to take notice of the success of its  female department, by celebrating these two titles jointly with the also-victorious men’s team in front of tens of thousands of fans.

But internationally, last season the young team failed in the Champions League at the first hurdle.

That was a painful slipup that everyone associated with the Bayern women wanted to put right this season. After easily brushing aside Scotland’s Hibernian and Russia’s Rossiyanka MO in the early rounds, the Bavarians reached the quarterfinals(for the first time in their history) against French giants Paris Saint-Germain.

The first leg of the round of eight was played on Thursday evening, at the historic Grünwalder Stadion in Munich.

The Bayern women came into the match on the back of a pair of 2-0 defeats to rival VfL Wolfsburg (one each in Bundesliga and German Cup).

More importantly, they were missing several key players due to injury. The absences of Nora Holstad and Stefanie van der Gragt in defense, as well as Simone Laudehr and Melanie Leupolz in midfield were especially problematic.

A vast marketing effort by everyone at the club from President Uli Hoeneß to players of the men’s team such as Philipp Lahm, David Alaba and Xabi Alonso made possible that the old stadium was well filled with 7.300 fans.

Nevertheless, the many absences in the Bavarian side clearly showed and PSG dominated the game completely with 17-5 total shots and 9-1 shots on target, according to UEFA’s website.

Only a combination of good defensive organization, some necessary luck and the amazing reflexes of the home team’s keeper Tinja-Riikka Korpela kept the skilled visitors off the score sheet.

Beyond that, Bayern’s only shot on goal went in. Their star striker Vivianne Miedema, who had been largely invisible for most of the game, took her one chance calmly and the game finished incredibly, 1-0 to Bayern.

Nights like these make soccer the world’s greatest sport, because only in the Beautiful Game can a team be totally inferior to their opponents and still win the game.

However, next Wednesday’s second leg at the Parc des Princes in Paris is sure to be an even more difficult game, meaning that the German champions are only half way into the semifinals at the most.

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 *