summaryrefslogtreecommitdiffstats
path: root/application/views/file_plaintext
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-09-11 16:00:22 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-09-11 18:12:36 +0200
commit3e99f93830d61be76205474bacc749e97d9e3ca5 (patch)
treed065b3e7e42f74e9038570a1d921ba3e883f9250 /application/views/file_plaintext
parent599cf82ff710d01de97231e3fa73fff2b514708e (diff)
add upload_history page
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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";
+}
+