summaryrefslogtreecommitdiffstats
path: root/views/content/index.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/content/index.html.php')
-rw-r--r--views/content/index.html.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/views/content/index.html.php b/views/content/index.html.php
new file mode 100644
index 0000000..842203e
--- /dev/null
+++ b/views/content/index.html.php
@@ -0,0 +1,7 @@
+<table>
+<th>img</th><th>Name</th><th>Episodes</th><th>Type</th><th>Score</th>
+<?php foreach($content as $item): ?>
+<tr><td>"image"</td> <td><a href="/anime/<?= $item->special_id ?>"><?= $item->title ?></a></td> <td><?= $item->episode_count ?></td><td><?= $item->view_type ?></td><td><?= $item->mal_score ?></td></tr>
+<?php endforeach; ?>
+</table>
+<?=$this->Paginator->paginate(); ?> \ No newline at end of file