diff --git a/package.xml b/package.xml new file mode 100644 index 0000000..da8dd86 --- /dev/null +++ b/package.xml @@ -0,0 +1,444 @@ + + + imagick + pecl.php.net + Provides a wrapper to the ImageMagick library. + Imagick is a native php extension to create and modify images using the ImageMagick API. +This extension requires ImageMagick version 6.5.3-10+ and PHP 5.6.0+. + + Dan Ackroyd + danack + danack@php.net + yes + + + Jakub Zelenka + bukka + bukka@php.net + yes + + 2025-04-10 + + + 3.8.0 + 3.8.0 + + + stable + stable + + PHP License + +- Fixes: + * Fix signedness formatting mistakes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5.6.0 + + + 1.4.0 + + + + imagick + + + + diff --git a/submissions/submission.csv b/submissions/submission.csv new file mode 100644 index 0000000..46a5f91 --- /dev/null +++ b/submissions/submission.csv @@ -0,0 +1,6 @@ +link,name,desc +link,link,link +hi,hi,hi +hi,hi,hi +link,link,link +link,"hello World!","hi, me" diff --git a/www/README.md b/www/README.md new file mode 100644 index 0000000..1b5f370 --- /dev/null +++ b/www/README.md @@ -0,0 +1,6 @@ +To make the captcha image work you will need to install php-gd. +Since there might be version in the name first try searching your package manager + +Next you need to go to /etc/php/[your_version]/cli/php.ini and remove the semi-colon(;) from the line with extension=gd. + +Done. diff --git a/www/font.ttf b/www/font.ttf new file mode 100644 index 0000000..fcd2ddd Binary files /dev/null and b/www/font.ttf differ diff --git a/www/generate.php b/www/generate.php new file mode 100644 index 0000000..1219eeb --- /dev/null +++ b/www/generate.php @@ -0,0 +1,28 @@ + diff --git a/www/header.php b/www/header.php index 5ecae99..ae4041e 100644 --- a/www/header.php +++ b/www/header.php @@ -79,11 +79,6 @@ if (!preg_match("~^(?:f|ht)tps?://~i", $data[3])) { echo $urllink . '"> '; // display the link echo $data[2] . '

'; // display the link title and close the a href and first cell, open the second cell echo $data[5] . " "; // OPTIONAL: display the description column - if ($data[7] == 0.0){ - continue; - }else{ - echo $data[7] . " "; // display the score and close the second cell, open the third cell - } echo $data[7] . " "; // display the score and close the second cell, open the third cell if($data[6] == "YES"){ diff --git a/www/index.php b/www/index.php index c091717..7782c8d 100644 --- a/www/index.php +++ b/www/index.php @@ -1,3 +1,18 @@ + + + + @@ -19,6 +34,7 @@ +
CSV LINES: " . $lines_uv . " " . $lines_v . "

"; ?> -

@@ -99,6 +114,8 @@ require("header.php"); ?>
+Submit a link + diff --git a/www/style.css b/www/style.css index 61da77e..ff7aafd 100644 --- a/www/style.css +++ b/www/style.css @@ -12,8 +12,12 @@ .width-class{ width: 100%; object-fit: contain; - align: center; - + align: center; + display: flex; + flex-direction: column; +} +.input-class{ + margin: 0 20% 0 20%; } .projectbanner{ diff --git a/www/submission.csv b/www/submission.csv new file mode 100644 index 0000000..e69de29 diff --git a/www/submit.php b/www/submit.php new file mode 100644 index 0000000..788018d --- /dev/null +++ b/www/submit.php @@ -0,0 +1,84 @@ + + + + + + Darknet Lantern + + + + + + + + + " /> + + + + + + + + +
+ + + + + + + + +
+ + + +
+ +
+