Akira Emoto

Recently added

The Taste of Fish
6.8
TS

The Taste of Fish

Jun. 07, 2008

The Taste of Fish

It may sound cliché, but Japanese people really do love their fish. If Japan has the best and freshest fish in the world, then Tokyo’s ...
The Cycling Genius Is Coming!
5.3
TS

The Cycling Genius Is Coming!

Teru (Yuya Endo) has been brought up in a hill town and spent his childhood conquering the slopes on his bicycle. Being a cycling fanatic, who ...
Ikigami: The Ultimate Limit
7
TS

Ikigami: The Ultimate Limit

In an attempt to spur citizens into taking more productive roles in society, the Japanese government issues death messages, or ...
Teacher and Three Children
5.5
TS

Teacher and Three Children

The 95-year-old director shot the film in his hometown of Ishiuchi, Hiroshima. The story is based on a teacher he had when he was a child.
Asahiyama Zoo Story: Penguins in the Sky
6.4
TS

Asahiyama Zoo Story: Penguins in the Sky

Asahiyama Zoo in Hokkaido, is the northernmost zoo in Japan. The unpopular zoo welcomes a new zoo keeper, young Yoshida (Yasuhi Nakamura), who ...
April Bride
6.3
TS

April Bride

May. 09, 2009

April Bride

On April 5, 2007, a couple married in a church. At first glance, it was a typical wedding. The bride, however, was suffering from late-stage ...
Yona Yona Penguin
5.2
TS

Yona Yona Penguin

Dec. 23, 2009

Yona Yona Penguin

Rintaro directs a tale of three children who visit a land of wonder. This is the first “3D anime” that Madhouse has produced. Oh, and ...
After the Flowers
6.9
TS

After the Flowers

Mar. 13, 2010

After the Flowers

Ito, daughter of a clan official, encounters Magoshiro Eguchi. Magoshiro is a low ranking samurai sparks an attraction with Ito. Ito challenges ...
Haru’s Journey
7.1
TS

Haru’s Journey

May. 22, 2010

Haru’s Journey

Stuck in a fishing village in Hokkaido, Tadao’s grand-daughter Haru is desperate to visit Tokyo, a trip Tadao is reluctant to make.
A Lone Scalpel
6.9
TS

A Lone Scalpel

Jun. 05, 2010

A Lone Scalpel

Dr Toma, a skilled surgeon, starts work at a regional hospital in Japan. After performing an operation to remove a patient’s liver cancer, ...
Hutch the Honeybee
6.7
TS

Hutch the Honeybee

Jul. 28, 2010

Hutch the Honeybee

Hutch the Honey Bee and friends set on an adventure to find Hutch’s missing Queen Bee Mother, whom he lost during a surprise attack by a ...
Cast Me If You Can
6.8
TS

Cast Me If You Can

Oct. 23, 2010

Cast Me If You Can

An actor, who always plays supporting roles and lives in the shadow of his famous playwright father, falls in love with an energetic aspiring ...
Sakurada Gate Incident
6.1
TS

Sakurada Gate Incident

Mito Domain Samurai Seki Tetsunosuke must pay the consequences for his role in the assassination of Great Elder Ii Naosuke. Based on true events.
Postcard
7
TS

Postcard

Oct. 27, 2010

Postcard

Toward the end of World War II, middle-aged soldier Keita is entrusted with a postcard from a comrade who is sure he will die in battle. After ...
Ninja Kids!!!
5.8
TS

Ninja Kids!!!

Jul. 23, 2011

Ninja Kids!!!

The film stars Seishiro Kato as Rantaro who is sent to a ninja training school by his parents. During the summer, their teacher is invaded by a ...
In His Chart
5.9
TS

In His Chart

Aug. 27, 2011

In His Chart

Dr. Ichito Kuriharai (Sho Sakurai) works at a clinic in Nagano Prefecture. He rarely has any free time due to the clinic’s shortage of ...
Karate-Robo Zaborgar
6.3
TS

Karate-Robo Zaborgar

Oct. 15, 2011

Karate-Robo Zaborgar

An evil criminal organisation called Sigma kidnap prominment business leaders to harvest their DNA and only Karate-Robo Zaborgar can save them.
Life Back Then
6.1
TS

Life Back Then

Nov. 19, 2011

Life Back Then

Kyohei Nagashima (Masaki Okada) has shut away the world. During his high school days he was the target of bullying and experienced horrifying ...
Ace Attorney
6.5
TS

Ace Attorney

Feb. 11, 2012

Ace Attorney

Based primarily on the first game in the series, Phoenix Wright: Ace Attorney, the film focuses on rookie defense attorney Phoenix Wright, as he ...
A Sower of Seeds
7.4
TS

A Sower of Seeds

Mar. 03, 2012

A Sower of Seeds

Kinjiro, an official with the Ministry of Agriculture, Forestry and Fisheries, is a good-natured fellow who goes around the country helping farm ...
One Day in January
0
TS

One Day in January

Nov. 17, 2012

One Day in January

Every year on the fourth of January, Shobei’s soba restaurant serves “Sanada Soba”; soba noodles topped with grated spicy ...
Yellow Elephant
6
TS

Yellow Elephant

Feb. 02, 2013

Yellow Elephant

Married couple Aiko Tsumari and Ayumu Muko live a happy and peaceful life. Aiko is bit naive, while Ayumu works as a not so popular novelist. One ...
The War and a Woman
6.5
TS

The War and a Woman

Apr. 27, 2013

The War and a Woman

Set towards the end of World War II, Nomura (Masatoshi Nagase) is a writer who is in despair. A woman works in bar and is a former prostitute. ...
Unforgiven
7
TS

Unforgiven

Sep. 13, 2013

Unforgiven

Set in Hokkaido, Japan in the 1880s. Jubei Kamata (Ken Watanabe), who is on the side of the Edo shogunate government, kills many people. His name ...
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();