blob: b2efce11e025f1b32bf90daec57364cfb98d5d94 (
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
|
<table>
<tr>
<th>Title</th>
<th>Date</th>
<th>Type</th>
</tr>
<?php foreach ($anime as $a): ?>
<tr>
<td>
<a href="/anime/view/<?= $a->special_id ?>"><?= $a->title ?></a>
<?php if (isset($a->foreign_titles) || isset($a->alternative_titles)): ?>
<span class="alt_titles">
<?php if (isset($a->foreign_titles)): ?>
<?= $a->foreign_titles[0] ?>
<?php endif ?>
<?php if (isset($a->alternative_titles)): ?>
<?= $a->alternative_titles[0] ?>
<?php endif ?>
</span>
<?php endif ?>
</td>
<td>
<?= $a->aired ?>
</td>
<td>
<?= $a->view_type ?>
</td>
</tr>
<?php endforeach ?>
</table>
|