|
|
@@ -10,7 +10,7 @@ $this->styles($this->html->style('view'));
|
|
|
<img src="<?=$anime->image ?>" alt="<?= $anime->title ?>">
|
|
|
</aside>
|
|
|
|
|
|
-<section><p>
|
|
|
+<section id="info"><p>
|
|
|
<?php if(isset($anime->foreign_titles)):
|
|
|
$str = 'Foreign titles:';
|
|
|
for ($i = 0; $i < count($anime->foreign_titles); $i++) {
|
|
|
@@ -44,12 +44,13 @@ Genres: <?php
|
|
|
$str = '';
|
|
|
for ($i = 0; $i < count($anime->genres); $i++) {
|
|
|
if ($i > 0) $str .= ',';
|
|
|
- $str .= ' <a href="/producer/view/' . $anime->genres[$i] . '">' . $anime->genres[$i] . '</a>';
|
|
|
+ $str .= ' <a href="/genre/view/' . $anime->genres[$i] . '">' . $anime->genres[$i] . '</a>';
|
|
|
} ?><?= $str ?><br>
|
|
|
Duration: <?= $anime->episode_duration ?><br>
|
|
|
Rating: <?= $anime->rated ?><br>
|
|
|
Related: <?= $related ?>
|
|
|
-</p></section>
|
|
|
+</p>
|
|
|
+</section>
|
|
|
|
|
|
<aside id="malstats">
|
|
|
<h2>MAL Stats</h2>
|
|
|
@@ -61,27 +62,37 @@ Popularity: <?= $anime->mal_popularity ?><br>
|
|
|
Members: <?= $anime->mal_score ?>
|
|
|
</p>
|
|
|
</aside>
|
|
|
-<br class="cl">
|
|
|
-
|
|
|
-<h2 class="ribbon">Synopsis</h2>
|
|
|
-<div class="triangle-ribbon"></div>
|
|
|
-<br class="cl">
|
|
|
-<p><?= $anime->synopsis ?></p>
|
|
|
|
|
|
-<h2 class="ribbon">Characters and VA's</h2>
|
|
|
-<div class="triangle-ribbon"></div>
|
|
|
-<br class="cl">
|
|
|
+<section id="cast">
|
|
|
+<p>
|
|
|
+<a href="/anime/cast/<?= $anime->special_id ?>" onclick="return toggleCast()">Cast ↓</a>
|
|
|
+</p>
|
|
|
+<p><table>
|
|
|
<?php foreach($anime->cast as $char): ?>
|
|
|
-<?= $char->character ?>
|
|
|
-<?= $char->role ?>
|
|
|
-Played by:
|
|
|
+ <tr>
|
|
|
+ <td colspan="3">
|
|
|
+ <?= $char->character ?>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
<?php if (isset($char->people)): ?>
|
|
|
<?php foreach($char->people as $actor): ?>
|
|
|
- <?= $actor->name ?>
|
|
|
- <?= $actor->language ?>
|
|
|
+ <tr>
|
|
|
+ <td></td>
|
|
|
+ <td><?= $actor->name ?></td>
|
|
|
+ <td><?= $actor->language ?></td>
|
|
|
+ </tr>
|
|
|
<?php endforeach; ?>
|
|
|
<?php endif; ?>
|
|
|
<?php endforeach; ?>
|
|
|
-</div>
|
|
|
-<br class="cl"/>
|
|
|
-</div>
|
|
|
+</table></p>
|
|
|
+<p id="castlink">
|
|
|
+<a href="" onclick="return toggleCast()">Cast ↑</a>
|
|
|
+</p>
|
|
|
+</section>
|
|
|
+
|
|
|
+<br class="cl">
|
|
|
+
|
|
|
+<h2 class="ribbon">Synopsis</h2>
|
|
|
+<div class="triangle-ribbon"></div>
|
|
|
+<br class="cl">
|
|
|
+<p><?= $anime->synopsis ?></p>
|