2015-06-11 16:44:52 -04:00
|
|
|
<body class="anime collection">
|
|
|
|
<h1><?= WHOSE ?> Anime Collection [<a href="<?= full_url('', 'manga') ?>">Manga List</a>]</h1>
|
|
|
|
<?php include 'nav.php' ?>
|
2015-06-11 12:54:54 -04:00
|
|
|
<main>
|
|
|
|
<?php foreach ($sections as $name => $items): ?>
|
|
|
|
<section class="status">
|
|
|
|
<h2><?= $name ?></h2>
|
|
|
|
<section class="media-wrap">
|
|
|
|
<?php foreach($items as $item): ?>
|
2015-06-11 16:44:52 -04:00
|
|
|
<a href="https://hummingbird.me/anime/<?= $item['slug'] ?>">
|
2015-06-11 12:54:54 -04:00
|
|
|
<article class="media" id="a-<?= $item['hummingbird_id'] ?>">
|
|
|
|
<img src="<?= $item['cover_image'] ?>" />
|
2015-06-11 16:44:52 -04:00
|
|
|
<div class="name">
|
2015-06-11 12:54:54 -04:00
|
|
|
<?= $item['title'] ?>
|
|
|
|
<?= ($item['alternate_title'] != "") ? "<br />({$item['alternate_title']})" : ""; ?>
|
2015-06-11 16:44:52 -04:00
|
|
|
</div>
|
2015-06-11 12:54:54 -04:00
|
|
|
<div class="media_metadata">
|
|
|
|
<div class="completion">Episodes: <?= $item['episode_count'] ?></div>
|
|
|
|
</div>
|
|
|
|
<div class="medium_metadata">
|
|
|
|
<div class="media_type"><?= $item['show_type'] ?></div>
|
|
|
|
<div class="age_rating"><?= $item['age_rating'] ?></div>
|
|
|
|
</div>
|
|
|
|
</article>
|
2015-06-11 16:44:52 -04:00
|
|
|
</a>
|
2015-06-11 12:54:54 -04:00
|
|
|
<?php endforeach ?>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
<?php endforeach ?>
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|