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 Borussia Mönchengladbach 2-0

( via zimbio.com)

( via zimbio.com)

Bayern Munich hosted Borussia Mönchengladbach on Saturday. Three important points were at stake for both teams. For the league leaders, it was about winning a match after two consecutive Bundesliga draws and getting some breathing room at the top of the league.

For their visitors, points were necessary to leave the mid table places and stay in touch with at least the top six. They had to do so without a number of key players, out though injury. Two of the biggest of them were Thorgan Hazard and Brazilian star Raffael.

This prevented them from playing the fast counterattacking style, that most other teams in the league fear most about them.

Without that element to their game, Gladbach was largely harmless in the attaching third and lost the game 2-0.

The goals came relatively early, via a headed goal by Arturo Vidal and a nice finish by Douglas Costa, which he set up himself with his chest. In the second half, Bayern no longer cared to dominate, while Gladbach failed to take advantage of their passive opponents.

The defining moment of the match came in the 71st minute, when the visitors had their only chance to score, but André Hahn only hit the post. Had that ball gone in, who knows how the lately so insecure Bavarians would have reacted and what turn the game could have taken. (The move starts around 55 seconds into the video.)

Man of the Match
The scorer of the second goal, Douglas Costa was the best player on the field. He embodied the dominance of Bayern Munich, especially in the first half. Costa, much like his teammate Arjen Robben is still slowly coming back from an injury and yet, he performed excellently here.

Key stats
According to the league’s official website, Costa had three shots on goal and won 62% of his individual duels. The latter is an excellent statistic for any offensive player.

Talking points
For Gladbach, this defeat has the consequence of putting them down to tenth in the table. But they are still well within reach of the European places, considering the early stage of the season and the relative weakness of many of the teams above them.

From Bayern Munich’s point of view any talk of crisis is now clearly over.

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 *