diff options
Diffstat (limited to 'application/views/file_plaintext/upload_history.php')
-rw-r--r-- | application/views/file_plaintext/upload_history.php | 19 |
1 files changed, 19 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..87586babd --- /dev/null +++ b/application/views/file_plaintext/upload_history.php @@ -0,0 +1,19 @@ +<?php +echo + mb_str_pad($fields["id"], $lengths["id"])." | " + .mb_str_pad($fields["filename"], $lengths["filename"])." | " + .mb_str_pad($fields["mimetype"], $lengths["mimetype"])." | " + .mb_str_pad($fields["date"], $lengths["date"])." | " + .mb_str_pad($fields["hash"], $lengths["hash"])." | " + .mb_str_pad($fields["filesize"], $lengths["filesize"])."\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"]." | " + .$item["filesize"]."\n"; +} + |