blob: 7f2847f7aacb617721f37fb27af6c4f63142b0a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
<?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>
<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>
<br>
<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>
|