From 248c8cd1138bb9e16138acf04ba6e4f943b41e89 Mon Sep 17 00:00:00 2001 From: Michael Francis Date: Mon, 20 Jun 2011 19:04:04 -0400 Subject: Added search options to search --- views/Search/index.html.php | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/views/Search/index.html.php b/views/Search/index.html.php index 21869f7..a81d501 100644 --- a/views/Search/index.html.php +++ b/views/Search/index.html.php @@ -1,15 +1,23 @@
-search options lol +

Search options

+
+form->create(null, array('method' => 'get')); ?> + form->field('search', array('type' => 'textbox', 'class' => 'sidebar-search', 'style' => 'width:200px')); ?> + form->select('type', array('Anime' => 'Anime', + 'Manga' => 'Manga', + 'Kdrama' => 'Kdrama')); ?> + form->submit('Search', array('style' => 'width: 100px')); ?> +form->end(); ?>
- - - - - -
imgNameEpisodesTypeScore
"image" title ?> episode_count ?>view_type ?>mal_score ?>
+ + + + + +
imgNameEpisodesTypeScore
"image"title ?> episode_count ?>view_type ?>mal_score ?>
Paginator->paginate(array('separator' => '', 'action' => 'index/anime')); ?>
-- cgit v1.2.3