-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathcontact.php
61 lines (59 loc) · 2 KB
/
contact.php
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
<?php include "header.php"; ?>
<div id="big" class="title">
<div class="wrapper">
<h1>
Contact Us
</h1>
</div>
</div>
<div id="content">
<div id="contact">
<div id="contact-info">
<p>
<b>Computer Science House</b><br/>
3999 Nathaniel Rochester Hall<br/>
Rochester, NY 14623<br/>
<br/>
<b>Chairman:</b> chairman@csh.rit.edu<br/>
<b>Membership:</b> eval@csh.rit.edu<br/>
<b>Alumni Contact:</b> history@csh.rit.edu<br/>
<b>Scholarship:</b> scholarship@csh.rit.edu<br/>
<b>Webmaster:</b> webmaster@csh.rit.edu<br/>
</p>
</div>
<script type="text/javascript">
var RecaptchaOptions = {
theme : 'white'
};
</script>
<form id="contact-form" action="mail_form.php" method="post">
<input class="input" type="text" name="f1" placeholder="Name" required="required" data-message="*"/>
<br/>
<input class="input" type="text" name="f2" placeholder="Email Address" required="required" data-message="*"/>
<br/>
<select class="select" id="select_email" name="sendtoemail">
<option value="[email protected]">Chairman</option>
<option value="[email protected]">Evaluations</option>
<option value="[email protected]">History</option>
<option value="[email protected]">Scholarship</option>
<option value="[email protected]">Webmaster</option>
</select>
<br/>
<textarea class="textarea" rows="5" name="f3" cols="20" placeholder="Message" required="required" data-message="*"></textarea>
<br/>
<?php
require_once('recaptchalib.php');
$publickey = "6LdMJeISAAAAAHnVuAK_3wMCEcOidQ_09yw0h-4a";
echo recaptcha_get_html($publickey);
?>
<script type="text/javascript">
(function() {
document.getElementById("recaptcha_response_field").setAttribute("required","required");
})();
</script>
<br/>
<input class="input" type="submit" id="submit-button" value="Send"/>
</form>
</div>
</div>
<?php include "footer.php"; ?>