summaryrefslogtreecommitdiffstats
path: root/application/views/file
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
parent599cf82ff710d01de97231e3fa73fff2b514708e (diff)
add upload_history page
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file')
-rw-r--r--application/views/file/upload_history.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/application/views/file/upload_history.php b/application/views/file/upload_history.php
new file mode 100644
index 000000000..5d61c7331
--- /dev/null
+++ b/application/views/file/upload_history.php
@@ -0,0 +1,26 @@
+<?php echo form_open('file/upload_history'); ?>
+ <p>
+ Password:<input type="password" name="password" size="10" />
+ <input type="submit" value="Display" />
+ </p>
+</form>
+
+<table class="results">
+<tr>
+ <th>ID</th>
+ <th>Filename</th>
+ <th>Mimetype
+ <th>Date</th>
+ <th>Hash</th>
+</tr>
+
+<?php foreach($query as $key => $item): ?>
+<tr class="<?php echo even_odd(); ?>">
+ <td><a href="<?php echo site_url("/".$item["id"]); ?>/"><?php echo $item["id"]; ?></a></td>
+ <td><?php echo $item["filename"]; ?></td>
+ <td><?php echo $item["mimetype"]; ?></td>
+ <td><?php echo $item["date"]; ?></td>
+ <td><?php echo $item["hash"]; ?></td>
+</tr>
+<?php endforeach; ?>
+</table>