HummingBirdAnimeClient/app/views/manga/details.php

38 lines
863 B
PHP
Raw Normal View History

2016-04-14 17:51:00 -04:00
<main class="details">
<section class="flex flex-no-wrap">
<div>
2017-01-04 13:16:58 -05:00
<img class="cover" src="<?= $data['cover_image'] ?>" alt="<?= $data['title'] ?> cover image" />
2016-04-14 17:51:00 -04:00
<br />
<br />
<table>
<tr>
<td>Manga Type</td>
<td><?= $data['manga_type'] ?></td>
</tr>
<tr>
<td>Volume Count</td>
<td><?= $data['volume_count'] ?></td>
</tr>
<tr>
<td>Chapter Count</td>
<td><?= $data['chapter_count'] ?></td>
</tr>
<tr>
<td>Genres</td>
<td>
<?= implode(', ', $data['genres']); ?>
</td>
</tr>
</table>
</div>
<div>
2017-01-04 13:16:58 -05:00
<h2><a rel="external" href="<?= $data['url'] ?>"><?= $data['title'] ?></a></h2>
<?php if( ! empty($data['en_title'])): ?>
<h3><?= $data['en_title'] ?></h3>
2016-04-14 17:51:00 -04:00
<?php endif ?>
<br />
<p><?= nl2br($data['synopsis']) ?></p>
</div>
</section>
</main>