|
|
@@ -1,15 +1,31 @@
|
|
|
<?php
|
|
|
$this->styles($this->html->style('table'));
|
|
|
+$this->styles($this->html->style('search'));
|
|
|
?>
|
|
|
|
|
|
-<h3>Anime</h3>
|
|
|
+<?= $this->_render('element', 'search') ?>
|
|
|
+
|
|
|
+<h2 class="ribbon">Anime</h2>
|
|
|
+<div class="triangle-ribbon"></div>
|
|
|
<?= $this->_render('element', 'animetable', compact('anime')) ?>
|
|
|
-<?= $this->html->link("More", array('controller' => 'search',
|
|
|
- 'action' => 'anime')); ?>
|
|
|
-<h3>Manga</h3>
|
|
|
-<?= $this->html->link("More", array('controller' => 'search',
|
|
|
- 'action' => 'anime')); ?>
|
|
|
-
|
|
|
-<h3>K Drama</h3>
|
|
|
-<?= $this->html->link("More", array('controller' => 'search',
|
|
|
- 'action' => 'anime')); ?>
|
|
|
+<p class="more">
|
|
|
+<a href="/search/anime/<?= $q ?>">More</a>
|
|
|
+</p>
|
|
|
+
|
|
|
+<h2 class="ribbon">Manga</h2>
|
|
|
+<div class="triangle-ribbon"></div>
|
|
|
+<p>results</p>
|
|
|
+<?php if(count($manga) > 0): ?>
|
|
|
+<p class="more">
|
|
|
+<a href="/search/manga/<?= $q ?>">More</a>
|
|
|
+</p>
|
|
|
+<?php endif ?>
|
|
|
+
|
|
|
+<h2 class="ribbon">K-Drama</h2>
|
|
|
+<div class="triangle-ribbon"></div>
|
|
|
+<p>results</p>
|
|
|
+<?php if(count($kdrama) > 0): ?>
|
|
|
+<p class="more">
|
|
|
+<a href="/search/kdrama/<?= $q ?>">More</a>
|
|
|
+</p>
|
|
|
+<?php endif ?>
|