Files
@ df2b237aef78
Branch filter:
Location: SlatePermutate/feedback.php - annotation
df2b237aef78
2.3 KiB
text/x-php
Add AUTHORS, update README.
eab20c15a6b2 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 7a6777d84d07 79e1cca91899 7a6777d84d07 7a6777d84d07 7a6777d84d07 7a6777d84d07 7a6777d84d07 eab20c15a6b2 eab20c15a6b2 eab20c15a6b2 eab20c15a6b2 eab20c15a6b2 7a6777d84d07 eab20c15a6b2 e2768399ec54 e2768399ec54 e2768399ec54 eab20c15a6b2 eab20c15a6b2 eab20c15a6b2 eab20c15a6b2 eab20c15a6b2 eab20c15a6b2 eab20c15a6b2 eab20c15a6b2 79e1cca91899 79e1cca91899 a7e66144bf54 a7e66144bf54 a7e66144bf54 a7e66144bf54 79e1cca91899 79e1cca91899 40a1f91f9104 eab20c15a6b2 eab20c15a6b2 eab20c15a6b2 7a6777d84d07 | <?php
/*
* Copyright 2010 Nathan Gelderloos, Ethan Zonca, Nathan Phillip Brink
*
* This file is part of SlatePermutate.
*
* SlatePermutate is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SlatePermutate is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with SlatePermutate. If not, see <http://www.gnu.org/licenses/>.
*/
include_once 'inc/class.page.php';
$feedbackpage = new page('Feedback');
$ipi = $_SERVER['REMOTE_ADDR'];
$fromdom = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$httpagenti = $_SERVER['HTTP_USER_AGENT'];
?>
<form action="feedback-submit.php" method="post">
<input type="hidden" name="ip" value="<?php echo $ipi ?>" />
<input type="hidden" name="fromdom" value="<?php echo $fromdom ?>" />
<input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" />
<h2>Feedback Form</h2>
<label for="nameis">Name: </label><input type="text" name="nameis" size="20" /><br />
<label for="visitormail">Email: </label><input type="text" name="visitormail" size="20" /> <span class="graytext">(if you want us to get back to you)</span><br />
<label for="school">School: </label><input type="text" name="school" size="20" /> <span class="graytext">(if relevant to your feedback)</span><br />
<br/> Overall Rating:<br/> <input checked="checked" name="rating" type="radio" value="Good" />Good <input name="rating" type="radio" value="Buggy" />Buggy <input name="rating" type="radio" value="Needs more features" />Needs more features <input name="rating" type="radio" value="Don't know" />Don't Know
<br /><br />
<h3>General Comments</h3>
<p>
<textarea name="feedback" rows="6" cols="40"></textarea>
</p>
<?php
if(isset($reCaptcha_pub) && isset($reCaptcha_priv)){
require_once('inc/recaptchalib.php');
echo recaptcha_get_html($reCaptcha_pub);
}
?>
<input class="gray" type="submit" value="Submit Feedback" />
</form>
<?php
$feedbackpage->foot();
|