summaryrefslogtreecommitdiffstats
path: root/views/anime/index.html.php
blob: a67fd5eebd159af306f51969b48ee5b6ae9bd5d9 (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
<?php
$this->styles($this->html->style('anime'));
?>

<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): ?>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<?= $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' => '')) ?>