| 11 | | echo $html->div('butonright', $gags->sendEdit($val['id'], 'Question')); |
| 12 | | echo $html->div('butonright', $gags->confirmDel($val['id'], 'Question')); |
| 13 | | echo "Question: " . $val["question"] . "<br />"; |
| 14 | | echo "Hint: " . $val["hint"] . "<br />"; |
| 15 | | echo "Explanation: " . $val["explanation"] . "<br />"; |
| 16 | | echo "Worth: " . $val["worth"] . "<br /><br />"; |
| 17 | | echo $html->link('View answers ('.$answers.')', '/admin/questions/answers/'.$val["id"]); |
| | 11 | echo $html->div('butonright', $gags->sendEdit($val['Question']['id'], 'Question')); |
| | 12 | echo $html->div('butonright', $gags->confirmDel($val['Question']['id'], 'Question')); |
| | 13 | echo "Question: " . $val['Question']['question'] . "<br />"; |
| | 14 | echo "Hint: " . $val['Question']['hint'] . "<br />"; |
| | 15 | echo "Explanation: " . $val['Question']['explanation'] . "<br />"; |
| | 16 | echo "Worth: " . $val['Question']['worth'] . "<br /><br />"; |
| | 17 | echo $html->link('View answers ('.$answers.')', '/admin/questions/answers/'.$val['Question']['id']); |