CD Review Search

Search For a CD Review by band or album title. If you want to see all the reviews done for a particular month leave all fields blank except for the month.

get_distinct_months(); $month_list = ''; $rating_list = ''; while(list($junk, $m) = each($months)) { if ($_POST['month'] == $m) $selected = ' selected'; else $selected = ''; $month_list .= ''; } for ($i = 1; $i <= 5; $i++) { if ($_POST['rating'] == $i) $selected = ' selected'; else $selected = ''; $rating_list .= ''; } ?>
Month:
Band Name:
Album Name:
Reviewer:
Minimum Rating:
 
get_search($s_band, $s_album, $s_month, $s_year, '', $s_post_by, $s_rating)) { echo template('entries_found', array('' => strval(count($reviews)))); $show_per_page = (int) $c->get('reviews_per_page'); for ($i = $pos; $i < ($pos + $show_per_page); $i++) { if (is_array($reviews[$i])) { $r = new review($reviews[$i]['id'], false, $reviews[$i]); list($r_url, $junk) = makequery(array(), array( 'band' => $s_band, 'album' => $s_album, 'post_by' => $s_post_by, 'rating' => $s_rating, 'month' => $s_month, 'year' => $s_year, 'pos' => $i )); if ($old_band == $r->get('band')) $use_template = 'review_azlist_sameband'; else $use_template = 'review_azlist_newband'; $old_band = $r->get('band'); echo template($use_template, array( '' => 'viewreview'.$ext.'?'.$r_url, '' => $r->get('band'), '' => $r->get('album') )); } } echo "\n\n"; ?>
$s_band, 'album' => $s_album, 'post_by' => $s_post_by, 'rating' => $s_rating, 'month' => $s_month, 'year' => $s_year, 'pos' => ($pos - $show_per_page) )); ?>PREVIOUS= ($pos + $show_per_page)) { list($r_url, $junk) = makequery(array(), array( 'band' => $s_band, 'album' => $s_album, 'post_by' => $s_post_by, 'rating' => $s_rating, 'month' => $s_month, 'year' => $s_year, 'pos' => ($pos + $show_per_page) )); ?>NEXT
$s_band, 'album' => $s_album, 'post_by' => $s_post_by, 'rating' => $s_rating, 'month' => $s_month, 'year' => $s_year, 'pos' => (int) ($i * $show_per_page) )); if ($pos == (int) ($i * $show_per_page)) $show_num = '['.($i + 1).']'; else $show_num = ($i + 1); echo "\n".$and; ?>
?>