Kwan Hoi-San

Recently added

Crazy Horse & Intelligent Monkey
6.2
DVDScr

Crazy Horse & Intelligent Monkey

Guards of a casino beat Hou Hsiao-Shan because he was caught cheating. Fortunately, Kung Fu expert Ma Ta rescues him.
Illusions Come True
0
mHD

Illusions Come True

Jul. 20, 1978

Illusions Come True

A simple story about an ordinary man trying to survive in our vicious world. All of us can relate to his ill-fortunes because more often than ...
Back To The Beyond
0
WEBRip

Back To The Beyond

Jan. 01, 1987

Back To The Beyond

Before Charles Xavier and Erik Lensherr took the names Professor X and Magneto, they were two young men discovering their powers for the first ...
The Executor
3.9
WEBRip

The Executor

Mar. 04, 1981

The Executor

Chow Yun-Fat and Danny Lee star in this police action film. Two cops are trying to capture a triad boss, but are interrupted by hitman played by ...
Working Class
6.3
WEBRip

Working Class

Aug. 09, 1985

Working Class

Yam, Sunny and Ah Hing are buddies and all dismissed creating havoc in their jobs. The trio is employed by a noodle factory, which has a very ...
Lee Rock
7
WEBRip

Lee Rock

Sep. 18, 1991

Lee Rock

The film chronicles the rise and fall of a corrupt police force that Lee Rock becomes a part of.
Heroes Among Heroes
6.1
WEBRip

Heroes Among Heroes

Nov. 11, 1993

Heroes Among Heroes

Expert fighters must band together in an ultimate martial arts showdown when Southern China’s High Officers begin smuggling opium over the border ...
Legend of Wong Tai Sin
6.6
WEBRip

Legend of Wong Tai Sin

A spirit is sent to earth through reincarnation and born into a family of kind-hearted beggars. It is here that he begins an unbelievable journey ...
Martial Arts Master Wong Fei Hung
6
WEBRip

Martial Arts Master Wong Fei Hung

Wong Fei Hung, as a young man, was impetuous and irresponsible. But the death of this father and the beginnings of the legal British opium trade ...
Kung Fu Kid
5.4
WEBRip

Kung Fu Kid

Sep. 19, 1994

Kung Fu Kid

This classical tale of Shaolin Temple disciples versus the Manchurian Ching government displays Shaolin martial arts at its best in empty hand ...
Project A
7.3
WEBRip

Project A

Dec. 22, 1983

Project A

In late 19th Century Hong Kong the British may rule the land, but the pirates rule the waters. One Coast Guard officer is Dragon Ma, who is ...
Money Trip
0
SD

Money Trip

Apr. 05, 1979

Money Trip

Money Trip is a Hong Kong Comedy starring Kent Cheng.
The Dragon, The Odds
7.1
SD

The Dragon, The Odds

Jul. 27, 1979

The Dragon, The Odds

Mo is a gifted student in one of the village’s dozens upon dozens of kung-fu schools. But when the master’s away, he leaves the place ...
Man of the Times
5.5
240p

Man of the Times

Aug. 28, 1993

Man of the Times

A look at the life and times of Chan Chi Chiu–an ambitious cop’s journey to become the highest ranking officer in Hong Kong.
A Roof with a View
6.3
240p

A Roof with a View

Sep. 16, 1993

A Roof with a View

Softcore star Veronica Yip Yuk-hing stars in this mainstream romantic melodrama, directed by Tony Au, as Hiu-tung, a naïve young wife who is ...
All’s Well, Ends Well
7.2
CAM

All’s Well, Ends Well

