Browse Source

pagination fix. (doesn't work yet though)

Michael Francis 14 years ago
parent
commit
0d6457238e
1 changed files with 11 additions and 1 deletions
  1. 11 1
      views/Search/index.html.php

+ 11 - 1
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>