| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?php
- $this->styles($this->html->style('view'));
- ?>
- <h2 class="ribbon full"><?= $anime->title ?></h2>
- <div class="triangle-ribbon"></div>
- <br class="cl">
- <aside id="img">
- <img src="<?=$anime->image ?>" alt="<?= $anime->title ?>">
- </aside>
- <section id="info"><p>
- <?php if(isset($anime->foreign_titles)):
- $str = 'Foreign titles:';
- for ($i = 0; $i < count($anime->foreign_titles); $i++) {
- if ($i > 0) $str .= '<b>,</b>';
- $str .= ' ' . $anime->foreign_titles[$i];
- }
- $str .= '<br>';
- ?>
- <?= $str ?>
- <?php endif; ?>
- <?php if(isset($anime->alternative_titles)):
- $str = 'Alternative titles:';
- for ($i = 0; $i < count($anime->alternative_titles); $i++) {
- if ($i > 0) $str .= '<b>,</b>';
- $str .= ' ' . $anime->alternative_titles[$i];
- }
- $str .= '<br>';
- ?>
- <?= $str ?>
- <?php endif; ?>
- Type: <?= $anime->view_type ?><br>
- Episodes: <?= $anime->episode_count ?><br>
- Aired: <?= $anime->aired ?><br>
- Producers: <?php
- $str = '';
- for ($i = 0; $i < count($anime->producers); $i++) {
- if ($i > 0) $str .= ',';
- $str .= ' <a href="/producer/view/' . $anime->producers[$i] . '">' . $anime->producers[$i] . '</a>';
- } ?><?= $str ?><br>
- Genres: <?php
- $str = '';
- for ($i = 0; $i < count($anime->genres); $i++) {
- if ($i > 0) $str .= ',';
- $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>
- <aside id="malstats">
- <h2>MAL Stats</h2>
- <p>
- Score: <?= $anime->mal_score ?><br>
- Votes: <?= $anime->mal_score_voted ?><br>
- Ranked: <?= $anime->mal_rank ?><br>
- Popularity: <?= $anime->mal_popularity ?><br>
- Members: <?= $anime->mal_score ?>
- </p>
- </aside>
- <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): ?>
- <tr>
- <td colspan="3">
- <?= $char->character ?>
- </td>
- </tr>
- <?php if (isset($char->people)): ?>
- <?php foreach($char->people as $actor): ?>
- <tr>
- <td></td>
- <td><?= $actor->name ?></td>
- <td><?= $actor->language ?></td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- <?php endforeach; ?>
- </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>
|