Added PHP backend for rating data; implemented controller logic for rating; activated filter form for ratings.
Added condition to if statement.