summaryrefslogtreecommitdiffstats
path: root/views/users/index.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/users/index.html.php')
-rw-r--r--views/users/index.html.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/views/users/index.html.php b/views/users/index.html.php
new file mode 100644
index 0000000..4705d1c
--- /dev/null
+++ b/views/users/index.html.php
@@ -0,0 +1,12 @@
+<?php if (empty($users)): ?>
+ <h1>No Users Found!</h1>
+<?php else: ?>
+<?php foreach($users as $user): ?>
+<user>
+ <h1><?=$user->username ?> </h1>
+ <p>Salted Password: <?=$user->password ?></p>
+ <p>Salt: <?=$user->salt ?></p>
+ <p>Joined on: <?=date('m/d/y', $user->joinedOn->sec) ?></p>
+<user>
+<?php endforeach; ?>
+<?php endif; ?> \ No newline at end of file