improvement: checkboxes to control detail and summary info was added
improvement: added summary queries and conditions for a choice
improved: finishing with detail/summary checkboxes. reorder general "if" conditions sequence

Signed-off-by: semteacher <semteacher@gmail.com>
New feature: checkboxes that allow choose which info will be displayed: detail, summery or both.
Previous commit fix and clean-up

Signed-off-by: semteacher <semteacher@gmail.com>
Merge branch 'rating'
Correct mistake there:
$ratingindex[($_POST['INDEXID']-1)][1]

Signed-off-by: semteacher <semteacher@gmail.com>
Merge branch 'rating'
Merge pull request #2 from semteacher/master

Updated: teacher rating review page