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

Bundesliga round 16 review

(Dec. 12, 2017 – Source: Matthias Hangst/Bongarts via zimbio.com)

In order to finish the first half of the Bundesliga season, and start the winter break in time for the holidays, matchday 16 of the German soccer league already took place this past Tuesday and Wednesday. That way, matchday 17 of 34, the halfway point can be finished on the coming weekend.

In Tuesday’s first match, RB Leipzig effectively lost two more points in their 1-1 draw vs. VfL Wolfsburg. They were even behind in that game against the team that only avoided relegation though the playoffs last season.

Later that evening, SC Freiburg defeated Borussia Mönchengladbach 1-0 via a penalty kick converted by Nils Peterson, that took the video assistant referee (VAR) a long time to correctly call.

Meanwhile, it took Eintracht Frankfurt only a few first half minutes to turn a 1-0 deficit against Hamburger SV into a 2-1 lead, which later became a victory by that score line.

Peter Stöger won his debut as Borussia Dortmund coach 2-0 against Mainz 05, by going back to basics with his team.

In Wednesday’s first match, TSG Hoffenheim got a narrow 1-0 home win against VfB Stuttgart, the worst away team in the Bundesliga.

Later Bayern Munich beat 1.FC Cologne, the worst team in league history at this point of a season by the same narrow score.

Elsewhere, Hertha BSC Berlin defeated Hannover 96 3-1. Schalke 04 gave away a solid 2-0 lead to FC Augsburg, to still win 3-2 in the end. Lastly, Bayer Leverkusen won 1-0 against Werder Bremen to finally spend a full matchday in the top four of the league standings.

While it is not the winter break yet, there are nevertheless some quite disturbing trends about the Bundesliga that need to be addressed. The performance of its teams in Europe so far this season, was unacceptable, there is no way to sugarcoat that.

But what shows that German club soccer is in serious trouble is the fact that since the value of a win was increased from two to three points, there was never a second-placed team at this point of the season as bad as Schalke is today.

My biggest soccer holiday wish is for these things to drastically improve.

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 *