From 9c1dfaeb624b2ce958b3a0784897d5ebc597b03c Mon Sep 17 00:00:00 2001 From: Michael Francis Date: Fri, 1 Jul 2011 01:03:50 -0400 Subject: New column based search --- views/Search/index.html.php | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/views/Search/index.html.php b/views/Search/index.html.php index 70a6315..91bc1fa 100644 --- a/views/Search/index.html.php +++ b/views/Search/index.html.php @@ -1,3 +1,29 @@ +'; + 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"; + } +} +?>
@@ -16,10 +42,7 @@

Search Results


- - - - +
imgNameEpisodesTypeScore
"image"title ?> episode_count ?>view_type ?>mal_score ?>
Paginator->paginate(array('separator' => '', 'action' => 'index/anime')); ?>
-- cgit v1.2.3