diff --git a/_config.php b/_config.php new file mode 100644 index 0000000..3f18689 --- /dev/null +++ b/_config.php @@ -0,0 +1,8 @@ + "http://cdn.get-popcorn.com/build/Popcorn-Time-0.2.8.2-Mac.tar.gz", + "win32" => "http://cdn.get-popcorn.com/build/Popcorn-Time-0.2.8.2-Win32.zip", + "linux32" => "http://cdn.get-popcorn.com/build/Popcorn-Time-0.2.8.2-Linux-32.tar.gz", + "linux64" => "http://cdn.get-popcorn.com/build/Popcorn-Time-0.2.8.2-Linux-64.tar.gz" + ); \ No newline at end of file diff --git a/download.php b/download.php new file mode 100644 index 0000000..89c85d3 --- /dev/null +++ b/download.php @@ -0,0 +1,364 @@ + "http://cdn.get-popcorn.com/build/Popcorn-Time-0.2.8.2-Mac.tar.gz", + "win32" => "http://cdn.get-popcorn.com/build/Popcorn-Time-0.2.8.2-Win32.zip", + "linux32" => "http://cdn.get-popcorn.com/build/Popcorn-Time-0.2.8.2-Linux-32.tar.gz", + "linux64" => "http://cdn.get-popcorn.com/build/Popcorn-Time-0.2.8.2-Linux-64.tar.gz" + ); + + if (isset($_GET['os'])) { + + if (isset($releases[$_GET['os']])) { + $download_file = $releases[$_GET['os']]; + } else { + header("Location: /"); + die(); + } + } else { + header("Location: /"); + die(); + } +?> + + + + + + + + + + + Download - Popcorn Time + + + + + + + + + + + + + + + + +
+
+

Thank you for using Popcorn Time

+

+ Your download is about to start. Click here if your download didn't start +

+ +

+ + + + +

+
+

Subscribe to our official mailing list

+
* indicates required
+
+ + +
+
+ + +
+
+
+
+
+ + + +

+ +
+ + + +
+ + + + diff --git a/index.html b/index.html index 2760236..963e8cc 100644 --- a/index.html +++ b/index.html @@ -92,19 +92,19 @@ @@ -148,19 +148,19 @@

Best of all... it's free!

- Download Beta 2.8 + Download Beta 2.8 For Mac OSX 10.6 and above
- Download Beta 2.8 + Download Beta 2.8 For Windows 7 and above
- Download Beta 2.8 + Download Beta 2.8 For 32-bit Linux Users
- Download Beta 2.8 + Download Beta 2.8 For 64-bit Linux Users
@@ -186,19 +186,19 @@