summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Francis <edude03@gmail.com>2011-05-29 16:50:35 -0400
committerMichael Francis <edude03@gmail.com>2011-05-29 16:50:35 -0400
commit0d6457238e351707014bf5bfc0e654b0543d43f9 (patch)
treeaf138b0e65b68b3c3556736d49327ce32099ce4c
parentf07327f84a5ed01dbfe639674c1840eb8dbc5861 (diff)
downloadotakuhub-0d6457238e351707014bf5bfc0e654b0543d43f9.tar.xz
pagination fix. (doesn't work yet though)
-rw-r--r--views/Search/index.html.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/views/Search/index.html.php b/views/Search/index.html.php
index 16e4f33..21869f7 100644
--- a/views/Search/index.html.php
+++ b/views/Search/index.html.php
@@ -1,7 +1,17 @@
+
+<div class="container_12">
+<div class="grid_4">
+search options lol
+</div>
+<div class="grid_8">
<table class="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(array('separator' => '', 'action' => 'index')); ?>
+<?=$this->Paginator->paginate(array('separator' => '', 'action' => 'index/anime')); ?>
+</div>
+</div>
+<br class="cl">
+</div> \ No newline at end of file