summaryrefslogtreecommitdiffstats
path: root/views/search/index.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/search/index.html.php')
-rw-r--r--views/search/index.html.php64
1 files changed, 7 insertions, 57 deletions
diff --git a/views/search/index.html.php b/views/search/index.html.php
index a269d01..a05f269 100644
--- a/views/search/index.html.php
+++ b/views/search/index.html.php
@@ -1,65 +1,15 @@
<?php
-$this->styles($this->html->style('pagination'));
+$this->styles($this->html->style('table'));
?>
<h3>Anime</h3>
<?= $this->_render('element', 'animetable', compact('anime')) ?>
<?= $this->html->link("More", array('controller' => 'search',
- 'action' => 'anime')); ?>
+ 'action' => 'anime')); ?>
<h3>Manga</h3>
-<hr>
-<table>
-<th>Title</th>
-<th>Date</th>
-<th>Type</th>
-<?php if(count($manga) > 0): ?>
-<?php foreach ($manga 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">
- <?= $this->html->link("More", array('controller' => 'search',
- 'action' => 'anime')); ?>
-</div>
-<?php else: ?>
-<p> No entries found </p>
-<?php endif; ?>
+<?= $this->html->link("More", array('controller' => 'search',
+ 'action' => 'anime')); ?>
-<h3> K Drama </h3>
-<hr>
-<table>
-<th>Title</th>
-<th>Date</th>
-<th>Type</th>
-<?php if(count($kdrama) > 0): ?>
-<?php foreach ($kdrama 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">
- <?= $this->html->link("More", array('controller' => 'search',
- 'action' => 'anime')); ?>
-</div>
-<?php else: ?>
-<p>No Entries found</p>
-<?php endif; ?>
+<h3>K Drama</h3>
+<?= $this->html->link("More", array('controller' => 'search',
+ 'action' => 'anime')); ?>