-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
35 lines (30 loc) · 1.63 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>recaptcha</title>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.1/jquery.validate.min.js"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<form action="mail.php" id="sky-form" novalidate="novalidate" method="post">
<label class="label">Your Name</label>
<input type="text" name="name" />
<label class="label">Email ID</label>
<input type="email" name="email" />
<label class="label">Phone Number</label>
<input type="text" name="phone" />
<label class="label">Type your Message Here</label>
<textarea class="form-control" name="message" ></textarea>
<label class="label">Check the Captcha</label>
<div class="g-recaptcha" data-sitekey="site_key" data-callback="recaptchaCallback" data-expired-callback="recaptchaExpired"></div>
<input id="grecaptcha" name="grecaptcha" type="text" style="opacity: 0; position: absolute; top: 0; left: 0; height: 1px; width: 1px;"/>
<button name="submit" type="submit" class="btn-u btn-u-default">Submit</button>
<button type="button" class="btn-u" onclick="window.history.back();">Cancel</button>
</form>
<script type="text/javascript" src="validation.js"></script>
</body>
</html>