summaryrefslogtreecommitdiffstats
path: root/views/Profile
diff options
context:
space:
mode:
authorMichael Francis <edude03@gmail.com>2011-06-05 12:02:51 -0400
committerMichael Francis <edude03@gmail.com>2011-06-05 12:02:51 -0400
commitae36b3317b31a1d8f4bc235b53b70889e1cf3da3 (patch)
tree525dda318cb7ac8af5e7750f9bc15113bbe88332 /views/Profile
parent54e62827dfb7f01b0a6c240de1b8c7f2e2515163 (diff)
downloadotakuhub-ae36b3317b31a1d8f4bc235b53b70889e1cf3da3.tar.xz
History (Continued)
Diffstat (limited to 'views/Profile')
-rw-r--r--views/Profile/view.html.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/views/Profile/view.html.php b/views/Profile/view.html.php
index c6c0ed1..341f4a9 100644
--- a/views/Profile/view.html.php
+++ b/views/Profile/view.html.php
@@ -16,4 +16,16 @@ Last Online: <?= (empty($user->lastLogin)) ? "Never" : date('m/d/y', $user->last
<?php endforeach; ?>
<?php else: ?>
<?= $this->html->link('Click to edit profile', "/profile/edit/$user->username"); ?>
-<?php endif; ?> \ No newline at end of file
+<?php endif; ?>
+
+<h2>Recently Watched</h2>
+<hr />
+<table class="table">
+<?php $count = (count($history > 10)) ? 10 : count($history);
+for ($i = 0; $i < $count; $i++): ?>
+<tr>
+<td><?= $this->html->link($history[$i]["series_title"], '/animelist/$user->username/opinion'); ?></td>
+<td><?= $history[$i]["my_finish_date"] ?></td>
+</tr>
+<?php endfor; ?>
+</table> \ No newline at end of file