Kingdom Yuen

Recently added

Beauty on Duty
4.5
Mini HD

Beauty on Duty

Apr. 01, 2010

Beauty on Duty

A female police officer goes undercover as a beauty pageant contestant to protect a key witness.
Always Be with You
5.3
mHD

Always Be with You

Oct. 26, 2017

Always Be with You

Taxi driver David, who’s doomed after a terminal cancer diagnosis, accidentally kills hotel owner Patrick in a car crash. Patrick’s ...
Flirting Scholar
7.6
WEBRip

Flirting Scholar

Jul. 01, 1993

Flirting Scholar

A scholar in search of true love. Disguising himself as a houseboy, he indentures himself to a rich family in order to pursue the ravishing ...
Forbidden City Cop
6.9
WEBRip

Forbidden City Cop

Feb. 16, 1996

Forbidden City Cop

An imperial agent gets ridiculed for his various inventions, until his supportive wife encourages him to attend a conference, which’s ...
The Tricky Master
5.9
WEBRip

The Tricky Master

Aug. 05, 1999

The Tricky Master

Undercover cop Leung Foon is having trouble taking down the illegal trading operation headed by crime boss Ferrari. So to accomplish his mission, ...
Killer Angels
5.8
WEBRip

Killer Angels

Apr. 07, 1989

Killer Angels

Three female cops form a special unit and get their main witness out of the clutches of a gang. The witness holds the key to Chu Chung Sing, a ...
Fight Back to School
7.1
WEBRip

Fight Back to School

Jul. 18, 1991

Fight Back to School

Star Chow is about to be kicked out of the Royal Hong Kong Police’s elite Special Duties Unit (SDU). But a senior officer decides to give ...
Justice, My Foot!
6.8
WEBRip

Justice, My Foot!

Jul. 02, 1992

Justice, My Foot!

An unscrupulous lawyer with an equally eccentric kung-fu sidekick wife tries to bring justice to the court.
To Miss with Love
5.4
WEBRip

To Miss with Love

Oct. 01, 1992

To Miss with Love

When a new teacher (Sharla Cheung) arrives, she finds herself caught up in the affairs of the students from her class. Jimmy Lin is harbouring an ...
True Love
6.3
WEBRip

True Love

Dec. 03, 1992

True Love

A Cinderella story between a rich boy and a cosmetics salesgirl.
Millionaire Cop
5.6
WEBRip

Millionaire Cop

Jan. 01, 1993

Millionaire Cop

A police detective (Aaron Kwok) must pose as the son of a millionaire to catch a kidnapping ring. Trouble starts when the policeman’s ...
Shaolin Popey II: Messy Temple
5.9
WEBRip

Shaolin Popey II: Messy Temple

Fun-loving young Shaolin initiates get the better of two bungling assassins hired to chop off the right hand of their crochety master, who ...
Everyday is Valentine
5.7
WEBRip

Everyday is Valentine

Apr. 12, 2001

Everyday is Valentine

Wonderful can’t meet a man who does not lie — and then she bumps into professional liar Ok, who pretends to be rich in order to win ...
Choy Lee Fut Kung Fu
4.2
WEBRip

Choy Lee Fut Kung Fu

May. 10, 2011

Choy Lee Fut Kung Fu

Danny is a young martial arts enthusiast who arrives in Hong Kong to head a school of Choy Lee Fut owned by his wealthy father.
A Kid from Tibet
6
WEBRip

A Kid from Tibet

Jan. 10, 1992

A Kid from Tibet

As the evil sect known as the Black Section of Esoteric Buddhism wreaks havoc on Tibet, a young monk named Wong La (Biao Yuen) is sent to Hong ...
Once in a Life-Time
5.2
TS

Once in a Life-Time

May. 11, 1995

Once in a Life-Time

Sean Lau has been secretly in love with comely Vivian Chan since childhood, so when she needs a paper marriage to satisfy the wishes of her sick ...
Flirting Scholar 2
3.6
TS

Flirting Scholar 2

Jul. 08, 2010

Flirting Scholar 2

Tang Bohu’s mother sends him to study at Qingfeng Monastery, but he can’t bear the austere and monotonous life at the monastery. So, ...
Indiana Five Stars
0
TS

Indiana Five Stars

Dec. 02, 2017

Indiana Five Stars

Shui is an old Alzheimer patient suffering from memory loss and behaviour changes. Ha, as a personal care taker of Shui, stays together with him ...
The Kung Fu Scholar
5.8
240p

The Kung Fu Scholar

Jan. 13, 1994

The Kung Fu Scholar

Kung Fu Scholar is a comedy action starring Dicky Cheung. He wants to learn kung-fu, but his mother wants him to go to school. After losing a ...
Ancient Chinese Whorehouse
4.8
240p

Ancient Chinese Whorehouse

Madam Five and carpenter Kong work together managing a famous whorehouse. Kong’s apprentice Yat fails to get along with Ching due to a ...
Hong Kong Graffiti
5.6
240p

Hong Kong Graffiti

Mar. 04, 1995

Hong Kong Graffiti

Teddy Robin Kwan’s 1960s retro musical. A melodrama about two childhood best friends who rise to the top of the Hong Kong pop scene under the ...
Future Cops
5.9
240p

Future Cops

Jul. 15, 1993

Future Cops

In the year 2043, an evil crime lord is trying to take over the world. Only one government official stands in his way, and plans to send him to ...
Romantic Dream
6.4
480p

Romantic Dream

Jun. 24, 1995

Romantic Dream

A spiritualist can put you into a dreamworld where you can have your greatest desire
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();