summaryrefslogtreecommitdiffstats
path: root/application/views/file_plaintext
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/file_plaintext')
-rw-r--r--application/views/file_plaintext/upload_history.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/application/views/file_plaintext/upload_history.php b/application/views/file_plaintext/upload_history.php
new file mode 100644
index 000000000..e03311464
--- /dev/null
+++ b/application/views/file_plaintext/upload_history.php
@@ -0,0 +1,17 @@
+<?php
+echo
+ mb_str_pad("ID", $lengths["id"])." | "
+ .mb_str_pad("Filename", $lengths["filename"])." | "
+ .mb_str_pad("Mimetype", $lengths["mimetype"])." | "
+ .mb_str_pad("Date", $lengths["date"])." | "
+ .mb_str_pad("Hash", $lengths["hash"])."\n";
+
+foreach($query as $key => $item) {
+ echo
+ mb_str_pad($item["id"], $lengths["id"])." | "
+ .mb_str_pad($item["filename"], $lengths["filename"])." | "
+ .mb_str_pad($item["mimetype"], $lengths["mimetype"])." | "
+ .$item["date"]." | "
+ .$item["hash"]."\n";
+}
+