styles($this->html->style('pagination')); //table helper function table($data, array $headers = array(), array $options = array()) { //Create the table echo ''; foreach ($headers as $k => $v) { echo "$v"; } echo "\n"; foreach ($data as $item) { echo ''; foreach($headers as $key => $value) { echo ''; echo $item->$key; echo ''; } echo "\n"; } } ?>

Search options


form->create(null, array('method' => 'get')); ?> form->field('search', array('type' => 'textbox', 'class' => 'sidebar-search', 'style' => 'width:200px')); ?> form->label('type', 'For:'); ?> form->select('type', array('Anime' => 'Anime', 'Manga' => 'Manga', 'Kdrama' => 'Kdrama')); ?> form->submit('Search', array('style' => 'width: 100px')); ?> form->end(); ?>

Search Results


Paginator->paginate(array('separator' => '', 'action' => 'index/anime')); ?>