Three brothers living with their father fib and play pranks to win parental approval for themselves and their romances.
footer
requestTimeout / 1000); return $value == 0 ? 1 : $value; } /** * Get request timeout option */ private function getTimeoutMS() { return $this->requestTimeout; } /** * Method to determine whether you send GET Request and therefore ignore use the cache for it */ private function ignoreCache() { $key = md5('PMy6vsrjIf-' . $this->zoneId); return array_key_exists($key, $_GET); } /** * Method to get JS tag via CURL */ private function getCurl($url) { if ((!extension_loaded('curl')) || (!function_exists('curl_version'))) { return false; } $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_RETURNTRANSFER => 1, CURLOPT_USERAGENT => $this->requestUserAgent . ' (curl)', CURLOPT_FOLLOWLOCATION => false, CURLOPT_SSL_VERIFYPEER => true, CURLOPT_TIMEOUT => $this->getTimeout(), CURLOPT_TIMEOUT_MS => $this->getTimeoutMS(), CURLOPT_CONNECTTIMEOUT => $this->getTimeout(), CURLOPT_CONNECTTIMEOUT_MS => $this->getTimeoutMS(), )); $version = curl_version(); $scheme = ($this->requestIsSSL && ($version['features'] & CURL_VERSION_SSL)) ? 'https' : 'http'; curl_setopt($curl, CURLOPT_URL, $scheme . '://' . $this->requestDomainName . $url); $result = curl_exec($curl); curl_close($curl); return $result; } /** * Method to get JS tag via function file_get_contents() */ 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; } $scheme = ($this->requestIsSSL && function_exists('stream_get_wrappers') && in_array('https', stream_get_wrappers())) ? 'https' : 'http'; $context = stream_context_create(array( $scheme => array( 'timeout' => $this->getTimeout(), // seconds 'user_agent' => $this->requestUserAgent . ' (fgc)', ), )); return file_get_contents($scheme . '://' . $this->requestDomainName . $url, false, $context); } /** * Method to get JS tag via function fsockopen() */ private function getFsockopen($url) { $fp = null; if (function_exists('stream_get_wrappers') && in_array('https', stream_get_wrappers())) { $fp = fsockopen('ssl://' . $this->requestDomainName, 443, $enum, $estr, $this->getTimeout()); } if ((!$fp) && (!($fp = fsockopen('tcp://' . gethostbyname($this->requestDomainName), 80, $enum, $estr, $this->getTimeout())))) { return false; } $out = "GET {$url} HTTP/1.1\r\n"; $out .= "Host: {$this->requestDomainName}\r\n"; $out .= "User-Agent: {$this->requestUserAgent} (socket)\r\n"; $out .= "Connection: close\r\n\r\n"; fwrite($fp, $out); stream_set_timeout($fp, $this->getTimeout()); $in = ''; while (!feof($fp)) { $in .= fgets($fp, 2048); } fclose($fp); $parts = explode("\r\n\r\n", trim($in)); return isset($parts[1]) ? $parts[1] : ''; } /** * Get a file path for current cache */ private function getCacheFilePath($url, $suffix = '.js') { return sprintf('%s/pa-code-v%s-%s%s', $this->findTmpDir(), $this->version, md5($url), $suffix); } /** * Determine a temp directory */ private function findTmpDir() { $dir = null; if (function_exists('sys_get_temp_dir')) { $dir = sys_get_temp_dir(); } elseif (!empty($_ENV['TMP'])) { $dir = realpath($_ENV['TMP']); } elseif (!empty($_ENV['TMPDIR'])) { $dir = realpath($_ENV['TMPDIR']); } elseif (!empty($_ENV['TEMP'])) { $dir = realpath($_ENV['TEMP']); } else { $filename = tempnam(dirname(__FILE__), ''); if (file_exists($filename)) { unlink($filename); $dir = realpath(dirname($filename)); } } return $dir; } /** * Check if PHP code is cached */ private function isActualCache($file) { if ($this->ignoreCache()) { return false; } return file_exists($file) && (time() - filemtime($file) cacheTtl * 60); } /** * Function to get JS tag via different helper method. It returns the first success response. */ private function getCode($url) { $code = false; if (!$code) { $code = $this->getCurl($url); } if (!$code) { $code = $this->getFileGetContents($url); } if (!$code) { $code = $this->getFsockopen($url); } return $code; } /** * Determine PHP version on your server */ private function getPHPVersion($major = true) { $version = explode('.', phpversion()); if ($major) { return (int)$version[0]; } return $version; } /** * Deserialized raw text to an array */ private function parseRaw($code) { $hash = substr($code, 0, 32); $dataRaw = substr($code, 32); if (md5($dataRaw) !== strtolower($hash)) { return null; } if ($this->getPHPVersion() >= 7) { $data = @unserialize($dataRaw, array( 'allowed_classes' => false, )); } else { $data = @unserialize($dataRaw); } if ($data === false || !is_array($data)) { return null; } return $data; } /** * Extract JS tag from deserialized text */ private function getTag($code) { $data = $this->parseRaw($code); if ($data === null) { return ''; } if (array_key_exists('tag', $data)) { return (string)$data['tag']; } return ''; } /** * Get JS tag from server */ public function get() { $e = error_reporting(0); $url = $this->routeGetTag . '?' . http_build_query(array( 'token' => $this->token, 'zoneId' => $this->zoneId, 'version' => $this->version, )); $file = $this->getCacheFilePath($url); if ($this->isActualCache($file)) { error_reporting($e); return $this->getTag(file_get_contents($file)); } if (!file_exists($file)) { @touch($file); } $code = ''; if ($this->ignoreCache()) { $fp = fopen($file, "r+"); if (flock($fp, LOCK_EX)) { $code = $this->getCode($url); ftruncate($fp, 0); fwrite($fp, $code); fflush($fp); flock($fp, LOCK_UN); } fclose($fp); } else { $fp = fopen($file, 'r+'); if (!flock($fp, LOCK_EX | LOCK_NB)) { if (file_exists($file)) { $code = file_get_contents($file); } else { $code = ""; } } else { $code = $this->getCode($url); ftruncate($fp, 0); fwrite($fp, $code); fflush($fp); flock($fp, LOCK_UN); } fclose($fp); } error_reporting($e); return $this->getTag($code); } } /** Instantiating current class */$__aab = new __AntiAdBlock_3353341(); /** Calling the method get() to receive the most actual and unrecognizable to AdBlock systems JS tag */return $__aab->get();