From: Manjunath CV Date: Thu, 26 Dec 2013 04:12:43 +0000 (+0530) Subject: Test commit from NetBeans. X-Git-Url: https://472bisson.ca/gitweb/magnet.git/commitdiff_plain/27695224d865b9d893ac8fecc40c7809d3337b45 Test commit from NetBeans. --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..14bc68c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/nbproject/private/ \ No newline at end of file diff --git a/index.php b/index.php index c32640f..3ac54f4 100644 --- a/index.php +++ b/index.php @@ -1,42 +1,38 @@ - - - - - Torrage - - - - - - - - -

Torrage

-
- - -
- - "; - if(strlen($infohash) == 40 && ctype_xdigit($infohash)) - { - //echo "Debug:$url = ".$url."
"; - $url = "http://torrage.com/torrent/".$infohash.".torrent"; - header( 'Location: '.$url ) ; //Internet - } - else - { - echo "Invalid INFO_HASH"; - } - } - ?> - - - + + + + + Torrage + + + + + +

Torrage

+
+ + +
+ + "; + if(strlen($infohash) == 40 && ctype_xdigit($infohash)) + { + //echo "Debug:$url = ".$url."
"; + $url = "http://torrage.com/torrent/".$infohash.".torrent"; + header( 'Location: '.$url ) ; //Internet + } + else + { + echo "Invalid INFO_HASH"; + } + } + ?> + + \ No newline at end of file diff --git a/nbproject/project.properties b/nbproject/project.properties new file mode 100644 index 0000000..8b7302c --- /dev/null +++ b/nbproject/project.properties @@ -0,0 +1,7 @@ +include.path=${php.global.include.path} +php.version=PHP_54 +source.encoding=UTF-8 +src.dir=. +tags.asp=false +tags.short=false +web.root=. diff --git a/nbproject/project.xml b/nbproject/project.xml new file mode 100644 index 0000000..838c206 --- /dev/null +++ b/nbproject/project.xml @@ -0,0 +1,9 @@ + + + org.netbeans.modules.php.project + + + torrage + + + diff --git a/style.css b/style.css index e5611c1..62ba5e7 100644 --- a/style.css +++ b/style.css @@ -1,42 +1,39 @@ -/* 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 - +/* 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