diff options
Diffstat (limited to 'views/Profile')
-rw-r--r-- | views/Profile/view.html.php | 14 |
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 |