summaryrefslogtreecommitdiffstats
path: root/application/views/file_plaintext/upload_history.php
blob: e033114640c7f9970f42f56df3299d1b94322631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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";
}