]> 472bisson.ca Git - magnet.git/commitdiff
Removed nbproject
authorManjunath CV <cvmanjoo@gmail.com>
Sat, 22 Feb 2014 04:34:58 +0000 (10:04 +0530)
committerManjunath CV <cvmanjoo@gmail.com>
Sat, 22 Feb 2014 04:34:58 +0000 (10:04 +0530)
.gitignore
index.php
infohash.txt
nbproject/project.properties [deleted file]
nbproject/project.xml [deleted file]
style.css

index b69939577d8340d48b60d38d4566e2e08ae59fd0..9e5aad7c1e5b746301e1820d1c02f5023d5976ed 100644 (file)
@@ -1,2 +1,2 @@
-/nbproject/private/\r
+/nbproject/private/
 /nbproject/
\ No newline at end of file
index 1fb6ddc0b444b142333f24514c76354c97a7bb2d..3d30be87422fbe21f29de22da2ebe29b0f241b30 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,57 +1,57 @@
-<!DOCTYPE html>\r
-<html>\r
-    <head>\r
-        <title>Torrage</title>\r
-        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">\r
-        <link href="style.css" rel="stylesheet" type="text/css" />\r
-    </head>\r
-    <body>\r
-        <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
-        </form>                \r
-        <?php\r
-        //http://torrage.com/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent\r
-        //http://torcache.net/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent\r
-        //http://zoink.it/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent\r
-\r
-        if (filter_has_var(INPUT_GET, 'infohash') && filter_has_var(INPUT_GET, 'site'))\r
-        {\r
-            $infohash = filter_input(INPUT_GET, 'infohash');\r
-            $site = filter_input(INPUT_GET, 'site');\r
-            if (strlen($infohash) == 40 && ctype_xdigit($infohash))\r
-            {\r
-                $infohash = strtoupper($infohash);\r
-                //echo "Debug:$url = ".$url."<br />";\r
-                if ($site == 'torrage')\r
-                {\r
-                    $url = "http://torrage.com/torrent/" . $infohash . ".torrent";\r
-                    header('Location: ' . $url);  //Internet \r
-                }\r
-                else if ($site == 'torcache')\r
-                {\r
-                    $url = "http://torcache.net/torrent/" . $infohash . ".torrent";\r
-                    header('Location: ' . $url);  //Internet \r
-                }\r
-                else\r
-                {\r
-                    $url = "http://zoink.it/torrent/" . $infohash . ".torrent";\r
-                    header('Location: ' . $url);  //Internet \r
-                }\r
-            }\r
-            else\r
-            {\r
-                echo "<a>Invalid INFO_HASH</a>";\r
-            }\r
-        }\r
-        ?>\r
-    </body>\r
+<!DOCTYPE html>
+<html>
+    <head>
+        <title>Torrage</title>
+        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+        <link href="style.css" rel="stylesheet" type="text/css" />
+    </head>
+    <body>
+        <h1>Torrage</h1>
+        <form action="index.php" method="get">
+            <input type="text" name="infohash"/>
+            <input type="submit" value="Get .torrent"/>
+            <br />
+            <input type="radio" name="site" value="torrage" checked/>
+            <span>Torrage</span>
+            <input type="radio" name="site" value="torcache"/>
+            <span>Torcache</span>
+            <input type="radio" name="site" value="zoink"/>
+            <span>Zoink</span>
+        </form>                
+        <?php
+        //http://torrage.com/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent
+        //http://torcache.net/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent
+        //http://zoink.it/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent
+
+        if (filter_has_var(INPUT_GET, 'infohash') && filter_has_var(INPUT_GET, 'site'))
+        {
+            $infohash = filter_input(INPUT_GET, 'infohash');
+            $site = filter_input(INPUT_GET, 'site');
+            if (strlen($infohash) == 40 && ctype_xdigit($infohash))
+            {
+                $infohash = strtoupper($infohash);
+                //echo "Debug:$url = ".$url."<br />";
+                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 "<a>Invalid INFO_HASH</a>";
+            }
+        }
+        ?>
+    </body>
 </html>                                                                                                           
\ No newline at end of file
index 7487619e73b98ae7543c6f03b37292d3059b3265..fbf486b9c263234be2405a4714c49bf8c1499e3d 100644 (file)
@@ -1,12 +1,12 @@
-http://torrage.com/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent\r
-http://torcache.net/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent\r
-http://zoink.it/torrent/640FE84C613C17F663551D218689A64E8AEBEABE.torrent\r
-\r
-\r
-\r
-\r
-ubuntu-13.10-desktop-i386.iso --> 597A92F6EEED29E6028B70B416C847E51BA76C38\r
-\r
-non exist --> 886D8CA336A8BBE7C1B19C8B5D23729496F7A48F\r
-\r
+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
\ No newline at end of file
diff --git a/nbproject/project.properties b/nbproject/project.properties
deleted file mode 100644 (file)
index 8b7302c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-include.path=${php.global.include.path}\r
-php.version=PHP_54\r
-source.encoding=UTF-8\r
-src.dir=.\r
-tags.asp=false\r
-tags.short=false\r
-web.root=.\r
diff --git a/nbproject/project.xml b/nbproject/project.xml
deleted file mode 100644 (file)
index 838c206..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<project xmlns="http://www.netbeans.org/ns/project/1">\r
-    <type>org.netbeans.modules.php.project</type>\r
-    <configuration>\r
-        <data xmlns="http://www.netbeans.org/ns/php-project/1">\r
-            <name>torrage</name>\r
-        </data>\r
-    </configuration>\r
-</project>\r
index 62ba5e7c377bdf9d4f938b889f32f0420b27c157..0dc3c839edf86f856fa68772fa853242a17bb292 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,39 +1,39 @@
-/* CSS layout */\r
-\r
-body{\r
-       margin: 5px;\r
-       padding: 5px;\r
-       font-family: monospace;\r
-}\r
-\r
-input[type=text] {\r
-       width: 420px;\r
-       height: 30px;\r
-       padding: 1px;\r
-       \r
-       font-family:monospace;\r
-       font-size:large;\r
-}\r
-\r
-input[type=submit] {\r
-               \r
-       font-family:monospace;\r
-       font-size:large;\r
-\r
-       border: 1px solid #777777;\r
-       background: #6e9e2d;\r
-       color: white;\r
-       font: bold 11px 'Trebuchet MS';\r
-       padding: 4px;\r
-       height: 30px;\r
-       cursor: pointer;\r
-       -moz-border-radius: 4px;\r
-       -webkit-border-radius: 4px;\r
-}\r
-\r
-/*\r
-\r
-http://www.tdl.com/~jrb/jrb7/css_textfield0.html\r
-http://www.red-team-design.com/style-an-input-button\r
-\r
+/* 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;
+}
+
+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