* ask for a kind donation on download page
This commit is contained in:
parent
7b8430ab65
commit
12146a4b5a
|
@ -2,6 +2,7 @@
|
|||
$version = isset($_GET['version']) ? $_GET['version'] : '@{version}'; // default version is hard-coded via deployment script
|
||||
$arch = $_GET['arch'];
|
||||
$type = $_GET['type'];
|
||||
$mode = $_GET['mode'];
|
||||
|
||||
$folder = 'http://sourceforge.net/projects/filebot/files/filebot/FileBot_'.$version;
|
||||
$file = 'undefined';
|
||||
|
@ -20,6 +21,36 @@ if ($type == 'ipkg')
|
|||
if ($type == 'src')
|
||||
$file = 'filebot-'.$version.'-src.zip';
|
||||
|
||||
header('HTTP/1.1 302 Found');
|
||||
header('Location: '.$folder.'/'.$file.'/download');
|
||||
$downloadPage = $folder.'/'.$file.'/download';
|
||||
if ($mode != 's') {
|
||||
header('HTTP/1.1 302 Found');
|
||||
header('Location: '.$downloadPage);
|
||||
} else {
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<title>Download <? print($file) ?> from SourceForge.net</title>
|
||||
<link rel="stylesheet" href="base.css" type="text/css" />
|
||||
</head>
|
||||
<body style="padding:0; margin:0; background:white">
|
||||
<div style="font-size: 12px; margin-bottom:0px; border-bottom: 1px solid lightgray; box-shadow: 0px 0px 4px #a2a2a2; width:100%; height:75px; background:#E6E6E6">
|
||||
<div style="float:left; width:630px; margin: 5px 5px 5px 40px; background: white; padding: 2px 5px; border-radius: 4px; box-shadow: 0 2px 5px #A2A2A2;">
|
||||
<form style="float:right; margin: 15px 5px 0 5px" action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<input type="hidden" name="cmd" value="_s-xclick">
|
||||
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA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LSLqAxeMmYdkAtud1pltMQcmUj/pCR5J7wEibqveOp14q4qKgo5dRyomzrXIQxKbYEPx1nGBNcBkvONsi0A+AmNiNWpJkASXZhTojBJ/zrisw5efiM0GhrGnEAIZ+Y2cL4aBaxsAGXKLAVQeFvUFiSzgCcsMXDWsw==-----END PKCS7-----">
|
||||
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
|
||||
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
||||
</form>
|
||||
<img src="images/money.png" style="float:left; margin:5px 10px 5px 5px; width:48px; height:48px" />
|
||||
<p style="margin: 13px 20px">
|
||||
Shutter at the thought of how many hours and days of time FileBot has saved you?
|
||||
You can show your appreciation and <b>support for future development</b> by donating!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<iframe src="<? print($downloadPage) ?>" name="sourceforge" width="100%" height="1200" frameBorder="0" scrolling="no" seamless="true"></iframe>
|
||||
</body>
|
||||
</html>
|
||||
<?
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -272,17 +272,17 @@
|
|||
<span class="quote">Today is the day</span>
|
||||
<h2>Download</h2>
|
||||
<ul class="list">
|
||||
<li>Executable Jar: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot.jar'])" target="_blank" href="download.php?type=jar">FileBot_@{version}.jar</a> (<strong>19MB</strong>) <small class="comment">for Windows, Linux, Mac OS X, BSD and Solaris</small>
|
||||
<li>Executable Jar: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot.jar'])" target="_blank" href="download.php?mode=s&type=jar">FileBot_@{version}.jar</a> (<strong>19MB</strong>) <small class="comment">for Windows, Linux, Mac OS X, BSD and Solaris</small>
|
||||
<ul>
|
||||
<li>This package does not include the <a href="https://sourceforge.net/p/filebot/code/HEAD/tree/trunk/lib/native/" target="_blank">MediaInfo and 7-Zip native libraries</a>. <small class="comment">32-bit JRE requires 32-bit native libs</small></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Mac OS X app bundle: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot.app'])" target="_blank" href="download.php?type=app">FileBot_@{version}.app</a> (<span class="filesize">21MB</span>)</li>
|
||||
<li>Windows installer: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_x86.msi'])" target="_blank" href="download.php?type=msi&arch=x86">FileBot_@{version}_x86.msi</a> or <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_x64.msi'])" target="_blank" href="download.php?type=msi&arch=x64">FileBot_@{version}_x64.msi</a> (<span class="filesize">20MB</span>)</li>
|
||||
<li>Debian packages: <a onclick="_gaq.push(['_trackPageview', '/download/filebot_i386.deb'])" target="_blank" href="download.php?type=deb&arch=i386">filebot_@{version}_i386.deb</a> or <a onclick="_gaq.push(['_trackPageview', '/download/filebot_amd64.deb'])" target="_blank" href="download.php?type=deb&arch=amd64">filebot_@{version}_amd64.deb</a> (<span class="filesize">20MB</span>)</li>
|
||||
<li>Embedded Linux packages: <a onclick="_gaq.push(['_trackPageview', '/download/filebot_arm.ipk'])" target="_blank" href="download.php?type=ipkg&arch=arm">filebot_@{version}_arm.ipk</a> or <a onclick="_gaq.push(['_trackPageview', '/download/filebot_i686.ipk'])" target="_blank" href="download.php?type=ipkg&arch=i686">filebot_@{version}_i686.ipk</a> (<span class="filesize">20MB</span>)</li>
|
||||
<li>Portable: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot-portable.zip'])" target="_blank" href="download.php?type=portable">FileBot-@{version}-portable.zip</a> (<span class="filesize">17MB</span>)</li>
|
||||
<li>Source Zip: <a onclick="_gaq.push(['_trackPageview', '/download/filebot-src.zip'])" target="_blank" href="download.php?type=src">filebot-@{version}-src.zip</a> (<span class="filesize">600kB</span>)</li>
|
||||
<li>Mac OS X app bundle: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot.app'])" target="_blank" href="download.php?mode=s&type=app">FileBot_@{version}.app</a> (<span class="filesize">21MB</span>)</li>
|
||||
<li>Windows installer: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_x86.msi'])" target="_blank" href="download.php?mode=s&type=msi&arch=x86">FileBot_@{version}_x86.msi</a> or <a onclick="_gaq.push(['_trackPageview', '/download/FileBot_x64.msi'])" target="_blank" href="download.php?mode=s&type=msi&arch=x64">FileBot_@{version}_x64.msi</a> (<span class="filesize">20MB</span>)</li>
|
||||
<li>Debian packages: <a onclick="_gaq.push(['_trackPageview', '/download/filebot_i386.deb'])" target="_blank" href="download.php?mode=s&type=deb&arch=i386">filebot_@{version}_i386.deb</a> or <a onclick="_gaq.push(['_trackPageview', '/download/filebot_amd64.deb'])" target="_blank" href="download.php?mode=s&type=deb&arch=amd64">filebot_@{version}_amd64.deb</a> (<span class="filesize">20MB</span>)</li>
|
||||
<li>Embedded Linux packages: <a onclick="_gaq.push(['_trackPageview', '/download/filebot_arm.ipk'])" target="_blank" href="download.php?mode=s&type=ipkg&arch=arm">filebot_@{version}_arm.ipk</a> or <a onclick="_gaq.push(['_trackPageview', '/download/filebot_i686.ipk'])" target="_blank" href="download.php?mode=s&type=ipkg&arch=i686">filebot_@{version}_i686.ipk</a> (<span class="filesize">20MB</span>)</li>
|
||||
<li>Portable: <a onclick="_gaq.push(['_trackPageview', '/download/FileBot-portable.zip'])" target="_blank" href="download.php?mode=s&type=portable">FileBot-@{version}-portable.zip</a> (<span class="filesize">17MB</span>)</li>
|
||||
<li>Source Zip: <a onclick="_gaq.push(['_trackPageview', '/download/filebot-src.zip'])" target="_blank" href="download.php?mode=s&type=src">filebot-@{version}-src.zip</a> (<span class="filesize">600kB</span>)</li>
|
||||
<li>Chocolatey Windows package is available <a target="_blank" href="http://chocolatey.org/packages/filebot/">via Chocolatey</a></li>
|
||||
<li>Arch Linux package is available <a target="_blank" href="https://aur.archlinux.org/packages.php?ID=27459">via AUR</a></li>
|
||||
<li>Synology NAS package is available <a target="_blank" href="http://missilehugger.com/735/synology-package-filebot/">from MissileHugger</a></li>
|
||||
|
|
Loading…
Reference in New Issue