" /> </form> <?php echo $error_div; ?> </div> </div> <?php if ($error != "Invalid request.") { ?> <div style="width: 100%; margin: auto;"><h1>The Note You're Voting On</h1></div> <div style="width: 90%; margin: auto; padding: 15px; background-color: lightgray; border: 1px dashed gray;"> <?php $backID = htmlspecialchars($_REQUEST['id']); $backPAGE = htmlspecialchars($_REQUEST['page']); manual_note_display($N[$_REQUEST['id']]['xwhen'], $N[$_REQUEST['id']]['user'], $N[$_REQUEST['id']]['note'], $N[$_REQUEST['id']]['id'], $N[$_REQUEST['id']]['votes'], false); ?> </div> <div style="width: 90%; margin: auto;"><p><a href="<?php echo "/{$backPAGE}#{$backID}"; ?> "><< Back to user notes page</a></p></div> <?php } } if ($thankyou) { site_header("Thank you for voting!"); $headerset = true; ?> <div class="container" id="notes-dialog" style="width: 100%; padding: 15px; margin: auto;"> <h1>Thanks for voting!</h1>
} } else { echo '<p>Your submission was successful -- thanks for contributing! Note ', 'that it will not show up for up to a few hours on some of the <a ', 'href="/mirrors.php">mirrors</a>, but it will find its way to all of ', 'our mirrors in due time.</p>'; } // Print out common footer, and end page site_footer(); exit; } else { // If there was an error, print out if ($error) { echo "<p class=\"formerror\">{$error}</p>\n"; } // Print out preview of note echo '<p>This is what your entry will look like, roughly:</p>'; echo '<div id="usernotes">'; manual_note_display(time(), $MQ ? stripslashes($user) : $user, $MQ ? stripslashes($note) : $note, FALSE); echo '</div><br><br>'; } } else { ?> <section id="add-note-usernotes" class="clearfix"> <h1>Adding a note to the manual</h1> <div class="note_description"> <ul> <li> Please read <a href="#whatnottoenter">What not to enter</a> we have many comments to moderate and there is an overwhelming number of users ignoring this important section. </li> <li>