blob: 2b95fcf025bc3a0c74827ca6954b7f4791a94baf (
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
|
<?php
$this->styles($this->html->style('anime'));
$this->styles($this->html->style('pagination'));
?>
<h2 class="ribbon full">Anime</h2>
<div class="triangle-ribbon"></div>
<?= $this->Paginator->paginate(array('separator' => '')) ?>
<table>
<th>Title</th>
<th>Date</th>
<th>Type</th>
<?php foreach ($content as $anime): ?>
<tr>
<td>
<a href="/anime/view/<?= $anime->special_id ?>"><?= $anime->title ?></a>
<?php if ($anime->foreign_titles || $anime->alternative_titles): ?>
<span class="alt_titles">
<?php if ($anime->foreign_titles): ?>
<?= $anime->foreign_titles[0] ?>
<?php endif ?>
<?php if ($anime->alternative_titles): ?>
<?= $anime->alternative_titles[0] ?>
<?php endif ?>
</span>
<?php endif ?>
</td>
<td>
<?= $anime->aired ?>
</td>
<td>
<?= $anime->view_type ?>
</td>
</tr>
<?php endforeach ?>
</table>
<?= $this->Paginator->paginate(array('separator' => '')) ?>
|