echo "<div class='notesInfo'>"; displayEditorNotes($uid, $pid); echo "</div>"; // List puzzle runtime info echo "<div class='notesInfo'>"; displayRuntime($uid, $pid); echo "</div>"; // List credits if (USING_CREDITS) { echo "<div class='creditsInfo'>"; displayCredits($uid, $pid); echo "</div>"; } // List wiki page echo "<div class='wikiInfo'>"; displayWikiPage($uid, $pid); echo "</div>"; // List testsolve requests if (USING_TESTSOLVE_REQUESTS) { echo "<div class='testsolveInfo'>"; displayTestsolveRequests($uid, $pid); echo "</div>"; } // TestsolveTeam Stuff if (USING_TESTSOLVE_TEAMS) { echo "<form method='post' action='form-submit.php'>"; echo "<div class='testsolveInfo'>"; echo "<strong>TestSolve Team:</strong>\n"; echo "<input type='hidden' name='pid' value='{$pid}'>\n"; echo "<SELECT NAME='tid'>\n"; $teamid = getPuzzleTestTeam($pid);
} } } $title = getTitle($pid); if ($title == NULL) { $title = '(untitled)'; } echo "<h2>Puzzle {$pid} — {$title}</h2>"; echo "<strong class='impt'>IMPORTANT:</strong> <b>Please leave feedback! We\n need it!</b><br><br> When you are done, PLEASE leave feedback indicating\n that you do not intend to return, <b>even if the rest is blank</b>. This\n removes you as a tester on this puzzle, so we can track who's still\n working.\n"; echo "<br><br>\n"; if (isset($_SESSION['feedback'])) { echo '<p><strong>' . $_SESSION['feedback'] . '</strong></p>'; unset($_SESSION['feedback']); } maybeDisplayWarning($uid, $pid); displayWikiPage($pid); displayDraft($pid); echo '<br />'; $otherTesters = getCurrentTestersAsEmailList($pid); echo "<p>Current Testsolvers: {$otherTesters}</p>"; echo '<br />'; checkAnsForm($uid, $pid); if (isset($_SESSION['answer'])) { echo $_SESSION['answer']; unset($_SESSION['answer']); } displayPrevAns($uid, $pid); echo '<br />'; displayFeedbackForm($uid, $pid); echo '<br />'; displayPrevFeedback($uid, $pid);