|
|
@@ -1,41 +1,12 @@
|
|
|
-<?php
|
|
|
+<?php
|
|
|
$this->styles($this->html->style('pagination'));
|
|
|
?>
|
|
|
|
|
|
-<?= var_dump($this->request()->controller); ?>
|
|
|
-
|
|
|
-
|
|
|
-<h3> Anime </h3>
|
|
|
-<hr>
|
|
|
-<table>
|
|
|
-<th>Title</th>
|
|
|
-<th>Date</th>
|
|
|
-<th>Type</th>
|
|
|
-<?php if(count($anime) > 0): ?>
|
|
|
-<?php foreach ($anime as $item): ?>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <a href="/anime/view/<?= $item->special_id ?>"><?= $item->title ?></a>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <?= $item->aired ?>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <?= $item->view_type ?>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
-<?php endforeach ?>
|
|
|
-</table>
|
|
|
-<div style = "float:right">
|
|
|
+<h3>Anime</h3>
|
|
|
+<?= $this->_render('element', 'animetable', compact('anime')) ?>
|
|
|
<?= $this->html->link("More", array('controller' => 'search',
|
|
|
'action' => 'anime')); ?>
|
|
|
-</div>
|
|
|
-<?php else: ?>
|
|
|
-<p> No results found</p>
|
|
|
-<?php endif; ?>
|
|
|
-
|
|
|
-
|
|
|
-<h3> Manga </h3>
|
|
|
+<h3>Manga</h3>
|
|
|
<hr>
|
|
|
<table>
|
|
|
<th>Title</th>
|
|
|
@@ -64,7 +35,7 @@ $this->styles($this->html->style('pagination'));
|
|
|
<p> No entries found </p>
|
|
|
<?php endif; ?>
|
|
|
|
|
|
-<h3> K Drama </h3>
|
|
|
+<h3> K Drama </h3>
|
|
|
<hr>
|
|
|
<table>
|
|
|
<th>Title</th>
|
|
|
@@ -90,5 +61,5 @@ $this->styles($this->html->style('pagination'));
|
|
|
'action' => 'anime')); ?>
|
|
|
</div>
|
|
|
<?php else: ?>
|
|
|
-<p> No Entries found </p>
|
|
|
-<?php endif; ?>
|
|
|
+<p>No Entries found</p>
|
|
|
+<?php endif; ?>
|