index.html.php 926 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. $this->styles($this->html->style('anime'));
  3. ?>
  4. <h2 class="ribbon full">Anime</h2>
  5. <div class="triangle-ribbon"></div>
  6. <?= $this->Paginator->paginate(array('separator' => '')) ?>
  7. <table>
  8. <th>Title</th>
  9. <th>Date</th>
  10. <th>Type</th>
  11. <?php foreach ($content as $anime): ?>
  12. <tr>
  13. <td>
  14. <a href="/anime/view/<?= $anime->special_id ?>"><?= $anime->title ?></a>
  15. <?php if ($anime->foreign_titles || $anime->alternative_titles): ?>
  16. <span class="alt_titles">
  17. <?php if ($anime->foreign_titles): ?>
  18. <?= $anime->foreign_titles[0] ?>
  19. <?php endif ?>
  20. <?php if ($anime->alternative_titles): ?>
  21. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  22. <?= $anime->alternative_titles[0] ?>
  23. <?php endif ?>
  24. </span>
  25. <?php endif ?>
  26. </td>
  27. <td>
  28. <?= $anime->aired ?>
  29. </td>
  30. <td>
  31. <?= $anime->view_type ?>
  32. </td>
  33. </tr>
  34. <?php endforeach ?>
  35. </table>
  36. <?= $this->Paginator->paginate(array('separator' => '')) ?>