php files for viewing ratings