} } echo '</td>'; echo $logo_html; } else { echo '<tr><td>'; } $midexam_clarification = $configObject->get('midexam_clarification'); if ($propertyObj->get_paper_type() === '3') { $calculator = 0; } else { $calculator = $propertyObj->get_calculator(); } if (in_array('students', $midexam_clarification)) { $exam_announcementObj = new ExamAnnouncements($paperID, $mysqli, $string); echo $exam_announcementObj->display_student_announcements(); } echo "<table cellpadding=\"0\" cellspacing=\"4\" border=\"0\" width=\"100%\" style=\"table-layout:fixed\">\n"; echo "<col width=\"40\"><col>\n"; // Display the questions foreach ($questions_array as &$question) { if ($question['screen'] == $current_screen) { if ($screen_pre_submitted == 1 and $q_displayed == 0) { echo "<tr style=\"display:none\" id=\"unansweredkey\"><td colspan=\"2\"><span class=\"unans\"> </span> " . $string['unansweredquestion'] . "</td></tr>\n"; } if ($q_displayed == 0 and $current_screen == 1 and $propertyObj->get_paper_prologue() != '') { echo '<tr><td colspan="2" style="padding:20px; text-align:justify">' . $propertyObj->get_paper_prologue() . '</td></tr>'; } if ($q_displayed == 0 and $question['theme'] == '') { echo "<tr><td colspan=\"2\"> </td></tr>\n"; }