} } echo '</div>'; if ($reviewed == '') { echo '<span style="color:white; background-color:#FF4040; padding-left:5px; padding-right:5px">' . $string['notreviewed'] . '</span>'; } else { echo '<span style="color:#808080">' . sprintf($string['reviewed'], date($configObject->get('cfg_short_date_php') . ' ' . $configObject->get('cfg_short_time_php'), $reviewed)) . '</span>'; } echo "</td></tr>\n<tr><td colspan=\"2\" style=\"font-size:80%\"> </td>\n</tr>\n"; } if ($result->num_rows == 0) { echo "<tr><td colspan=\"2\"><p style=\"color:red\">" . $string['nopapersfound'] . "</p></td></tr>\n"; } $result->close(); echo "</table>\n"; $released_papers = ReviewUtils::get_past_papers($userObject->get_user_ID(), $mysqli); echo '<h1>' . $string['postexamreviews'] . '</h1>'; echo "<p style=\"margin-left:15px; margin-right:15px; text-align:justify\">" . $string['msg3'] . "</p>\n"; echo "<table style=\"margin-left:15px\">\n"; foreach ($released_papers as $paperID => $paper_details) { echo "<tr><td><a href=\"class_totals.php?id=" . $paper_details['crypt_name'] . "\"><img src=\"../artwork/summative_16.gif\" width=\"16\" height=\"16\" style=\"margin-right:5px\" />" . $paper_details['paper_title'] . "</a></td><td class=\"datepad\">" . $paper_details['start_date'] . "</td></tr>\n"; } echo "</table>\n"; echo "</div>\n"; $mysqli->close(); ?> <br /> <table class="oss"> <tr>