|
@@ 5442-5458 (lines=17) @@
|
| 5439 |
|
.'</tr>' |
| 5440 |
|
.'</table>'; |
| 5441 |
|
$open_question_list = null; |
| 5442 |
|
foreach ($question_list_answers as $item) { |
| 5443 |
|
$question = $item['question']; |
| 5444 |
|
$answer = $item['answer']; |
| 5445 |
|
$answer_type = $item['answer_type']; |
| 5446 |
|
|
| 5447 |
|
if (!empty($question) && !empty($answer) && $answer_type == FREE_ANSWER) { |
| 5448 |
|
$open_question_list .= |
| 5449 |
|
'<tr>' |
| 5450 |
|
.'<td width="220" valign="top" bgcolor="#E5EDF8"> '.get_lang('Question').'</td>' |
| 5451 |
|
.'<td width="473" valign="top" bgcolor="#F3F3F3">'.$question.'</td>' |
| 5452 |
|
.'</tr>' |
| 5453 |
|
.'<tr>' |
| 5454 |
|
.'<td width="220" valign="top" bgcolor="#E5EDF8"> '.get_lang('Answer').'</td>' |
| 5455 |
|
.'<td valign="top" bgcolor="#F3F3F3">'.$answer.'</td>' |
| 5456 |
|
.'</tr>'; |
| 5457 |
|
} |
| 5458 |
|
} |
| 5459 |
|
|
| 5460 |
|
if (!empty($open_question_list)) { |
| 5461 |
|
$msg .= '<p><br />'.get_lang('OpenQuestionsAttemptedAre').' :</p>'. |
|
@@ 5525-5541 (lines=17) @@
|
| 5522 |
|
$user_info = api_get_user_info(api_get_user_id()); |
| 5523 |
|
|
| 5524 |
|
$oral_question_list = null; |
| 5525 |
|
foreach ($question_list_answers as $item) { |
| 5526 |
|
$question = $item['question']; |
| 5527 |
|
$answer = $item['answer']; |
| 5528 |
|
$answer_type = $item['answer_type']; |
| 5529 |
|
|
| 5530 |
|
if (!empty($question) && !empty($answer) && $answer_type == ORAL_EXPRESSION) { |
| 5531 |
|
$oral_question_list.='<br /><table width="730" height="136" border="0" cellpadding="3" cellspacing="3">' |
| 5532 |
|
.'<tr>' |
| 5533 |
|
.'<td width="220" valign="top" bgcolor="#E5EDF8"> '.get_lang('Question').'</td>' |
| 5534 |
|
.'<td width="473" valign="top" bgcolor="#F3F3F3">'.$question.'</td>' |
| 5535 |
|
.'</tr>' |
| 5536 |
|
.'<tr>' |
| 5537 |
|
.'<td width="220" valign="top" bgcolor="#E5EDF8"> '.get_lang('Answer').'</td>' |
| 5538 |
|
.'<td valign="top" bgcolor="#F3F3F3">'.$answer.'</td>' |
| 5539 |
|
.'</tr></table>'; |
| 5540 |
|
} |
| 5541 |
|
} |
| 5542 |
|
|
| 5543 |
|
if (!empty($oral_question_list)) { |
| 5544 |
|
$msg = get_lang('OralQuestionsAttempted').'<br /><br /> |