| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <h1><?= $user->username ?>'s AnimeList</h1>
- <hr/>
- <table><tr><?= $this->html->link("Completed", "/animelist/view/$user->username/completed"); ?> </tr></table>
- <?php if (isset($watching)): ?>
- <h2 class="ribbon">Watching</h2><button value="Add" style="float:right">
- <tr><th>Entry #</th><th>Anime Title</th><th>Score</th><th>Type</th><th>Progress</th></tr>
- <?php $i = 1; ?>
- <?php foreach ($watching as $anime): ?>
- <tr>
- <td><?= $i ?></td>
- <td><?= $anime->series_title ?></td>
- <td><?= ($anime->my_score != 0) ? $anime->my_score : "-"; ?></td>
- <td><?= $anime->series_type ?></td>
- <td><?= $anime->my_watched_episodes ?>/<?= ($anime->series_episodes != 0) ? $anime->series_episodes : "-"; ?></td>
- </tr>
- <?php $i += 1; ?>
- <?php endforeach; ?>
- </table>
- <?php endif; ?>
- <?php if (isset($planning)): ?>
- <h2 class="ribbon">Plans to Watch</h2>
- <table>
- <tr><th>Entry #</th><th>Anime Title</th><th>Score</th><th>Type</th><th>Progress</th></tr>
- <?php $i = 1; ?>
- <?php foreach ($planning as $anime): ?>
- <tr>
- <td><?= $i ?></td>
- <td><?= $anime->series_title ?></td>
- <td><?= ($anime->my_score != 0) ? $anime->my_score : "-"; ?></td>
- <td><?= $anime->series_type ?></td>
- <td><?= $anime->my_watched_episodes ?>/<?= ($anime->series_episodes != 0) ? $anime->series_episodes : "-"; ?></td>
- </tr>
- <?php $i += 1; ?>
- <?php endforeach; ?>
- </table>
- <?php endif; ?>
- <?php if(isset($paused)): ?>
- <h2 class="ribbon">Paused</h2>
- <table>
- <tr><th>Entry #</th><th>Anime Title</th><th>Score</th><th>Type</th><th>Progress</th></tr>
- <?php $i = 1; ?>
- <?php foreach ($paused as $anime): ?>
- <tr>
- <td><?= $i ?></td>
- <td><?= $anime->series_title ?></td>
- <td><?= ($anime->my_score != 0) ? $anime->my_score : "-"; ?></td>
- <td><?= $anime->series_type ?></td>
- <td><?= $anime->my_watched_episodes ?>/<?= ($anime->series_episodes != 0) ? $anime->series_episodes : "-"; ?></td>
- </tr>
- <?php $i += 1; ?>
- <?php endforeach; ?>
- </table>
- <?php endif; ?>
- <?php if (isset($dropped)): ?>
- <h2 class="ribbon">Dropped</h2>
- <table>
- <tr><th>Entry #</th><th>Anime Title</th><th>Score</th><th>Type</th><th>Progress</th></tr>
- <?php $i = 1; ?>
- <?php foreach ($dropped as $anime): ?>
- <tr>
- <td><?= $i ?></td>
- <td><?= $anime->series_title ?></td>
- <td><?= ($anime->my_score != 0) ? $anime->my_score : "-"; ?></td>
- <td><?= $anime->series_type ?></td>
- <td><?= $anime->my_watched_episodes ?>/<?= ($anime->series_episodes != 0) ? $anime->series_episodes : "-"; ?></td>
- </tr>
- <?php $i += 1; ?>
- <?php endforeach; ?>
- </table>
- <?php endif; ?>
|