From 10393583ffcab07e408f6496a46904563c98c544 Mon Sep 17 00:00:00 2001 From: Manjunath CV Date: Tue, 29 May 2018 02:23:07 +0530 Subject: [PATCH] Magnet Only Added W3.css Theme --- index.php | 110 +++++++++++++++++++++++++++-------------------------- magnet.php | 55 --------------------------- style.css | 47 ----------------------- 3 files changed, 56 insertions(+), 156 deletions(-) delete mode 100644 magnet.php delete mode 100644 style.css diff --git a/index.php b/index.php index 0838e17..bda4744 100644 --- a/index.php +++ b/index.php @@ -1,71 +1,73 @@ "; - if($site == 'torrage') + $magnetlink = "magnet:?xt=urn:btih:" . $infohash; + + if($name != "") { - $url = "http://torrage.com/torrent/" . $infohash . ".torrent"; - header('Location: ' . $url); //Internet + $magnetlink = $magnetlink . "&dn=" . $name; } - else if($site == 'torcache') + if($trackers != "") { - $url = "http://torcache.net/torrent/" . $infohash . ".torrent"; - header('Location: ' . $url); //Internet - } - else if($site == 'istoretor') - { - $url = "http://istoretor.com/fdown.php?hash=" . $infohash . ".torrent"; - header('Location: ' . $url); //Internet - } - else - { - $url = "http://zoink.it/torrent/" . $infohash . ".torrent"; - header('Location: ' . $url); //Internet + $magnetlink = $magnetlink . "&tr=" . $trackers; } } - else - { - echo "Invalid INFO_HASH"; - } + //$magnetlink = "magnet:?xt=urn:btih:" .$infohash . "&dn=" . $name . "&tr=" . $trackers; } ?> - Torrage - - + Magnet + + + -

Torrage

-
- - -
- - Torrage - - Torcache - - Zoink - - iStoreTor -
-
-
- Create Magnet link - - - - \ No newline at end of file +
+
+

Magnet Info

+
+
+

+ + +

+

+ + +

+

+ + +

+

+ + +

+
+
+ +
+

+
+ +
+

Enter Some Torrent Info Hash

+
+ + + \ No newline at end of file diff --git a/magnet.php b/magnet.php deleted file mode 100644 index 1ad8c2f..0000000 --- a/magnet.php +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - Magnet - - -
- - -
- -
- - -
- -
- - -
- -
- -
- - -
- Magnet Link - - diff --git a/style.css b/style.css deleted file mode 100644 index 3481055..0000000 --- a/style.css +++ /dev/null @@ -1,47 +0,0 @@ -/* CSS layout */ - -body { - margin: 5px; - padding: 5px; - font-family: monospace; -} - -input[type=text] { - 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; -} - -/* - -http://www.tdl.com/~jrb/jrb7/css_textfield0.html -http://www.red-team-design.com/style-an-input-button - -*/ \ No newline at end of file -- 2.39.5