X-Git-Url: https://472bisson.ca/gitweb/magnet.git/blobdiff_plain/77cde13f006c872a768b6ffe6fed99131f43a831..995f47402a3c3447073d92354f665eec0cb94914:/index.php diff --git a/index.php b/index.php index e7c0591..1fb6ddc 100644 --- a/index.php +++ b/index.php @@ -1,45 +1,57 @@ - - - - - - Torrage - - - -

Torrage

-
- - - - - - - - - -
- - "; - - $url = "http://torrage.com/torrent/".$infohash.".torrent"; - - echo $url; - - header( 'Location: '.$url ) ; //Internet - - } - - - - - ?> - - + + + + Torrage + + + + +

Torrage

+
+ + +
+ + Torrage + + Torcache + + Zoink +
+ "; + if ($site == 'torrage') + { + $url = "http://torrage.com/torrent/" . $infohash . ".torrent"; + header('Location: ' . $url); //Internet + } + else if ($site == 'torcache') + { + $url = "http://torcache.net/torrent/" . $infohash . ".torrent"; + header('Location: ' . $url); //Internet + } + else + { + $url = "http://zoink.it/torrent/" . $infohash . ".torrent"; + header('Location: ' . $url); //Internet + } + } + else + { + echo "Invalid INFO_HASH"; + } + } + ?> + + \ No newline at end of file