index.html.php 975 B

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