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();

German Cup round of 16 review

(Dec. 19, 2017 – Source: Alexander Hassenstein/Bongarts via zimbio.com)

The last event before the winter break in Germany, was the round of 16 of the German Cup.
It provided plenty of drama and excitement, but very little in terms of the usual upsets in the competition.

The matches took place last Tuesday and Wednesday with two each being played at the same time.

On early Tuesday evening, VfB Stuttgart seemed in complete control against Mainz 05, when they led 1-0 and had a penalty minutes into the second half. They missed the spot kick, and minutes later Mainz was 2-1 up after two set piece goals. The 05ers added a third goal toward the end for good measure from a counter attack. 3-1 was the final score.

SC Paderborn has a unique story to tell. The team from the small college town gained promotion to Bundesliga 1 four seasons ago, which was beyond anyone’s wildest dreams. They initially carried that euphoria into the top flight, even reaching first place for a matchday.
But they ran out of gas toward the end of the season and were relegated back to Bundesliga 2. They then went on a continuous downward spiral, with relegation into the third tier.

Last season, they would have even fallen into the regional leagues, were it not for the fact that 1860 Munich did not get a license for the Third Division and Paderborn took the Lions’ place.

Now they are in second place in the Third Division, likely to be promoted and they are in the quarterfinals of the German Cup, after having defeated second-tier FC Ingolstadt 1-0 on Tuesday.

Later that night, VfL Wolfsburg defeated 1.FC Nuremberg 2-0 after extra time and Schalke 04 beat 1.FC Cologne 1-0.
Wolfsburg will lose their captain Mario Gomez in January, as he returns to his home town club VfB Stuttgart. In exchange, Croatian wunderkind Josip Brekalo will return to the Wolves from his Stuttgart loan spell early.

On Wednesday, Werder Bremen defeated SC Freiburg 3-2, despite Werder’s third goal having been offside. The Video Assistant Referee is only used in the last three rounds of the German Cup.

Elsewhere, Bayer Leverkusen beat Borussia Mönchengladbach 1-0.

In the evening, Bayern Munich defeated Borussia Dortmund 2-1 in a game of two halves and Eintracht Frankfurt prevailed 2-1 in extra time against 1.FC Heidenheim.

The Bavarians announced the next day that TSG Hoffenheim striker Sandro Wagner will join them in January and that winger Kingsley Coman has signed a long-term contract extension.

The draw for the German Cup quarterfinals will take place in early January, before it is played in February.

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 *