From 34998f07f6307b2aec57a89f0c57bb973fcd04de Mon Sep 17 00:00:00 2001 From: Manjunath CV Date: Thu, 6 Mar 2014 22:52:51 +0530 Subject: [PATCH] Added magnet.php --- LICENSE => LICENSE.txt | 0 index.php | 21 ++++++++-------- infohash.txt | 11 +++++---- magnet.php | 55 ++++++++++++++++++++++++++++++++++++++++++ style.css | 54 +++++++++++++++++++++++------------------ 5 files changed, 103 insertions(+), 38 deletions(-) rename LICENSE => LICENSE.txt (100%) create mode 100644 magnet.php diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/index.php b/index.php index 3d30be8..18644b2 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,5 @@ - + Torrage @@ -19,24 +19,25 @@ Zoink "; - if ($site == 'torrage') + if($site == 'torrage') { $url = "http://torrage.com/torrent/" . $infohash . ".torrent"; header('Location: ' . $url); //Internet } - else if ($site == 'torcache') + else if($site == 'torcache') { $url = "http://torcache.net/torrent/" . $infohash . ".torrent"; header('Location: ' . $url); //Internet @@ -49,7 +50,7 @@ } else { - echo "Invalid INFO_HASH"; + echo "Invalid INFO_HASH"; } } ?> diff --git a/infohash.txt b/infohash.txt index fbf486b..3348e24 100644 --- a/infohash.txt +++ b/infohash.txt @@ -2,11 +2,12 @@ http://torrage.com/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent http://torcache.net/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent http://zoink.it/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent - - - ubuntu-13.10-desktop-i386.iso --> 597A92F6EEED29E6028B70B416C847E51BA76C38 - non exist --> 886D8CA336A8BBE7C1B19C8B5D23729496F7A48F +xbmc-12.3.exe --> F948DD1E2A216B018FC3B5BA3FB4B1A63F61F06B + +http://mgnet.me/api.html + +magnet:?xt=urn:btih:FCB3DA0B7978EFC6157791D7B3224826FE749C09&dn=Nikita.1x01.(HDTV-LOL)&tr=udp://tracker.openbittorrent.com:80&tr=udp://tracker.publicbt.com:80&tr=udp://tracker.istole.it:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80 -xbmc-12.3.exe --> F948DD1E2A216B018FC3B5BA3FB4B1A63F61F06B \ No newline at end of file +magnet:?xt=urn:btih:&dn=&tr=&ws= \ No newline at end of file diff --git a/magnet.php b/magnet.php new file mode 100644 index 0000000..1ad8c2f --- /dev/null +++ b/magnet.php @@ -0,0 +1,55 @@ + + + + + + + Magnet + + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ +
+ + +
+ Magnet Link + + diff --git a/style.css b/style.css index 0dc3c83..3481055 100644 --- a/style.css +++ b/style.css @@ -1,34 +1,42 @@ /* CSS layout */ -body{ - margin: 5px; - padding: 5px; - font-family: monospace; +body { + margin: 5px; + padding: 5px; + font-family: monospace; } input[type=text] { - width: 420px; - height: 30px; - padding: 1px; - - font-family:monospace; - font-size:large; + width: 420px; + height: 30px; + padding: 1px; + + font-family:monospace; + font-size:large; +} + +textarea { + width: 420px; + padding: 1px; + + font-family:monospace; + font-size:medium; } input[type=submit] { - - font-family:monospace; - font-size:large; - - border: 1px solid #777777; - background: #6e9e2d; - color: white; - font: bold 11px 'Trebuchet MS'; - padding: 4px; - height: 30px; - cursor: pointer; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; + + font-family:monospace; + font-size:large; + + border: 1px solid #777777; + background: #6e9e2d; + color: white; + font: bold 11px 'Trebuchet MS'; + padding: 4px; + height: 30px; + cursor: pointer; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; } /* -- 2.39.5