diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/anime_list/index.html | 3 | ||||
-rw-r--r-- | views/anime_list/index.html.php | 74 |
2 files changed, 0 insertions, 77 deletions
diff --git a/views/anime_list/index.html b/views/anime_list/index.html deleted file mode 100644 index ad9911a..0000000 --- a/views/anime_list/index.html +++ /dev/null @@ -1,3 +0,0 @@ -<h1><?= $user->username ?>'s AnimeList</h1> - -<?= print_r($watching); ?>
\ No newline at end of file diff --git a/views/anime_list/index.html.php b/views/anime_list/index.html.php deleted file mode 100644 index abe931b..0000000 --- a/views/anime_list/index.html.php +++ /dev/null @@ -1,74 +0,0 @@ -<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; ?>
\ No newline at end of file |