| @@ 2754-2758 (lines=5) @@ | ||
| 2751 | } else { |
|
| 2752 | foreach ($possible_option as $option_id => & $value) { |
|
| 2753 | if ($questions[$question_id]['type'] == 'percentage') { |
|
| 2754 | if (!empty($answers_of_user[$question_id][$option_id])) { |
|
| 2755 | echo "<td align='center'>"; |
|
| 2756 | echo $answers_of_user[$question_id][$option_id]['value']; |
|
| 2757 | echo "</td>"; |
|
| 2758 | } |
|
| 2759 | } |
|
| 2760 | else { |
|
| 2761 | echo '<td align="center">'; |
|
| @@ 2763-2768 (lines=6) @@ | ||
| 2760 | else { |
|
| 2761 | echo '<td align="center">'; |
|
| 2762 | if (!empty($answers_of_user[$question_id][$option_id])) { |
|
| 2763 | if ($answers_of_user[$question_id][$option_id]['value'] != 0) { |
|
| 2764 | echo $answers_of_user[$question_id][$option_id]['value']; |
|
| 2765 | } |
|
| 2766 | else { |
|
| 2767 | echo 'v'; |
|
| 2768 | } |
|
| 2769 | } |
|
| 2770 | } // </hub> |
|
| 2771 | } |
|