diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2012-07-31 22:34:08 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2012-07-31 22:34:08 -0700 |
commit | 2d290b23c402561ef30c1de665895c120dd79483 (patch) | |
tree | 8bde5ebd953f3dd375abe88e61e40571df313b1f /pages/feedback.php | |
parent | 628c2e712e39fe85762583fd1ddc12609746fc58 (diff) | |
download | pathery-2d290b23c402561ef30c1de665895c120dd79483.tar.xz |
Everything related to the scoreboard.
New feedback page.
Changed the speed of the pauses on checkpoints during a path animation.
Changed how notifications are recieved.
Diffstat (limited to 'pages/feedback.php')
-rw-r--r-- | pages/feedback.php | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/pages/feedback.php b/pages/feedback.php new file mode 100644 index 0000000..dfe022f --- /dev/null +++ b/pages/feedback.php @@ -0,0 +1,71 @@ +<?php
+
+if (isset($_POST['regarding'])) {
+ $data = $_POST;
+ $data['session'] = print_r($_SESSION, true);
+ EmailError($data, "Pathery Feedback");
+ DoRedirect("Thank you for your feedback! <br />
+ I'm Reading this right now.<br />
+ Well, obviously I'm not reading it right NOW.<br />
+ I guess what I meant to say is that I'll be reading it soon.<br />
+ Wow this redirect is taking a while.. Sorry<br />
+ Are you still here?<br />
+ Something must be wrong, you should really have been redirected by now", $mydomain, 8);
+ exit;
+}
+
+htmlHeader(array(), 'Feedback & Contact', 'Send feedback or contact us.');
+?>
+
+<body>
+<?php
+topbar($Links);
+
+if (!$accepted) {
+ echo "
+ <div class='wrapper'>
+ Sorry, you must be logged in to use this.
+ <br />Please email us instead @ snap@pathery.com
+ </div>";
+ exit;
+}
+
+
+?>
+
+
+<div class="wrapper">
+<h2>Contact us</h2>
+<h3>Send us a line!</h3>
+
+<p>Thanks so much for taking the time to say hello!
+
+</p>
+
+<form action="feedback" method="post" name="feedback">
+
+<select id='Regarding' name='regarding'>
+ <option value='Feedback' selected='selected'>General Feedback</option>
+ <option value='Bug'>Bug report</option>
+ <option value='Suggestion'>Suggestion</option>
+ <option value='Hi'>Just saying Hi</option>
+ <option value='Other'>Other</option>
+</select>
+<br /><br />
+
+Title: <input type="text" size="25" maxlength="60" value="" name="title" class="forminput" /><br />
+
+<textarea name='body' rows="10" cols="30"></textarea><br />
+
+<input type="checkbox" name="emailback" value="yes" /> Please email me back
+<br /><br />
+<input type="submit" value="Submit" />
+
+</form>
+
+</div>
+
+
+<?php
+htmlFooter();
+?>
\ No newline at end of file |