-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
172 lines (136 loc) · 6.7 KB
/
contact.html
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html lang='en'>
<head>
<!-- Required meta tags always come first -->
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'>
<meta http-equiv='x-ua-compatible' content='ie=edge'>
<meta name="description" content="Gordon Enterprises specializes in business consulting, start-up incubation and personal financial consulting.">
<meta name="keywords" content="development, programming, entrepreneurialism, entrepreneur, incubator, startup, silicon valley, business, consulting, Personal Finance, technology, fintech, savings, credit, sense, credit score, spending, financial health, self improvement, ios, android, web, best finance, improve credit, shopping, savings, augmented, clothing, media, production, marketing, sales, outreach, legal, accounting, tech, technology,">
<meta name="robots" content="index">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<!-- Google Captcha -->
<script src='https://www.google.com/recaptcha/api.js'></script>
<!-- Google font -->
<link href="https://fonts.googleapis.com/css?family=Quicksand" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lato|Noto+Serif+KR|Slabo+27px" rel="stylesheet">
<link rel='stylesheet' href='css/styles.css'>
<title>Contact Us | Tangled Life | Zentangle Blog</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-126288073-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-126288073-1');
</script>
</head>
<body>
<!-- Begin Body & Navbar -->
<aside id="wrapper">
<!-- Sidebar -->
<div id="sidebar-wrapper" class='sticky-sidebar sidebar-sticky sticky-top top-sticky'>
<ul class="sidebar-nav list-unstyled sticky-sidebar">
<li class='nav-item'><a class='nav-link' href="./index.html">Home</a></li>
<li class='nav-item'><a class='nav-link' href="./gallery.html">Gallery</a></li>
<li class='nav-item'><a class='nav-link' href="./">Class Schedule</a></li>
<li class='nav-item'><a class='nav-link' href="./">Class Info</a></li>
<li class='nav-item'><a class='nav-link' href="./contact.html">Contact</a></li>
<li class='nav-item'><a class='nav-link' href="./links.html">Links</a></li>
</ul>
</div>
</aside>
<!-- /#sidebar-wrapper -->
<main class='container'>
<!-- Container 2-->
<div class='row row-header'>
<h1 class='d-none d-sm-block my-4 col col-12'> Contact Us </h1>
<p class='d-none d-md-block mb-5 col col-12'>Have something on your mind you would like to share with us? Questions, comments, concerns or suggestions can be sent below. We look forward to hearing from you! </p>
</div>
<!-- Actual feedback form -->
<content class=" " id='feedback'>
<div class="row row-12">
<div class="card col col-12">
<div class="card-heading">
<h2 id="feedback-head">Get In Touch</h2>
</div>
<div class="card-body">
<!-- Start form -->
<!-- Post request to php script -->
<form action="./php/feedback_handler.php" method="post" name="form">
<div class="form-group">
<input type="text" name="name" class="form-control" placeholder="Name" required><br>
</div>
<div class="form-group">
<input type="email" name="email" class="form-control" placeholder="Email" required><br>
</div>
<div class="form-group">
<input type="tel" name="phone" class="form-control" placeholder="Phone" required><br>
</div>
<div class="form-group">
<input type="subject" name="subject" class="form-control" placeholder="Subject" required><br>
</div>
<div class="form-group">
<textarea name="msg" class="form-control" placeholder="Feedback" rows="4" required></textarea><br>
</div>
<div id="captcha">
<div class="g-recaptcha" data-sitekey="6LftiXEUAAAAAAIy_JZBoVYbDeGrgO0hZ_FJ_iim"></div>
</div>
<input type="submit" name="submit" value="Send" class="btn btn-lg btn-primary btn-block">
</form>
</div>
</div>
</div>
</content>
<content class='row row-12 contact'>
<div class="col col-12 col-lg-6" >
<h2 class='col col-12'>Find Us</h2>
<p>Send us an email to join us in inspiring greatness today.</p>
<h4 class=''>Hours</h4>
<p>Monday: 8 AM - 5 PM</p>
<p>Tuesday: 8 AM - 5 PM</p>
<p>Wednesday: 8 AM - 5 PM</p>
<p>Thursday: 8 AM - 5 PM</p>
<p>Friday: 8 AM - 5 PM</p>
<p>Saturday: 12 PM - 5 PM</p>
<!--<h4>Phone</h4>
<p>(518) 235-1234</p> -->
</div>
<div class="col col-12 col-lg-6" >
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d264953.6722397512!2d-73.70783651842414!3d42.80228565382244!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2sus!4v1538156909596" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
</div>
</content>
</main>
<!-- jQuery first, then Tether, then Bootstrap JS. -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.4/js/tether.min.js' crossorigin='anonymous'></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdn.ywxi.net/js/1.js" async></script>
<!-- Submit form to php -->
<script>
$("form").on("submit", function(e) {
e.preventDefault();
if(grecaptcha.getResponse().length !== 0) {
$(".btn").prop("disabled", true);
$.ajax({
type: "post",
url: "./php/feedback_handler.php",
data: $("form").serialize(),
success: function() {
}
})
$(this).find("input[type=msg], textarea").val("");
$(this).find("input[type=tel], input").val("");
$(this).find("input[type=email], input").val("");
$(this).find("input[type=subject], input").val("");
$(this).find("input[type=text], input").val("");
$(".btn").attr("value", "Message Sent!");
} else {
$(".btn").attr("value", "Click captcha");
}
})
</script>
</body>
</html>