summaryrefslogtreecommitdiffstats
path: root/pages/feedback.php
blob: dfe022ffbba178ca3ec1c90be5ac020e35939858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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();
?>