Tony Leung Ka-fai

Recently added

Lost in Beijing
6.7
DVDScr

Lost in Beijing

Sep. 26, 2007

Lost in Beijing

A look at modern-day life in China’s capital centered on a ménage-a-quatre involving a young woman, her boss, her husband and her ...
Bodyguards and Assassins
6.8
DVDScr

Bodyguards and Assassins

In 1905, revolutionist Sun Yat-Sen visits Hong Kong to discuss plans with Tongmenghui members to overthrow the Qing dynasty. But when they find ...
Tai Chi Zero
6
DVDScr

Tai Chi Zero

Sep. 27, 2012

Tai Chi Zero

In legendary Chen Village, everyone is a martial arts master, using their powerful Chen Style Tai Chi in all aspects of their lives. Lu Chan has ...
League of Gods
4.5
DVDScr

League of Gods

Jul. 28, 2016

League of Gods

During the reign of King Zhou, an official enters his bedchamber, and is devoured by the monstrous tails of Daji, his concubine. Outside their ...
The Taking of Tiger Mountain
6.4
mHD

The Taking of Tiger Mountain

Yang Zirong disguises himself as a bandit to infiltrate and destroy a bandit group. He joins hands with a hostage, and together, they fight ...
A-1 Headline
5.7
mHD

A-1 Headline

Sep. 09, 2004

A-1 Headline

Ling is a fashion columnist whose ex-boyfriend died in a car accident. Debt collectors Fei and Ma are eyewitnesses on the scene and Fei is ...
Election
7.1
mHD

Election

Oct. 20, 2005

Election

After losing an election to become chairman of the Wo Lin Shing triad, a gang leader lashes out and tries to seize the dragon-head baton, the ...
Cold War
6.6
mHD

Cold War

Nov. 08, 2012

Cold War

Five police officers in Hong Kong are kidnapped. The police commissioner is on a business trip overseas. Two vice commissioners, Sean Rau and ...
The Last Emperor
5.1
HDTC

The Last Emperor

Mar. 26, 1986

The Last Emperor

A 1986 film directed by Li Han-Hsiang. Nominated for Best Film in the 6th annual Hong Kong Film Awards.
The Raid
5.9
WEBRip

The Raid

Mar. 28, 1991

The Raid

In the 1930s, China was in a state of turmoil and flurry. The dethroned Emperor Pu-Yi had established the Puppet State of Manchukuo in Manchuria ...
To Catch A Thief
5.4
WEBRip

To Catch A Thief

Jul. 12, 1991

To Catch A Thief

Developer Ms. Cheung (Carol ‘Do Do’ Cheng) yearns for a quieter life in Hong Kong and moves to the countryside, getting herself ...
Flying Dagger
6
WEBRip

Flying Dagger

May. 06, 1993

Flying Dagger

The well-known “Flying Dagger” Chung and his nephew Lam lived on rewards from apprehending bandits. Chung refused the love of ...
Red and Black
5.5
WEBRip

Red and Black

Jan. 01, 1991

Red and Black

In 1941, during the Japanese occupation of mainland China, a man is infected by a Japanese vampire soldier. He manages to climb in to an ...
Island of Fire
5.7
WEBRip

Island of Fire

Mar. 28, 1990

Island of Fire

Someone in a prison run by a corrupt warden fakes the deaths of convicts to later use them as expendable assassins. A police officer is sent into ...
Golden Chicken
7.1
WEBRip

Golden Chicken

Dec. 26, 2002

Golden Chicken

After his attempted robbery runs aground, a thief takes a shine to his would-be victim, a charming prostitute, who begins to tell him her life story.
The Twins Effect II
4.8
TS

The Twins Effect II

Aug. 12, 2004

The Twins Effect II

Set in Flower Capital, a land ruled by an Evil Queen. All men in the kingdom are slaves to women. However, a prophecy foretells that one day, the ...
Jiang Hu: The Triad Zone
6.9
TS

Jiang Hu: The Triad Zone

Gang leader Jim Yam has ascended nearly to the pinnacle of power in the underworld, but it brings him few satisfactions. As he watches his peers ...
Rise of the Legend
0
SD

Rise of the Legend

Nov. 20, 2014

Rise of the Legend

In 1868 during the late Qing Dynasty, rampant corruption on the Imperial Court inflicts much suffering in people’s lives. For years, the ...
The Banquet
5.8
SD

The Banquet

Nov. 30, 1991

The Banquet

Developer Tsang Siu-Chi and his agent have bought two of a group of four properties. Rival developer, Boss Hung has secured the other two ...
Sentenced to Hang
6.5
240p

Sentenced to Hang

Nov. 02, 1989

Sentenced to Hang

After being fired by his penny-pinching boss, Wai and his two life-long friends decide to kidnap and ransom his son. The situation spirals out of ...
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 ...
Who Is Undercover
4
240p

Who Is Undercover

Dec. 31, 2014

Who Is Undercover

In 1934, agents of the Kuomintang government round up suspects and torture them to find out which one is an undercover communist spy.
All U Need Is Love
4.7
240p

All U Need Is Love

Apr. 22, 2021

All U Need Is Love

Initiated by the Hong Kong Performing Artists Association and the Hong Kong Film Workers Association, ten film companies in Hong Kong (China ...
Once Upon a Time in Hong Kong
5.5
240p

Once Upon a Time in Hong Kong

The story tells the story of a collusion between Hong Kong police and criminals in 1973, under the instigation of the British, they embezzled ...
The Myth
6.1
HD

The Myth

May. 11, 2005

The Myth

When a fellow scientist asks for Jack’s help in locating the mausoleum of China’s first emperor, the past collides violently with the ...
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();