From 28658d12a464777b50c789c2e9c3f86ce8f07da0 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Wed, 4 Jun 2025 20:12:57 +0400 Subject: feat: report system --- public/report.php | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 public/report.php (limited to 'public/report.php') diff --git a/public/report.php b/public/report.php new file mode 100644 index 0000000..ef1def6 --- /dev/null +++ b/public/report.php @@ -0,0 +1,106 @@ + $report_id], 'Sent!', 201); + exit(); +} + +$file_id = $_GET['f'] ?? ''; + +if (!is_file(FILE_UPLOAD_DIRECTORY . "/{$file_id}")) { + $file_id = null; +} + +?> + + + + Report - <?= INSTANCE_NAME ?> + + + + + +
+ +

Report a file

+
+
+ + + + + + + + + + + + + + + + + +
File ID with extension:
What is wrong with that file?
Feedback E-Mail:
+
+
+ + + \ No newline at end of file -- cgit v1.2.3