2015-05-22 12:36:26 -04:00
|
|
|
<?php include 'header.php' ?>
|
|
|
|
<body>
|
2015-05-27 09:03:42 -04:00
|
|
|
<h1>Tim's Anime List [<a href="//manga.timshomepage.net">Manga List</a>]</h1>
|
|
|
|
<?php include 'anime_nav.php' ?>
|
2015-05-22 12:36:26 -04:00
|
|
|
<main>
|
|
|
|
<?php foreach ($sections as $name => $items): ?>
|
|
|
|
<section class="status">
|
|
|
|
<h2><?= $name ?></h2>
|
|
|
|
<section class="media-wrap">
|
|
|
|
<?php foreach($items as $item): ?>
|
|
|
|
<article class="media" id="a-<?= $item['anime']['id'] ?>">
|
|
|
|
<img src="<?= $item['anime']['cover_image'] ?>" />
|
|
|
|
<div class="name"><a href="<?= $item['anime']['url'] ?>">
|
|
|
|
<?= $item['anime']['title'] ?>
|
|
|
|
<?= ($item['anime']['alternate_title'] != "") ? "<br />({$item['anime']['alternate_title']})" : ""; ?>
|
|
|
|
</a></div>
|
|
|
|
<div class="media_metadata">
|
|
|
|
<div class="airing_status"><?= $item['anime']['status'] ?></div>
|
|
|
|
<div class="user_rating"><?= (int)($item['rating']['value'] * 2) ?> / 10</div>
|
2015-05-27 09:03:42 -04:00
|
|
|
<div class="completion">Episodes: <?= $item['episodes_watched'] ?> / <?= $item['anime']['episode_count'] ?></div>
|
2015-05-22 12:36:26 -04:00
|
|
|
</div>
|
2015-06-04 20:59:56 -04:00
|
|
|
<div class="medium_metadata">
|
|
|
|
<div class="media_type"><?= $item['anime']['show_type'] ?></div>
|
|
|
|
<div class="age_rating"><?= $item['anime']['age_rating'] ?></div>
|
|
|
|
</div>
|
2015-05-22 12:36:26 -04:00
|
|
|
</article>
|
|
|
|
<?php endforeach ?>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
<?php endforeach ?>
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|