- <h1>Torrage</h1>\r
- <form action="index.php" method="get">\r
- <input type="text" name="infohash"/>\r
- <input type="submit" value="Get .torrent"/>\r
- <br />\r
- <input type="radio" name="site" value="torrage" checked/>\r
- <span>Torrage</span>\r
- <input type="radio" name="site" value="torcache"/>\r
- <span>Torcache</span>\r
- <input type="radio" name="site" value="zoink"/>\r
- <span>Zoink</span>\r
- <input type="radio" name="site" value="istoretor"/>\r
- <span>iStoreTor</span>\r
- </form> \r
- <br>\r
- <br>\r
- <a href="magnet.php">Create Magnet link</a>\r
- \r
- \r
- </body>\r
-</html>
\ No newline at end of file
+ <div class="w3-card-4">\r
+ <div class="w3-container w3-green">\r
+ <h2>Magnet Info</h2>\r
+ </div>\r
+ <form class="w3-container" name="form1" method="get" action="#">\r
+ <p>\r
+ <label>Infohash</label>\r
+ <input class="w3-input" type="text" name="infohash" placeholder="Hash of the Torrent" />\r
+ </p>\r
+ <p>\r
+ <label>Name</label>\r
+ <input class="w3-input" type="text" name="tname" placeholder="Name of the Torrent" />\r
+ </p>\r
+ <p>\r
+ <label>Trackers</label>\r
+ <input class="w3-input" type="text" name="trackers" placeholder="Trackers" />\r
+ </p>\r
+ <p>\r
+ <input class="w3-button w3-green" type="submit" name="submit" value="Create"/>\r
+ <input class="w3-button w3-green" type="reset" name="reset" value="Reset">\r
+ </p>\r
+ </form>\r
+ </div>\r
+ <?php if(isset($magnetlink))\r
+ {\r
+ ?>\r
+ <div class="w3-panel w3-pale-green w3-leftbar w3-border-green">\r
+ <p><a href = "<?php echo $magnetlink; ?>"><?php echo $magnetlink; ?></a></p>\r
+ </div>\r
+ <?php\r
+ }\r
+ else {\r
+ ?>\r
+ <div class="w3-panel w3-pale-green w3-leftbar w3-border-green">\r
+ <p>Enter Some Torrent Info Hash</p>\r
+ </div>\r
+ <?php\r
+ }\r
+ ?>\r
+ </body>\r
+</html>
\ No newline at end of file