2015-06-11 16:44:52 -04:00
|
|
|
<body class="manga list">
|
|
|
|
<h1><?= WHOSE ?> Manga List [<a href="<?= full_url("", "anime") ?>">Anime List</a>]</h1>
|
|
|
|
<?php include 'nav.php' ?>
|
2015-05-27 09:03:42 -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/manga/<?= $item['manga']['id'] ?>">
|
2015-05-27 09:03:42 -04:00
|
|
|
<article class="media" id="manga-<?= $item['manga']['id'] ?>">
|
|
|
|
<img src="<?= $item['manga']['poster_image'] ?>" />
|
2015-06-11 16:44:52 -04:00
|
|
|
<div class="name">
|
2015-05-27 09:03:42 -04:00
|
|
|
<?= $item['manga']['romaji_title'] ?>
|
|
|
|
<?= (isset($item['manga']['english_title'])) ? "<br />({$item['manga']['english_title']})" : ""; ?>
|
2015-06-11 16:44:52 -04:00
|
|
|
</div>
|
2015-05-27 09:03:42 -04:00
|
|
|
<div class="media_metadata">
|
|
|
|
<div class="user_rating"><?= ($item['rating'] > 0) ? (int)($item['rating'] * 2) : '-' ?> / 10</div>
|
|
|
|
<div class="completion">
|
|
|
|
Chapters: <?= $item['chapters_read'] ?> / <?= ($item['manga']['chapter_count'] > 0) ? $item['manga']['chapter_count'] : "-" ?><?php /*<br />
|
|
|
|
Volumes: <?= $item['volumes_read'] ?> / <?= ($item['manga']['volume_count'] > 0) ? $item['manga']['volume_count'] : "-" ?>*/ ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-04 20:59:56 -04:00
|
|
|
<?php /*<div class="medium_metadata">
|
|
|
|
<div class="media_type"><?= $item['manga']['manga_type'] ?></div>
|
|
|
|
</div> */ ?>
|
2015-05-27 09:03:42 -04:00
|
|
|
</article>
|
2015-06-11 16:44:52 -04:00
|
|
|
</a>
|
2015-05-27 09:03:42 -04:00
|
|
|
<?php endforeach ?>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
<?php endforeach ?>
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|