forked from rf/hackfsu-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.php
More file actions
157 lines (125 loc) · 5.88 KB
/
contact.php
File metadata and controls
157 lines (125 loc) · 5.88 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE html>
<html>
<head>
<head>
<title>HackFSU</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Fueling innovation and interdisciplinary collaboration in Tallahassee" />
<meta name="keywords" content="HTML, CSS, JavaScript, PHP, Minimal Awesomness" />
<meta name="author" content="DryThemes" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="shortcut icon" href="images/favicon.png" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800|Montserrat:400,700' rel='stylesheet' type='text/css'>
<link type="text/css" rel="stylesheet" href="css/clear.css"/>
<link type="text/css" rel="stylesheet" href="css/carouFredSel.css"/>
<link type="text/css" rel="stylesheet" href="css/supersized.css"/>
<link type="text/css" rel="stylesheet" href="css/common.css"/>
<link type="text/css" rel="stylesheet" href="css/columns.css"/>
<link type="text/css" rel="stylesheet" href="css/prettyPhoto.css"/>
<link type="text/css" rel="stylesheet" href="css/accordion-tabs.css"/>
<link type="text/css" rel="stylesheet" href="css/style.css"/>
<link type="text/css" rel="stylesheet" href="css/isotope.css"/>
<link type="text/css" rel="stylesheet" href="css/colors.css"/>
<link type="text/css" rel="stylesheet" href="css/responsive.css"/>
<link type="text/css" rel="stylesheet" href="css/jquery.remodal.css"/>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
</head>
<body>
<!--Loading gif -->
<table class="doc-loader">
<tr>
<td>
<img src="images/ajax-document-loader.gif" alt="Loading..." />
</td>
</tr>
</table>
<!--Navigation Menu-->
<div id="main-menu" class="main-menu main-menu-fixbg">
<div class="center-relative menu-holder">
<div class="menu-logo left"><img src="images/menu_logo.png" alt="Sensa"/></div>
<ul class="right montserrat-font">
<li class=""><a href="index.html">HOME</a></li>
</ul>
<div class="clear"></div>
</div>
</div>
<!--Services-->
<div id="about" class="clear services section block">
<div class="block content-960 center-relative">
<?php
if (isset($_POST['send-message'])) {
$to = 'sponsors@hackfsu.com';
$subject = 'Mail from website';
$message = 'Name: ' . $_POST['name'] . "\r\n\r\n";
$email = filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL);
if ($email) {
$message .= 'Email: ' . $_POST['email'];
} else {
$message .= 'Invalid Email';
}
$headers = "From: info@hackfsu.com\r\n";
$headers .= 'Content-Type: text/plain; charset=utf-8';
$success = mail($to, $subject, $message, $headers, '‑finfo@hackfsu.com');
if (isset($success) && $success) { ?>
<h3 class="section-title montserrat-font">Message Sent. Thank You.</h3>
<?php } else { ?>
<h3 class="section-title montserrat-font">Oops! There was a problem. Message not sent. <a href="index.html">Try Again.</a></h3>
<?php } }?>
<div class="full-width top-150 bottom-100">
<div class="picfull">
</div>
</div>
<div class="clear"></div>
</div>
<div class="full-width top-150 bottom-100">
<img src="images/service_graphic_01.png" alt="">
<div id="sponsors"></div>
</div>
<div class="clear"></div>
</div>
</div>
<!--Footer-->
<div class="clear center-text footer">
<div class="scroll-top-holder relative block content-960 center-relative">
</div>
<div class="footer-content center-text block content-960 center-relative">
<img class="bottom-100" src="images/footer_logo.png" alt="" />
<div class="title-separator"></div>
<!--
<div class="big-social center-text top-100">
<a href=""><img src="images/social_twitter.png" alt="" /></a>
<a href="#"><img src="images/socia_pinterest.png" alt="" /></a>
<a href="#"><img src="images/social_facebook.png" alt="" /></a>
</div>
-->
</div>
<div class="footer-copyright center-text">Created by: <a href="http://www.technolegy.org/">TechNOLEgy</a> at Florida State University</div>
</div>
<!--Load JavaScript-->
<script type="text/javascript" src="js/jquery-1.8.1.min.js"></script>
<script type="text/javascript" src="js/jquery.isotope.min.js"></script>
<script type="text/javascript" src="js/accordion-tabs.min.js"></script>
<script type="text/javascript" src="js/portfolio.js"></script>
<script type="text/javascript" src="js/supersized.3.2.7.js"></script>
<script type="text/javascript" src="js/jquery.sticky.js"></script>
<script type="text/javascript" src="js/jquery.dryMenu.js"></script>
<script type="text/javascript" src="js/small-menu.js"></script>
<script type="text/javascript" src="js/jquery.carouFredSel-6.2.1-packed.js"></script>
<script type="text/javascript" src="js/jquery.mousewheel.min.js"></script>
<script type="text/javascript" src="js/jquery.touchSwipe.min.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/jquery.myHint.js"></script>
<script type="text/javascript" src="js/jquery.vticker-min.js"></script>
<script type="text/javascript" src="php/scriptsData.php"></script>
<script type="text/javascript" src="js/jquery.prettyPhoto.js"></script>
<script type="text/javascript" src="js/jquery.remodal.js"></script>
<script type="text/javascript" src="http://www.parsecdn.com/js/parse-1.2.17.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/registration.js"></script>
</body>
</html>
</body>
</html>