forked from QAZIMAAZARSHAD/Movie-Streaming-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contactus.html
541 lines (483 loc) · 19.7 KB
/
contactus.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
<title>Contact Us</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="./Images/Logo/Title.jpeg" type="image/x-icon">
<!-- Font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="./static/style.css" rel="stylesheet" type="text/css" />
<style>
/* navbar css */
#header-nav .nav-link {
color: white;
font-size: 20px;
margin-left: 20px;
}
.menu li a {
text-decoration: none;
}
.menu li a:hover {
color: red !important;
opacity: 0.5;
}
#variety {
margin: 0.5rem;
}
.btn-outline-danger,
.btn-outline-danger:focus {
outline: none;
box-shadow: none;
}
.contactForm {
margin: 5px;
}
/* <!------------------------Scroll to top button------------------------------------------------> */
#scrollToTopButton {
position: fixed;
bottom: 40px;
right: 25px;
font-size: 25px;
z-index: 99;
width: 50px;
height: 50px;
background-color: red;
color: black;
border: none;
cursor: pointer;
outline: none;
padding: 6px;
border-radius: 50%;
}
#scrollToTopButton:hover,
i:hover {
background-color: white;
color: red;
}
.btn-sm a {
color: white;
transition: all 0.3s ease;
float: right;
font-size: medium;
}
.btn-sm a:hover {
color: red;
transition: all 0.3s ease;
}
#nav:hover {
background-color: #e60e23 !important;
}
#header-nav .nav-link {
color: white;
font-size: 20px;
margin-left: 20px;
}
@media only screen and (max-width: 1400px){
#header-nav .nav-link {
color: white;
font-size: 18px;
margin-left: 18px;
}
}
@media only screen and (min-width: 1133px) and (max-width: 1275px) {
#header-nav .nav-link {
color: white;
font-size: 15px;
margin-left: 10px;
}
}
@media only screen and (min-width: 1035px) and (max-width: 1132px) {
#header-nav .nav-link {
color: white;
font-size: 15px;
margin-left: 10px;
}
#searchText{
width: 120px;
}
#submitBtn{
width: 60px;
display: flex;
justify-content: center;
}
}
@media only screen and (min-width: 993px) and (max-width: 1034px) {
#header-nav .nav-link {
color: white;
font-size: 14px;
margin-left: 10px;
}
#searchText{
width: 100px;
}
#submitBtn{
width: 50px;
display: flex;
justify-content: center;
}
}
</style>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/emailjs-com@3/dist/email.min.js"></script>
<script type="text/javascript">
(function () {
emailjs.init("user_3Y57GrE42p8s0kTrKxP0W");
})();
</script>
<script type="text/javascript">
window.onload = function () {
document.getElementById('contact-form').addEventListener('submit', function (event) {
event.preventDefault();
// generate a five digit number for the contact_number variable
this.contact_number.value = Math.random() * 100000 | 0;
// these IDs from the previous steps
emailjs.sendForm('contact_service', 'contact_form', this)
.then(function () {
console.log('SUCCESS!');
}, function (error) {
console.log('FAILED...', error);
});
});
}
</script>
</head>
<body>
<div class="scroll-bar">
<!-- navbar starts -->
<nav class="navbar navbar-expand-lg navbar-light bg-dark" id="header-nav">
<div class="container-fluid">
<a class="navbar-brand" href="home.html"><img class="logo" src="Images/TheaterLogoFinal.png" alt="" width="30"
height="24"></a>
<button id="nav" class="navbar-toggler" id="nav" style="background-color:#8b0000" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon" style="background-color:dark-grey;"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="home.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="movies.html">Movies</a>
</li>
<li class="nav-item">
<a class="nav-link" href="web-series.html">Web Series</a>
</li>
<li class="nav-item">
<a class="nav-link" href="kids.html">Kids</a>
</li>
<li class="nav-item">
<a class="nav-link" href="tv.html">TV</a>
</li>
<li class="nav-item">
<a class="nav-link" href="premium.html">Premium</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contactus.html">Contact Us</a>
</li>
<li>
<!-- Genre dropdown starts-->
<div>
<div class="dropdown" style="position: relative; display: inline-block; padding-top: 5px; padding-left: 15px;">
<button class="btn btn-outline-danger dropdown-toggle" type="button" id="dropdownMenuButton" style="font-size:20px;">
Genres
</button>
<div class="dropdown-content" style="color: white;">
<a href="popular.html">Popular</a>
<a href="crime.html">Crime</a>
<a href="suspense.html">Suspense & Thriller</a>
<a href="action.html">Action</a>
<a href="fantasy.html">Sci-Fi & Fantasy</a>
<a href="documentary.html">Documentary</a>
<a href="horror.html">Horror</a>
<a href="drama.html">Drama</a>
<a href="war.html">War & Politics</a>
<a href="comedy.html">Comedy</a>
<a href="romance.html">Romance</a>
<a href="anime.html">Anime</a>
</div>
</div>
</div>
<!-- Genre dropdown ends-->
</li>
<div style="position: relative; display: inline-block; padding-top: 5px; padding-left: 15px;">
<li>
<button type="button" class="btn btn-light" onclick="logout()">Logout</button>
</li>
</div>
</ul>
<form id="searchForm" class="d-flex">
<input class="form-control me-2" type="text" id="searchText" placeholder="Search" aria-label="Search">
<button class="btn btn-danger" type="submit">Search</button>
</form>
</div>
</div>
</nav>
<!-- navbar ends -->
<div class="container">
<div id="movies" class="row"></div>
</div>
<hr>
<div class="box">
<div class="text">
<h1>Contact <span class="red">Us</span></h1>
<div class="redline"></div>
<p>Have Questions ? We have answers ( may be )</p>
</div>
</div>
<div class="touch">
<h2>Get in touch</h2>
<div class="redline"></div>
</div>
<div class="container fill">
<div class="forthis">
<form action="https://formcarry.com/s/S1peCWurw0C" method="POST" name="contact-form" id="contact-form" onsubmit="return validateForm();">
<div class="form-row two2">
<div class="form-group col-md-6 column">
<input type="text" class="form-control input" id="firstname" name="firstname" placeholder=" " >
<label for="firstname" class="">First Name</label>
<div class="underline">
</div>
</div>
<div class="form-group col-md-6 column">
<input type="text" class="form-control input" id="lastname" name="lastname" placeholder=" " >
<label for="lastname" class="">Last Name</label>
<div class="underline"></div>
</div>
</div>
<div class="form-row one1">
<div class="form-group col-lg-6 column">
<input type="text" class="form-control input" id="email" name="email" placeholder=" " >
<label for="email" class="">Email</label>
<div class="underline"></div>
</div>
<div class="form-group col-lg-6 column">
<input type="text" class="form-control input" id="phone" name="phone" placeholder=" ">
<label for="number" class="">Phone Number</label>
<div class="underline"></div>
</div>
</div>
<div class="form-row">
<div class="form-group column">
<input type="text" class="form-control input" name="subject" id="subject" placeholder=" " >
<label for="subject" class="">Subject</label>
<div class="underline extra"></div>
</div>
</div>
<div class="form-row size">
<div class="form-group column">
<textarea type="text" class="form-control input" name="message" id="message" rows="5" placeholder=" "></textarea>
<label for="message" class="">Message</label>
<div class="underline extra gap"></div>
</div>
</div>
<div class="btn-sm">
<input type="submit" value="SEND MESSAGE" class="sm-button" id="submit-btn">
<a href="#" onclick="clearFunc()">Reset</a>
</div>
</form>
</div>
</div>
<!-- address -->
<div class="container address">
<div class="row add-row">
<div class="col-sm-6">
<h3>Our Address</h3>
<div class="redline-address"></div>
<p>13 B</p>
<p>King Koti Road</p>
<p>Vadodara,</p>
<p>Gujrat - 500029</p>
<div class="phone-e">
<p><span class="glyphicon glyphicon-envelope"> </span> info@movie-website.com</p>
<p><span class="glyphicon glyphicon-phone"></span> +91-97427 66666</p>
</div>
</div>
<div class="col-sm-6 map-padd">
<!-- -map- -->
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3889.019213593812!2d77.62060731482127!3d12.906485990898592!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3bae14eed2a26dbb%3A0x98f64960052a26b0!2sTrainingMug!5e0!3m2!1sen!2sin!4v1504259922701"
width="100%" frameborder="0" style="border:0" allowfullscreen></iframe>
</div>
</div>
</div>
<!-- offcanva JS and footer js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script src="https://daniellaharel.com/raindrops/js/raindrops.js"></script>
<div class="bottom-gap"></div>
<!-------------------------------Footer-------------------------------->
<div id="waterdrop"></div>
<footer class="footer">
<div class="footer-content">
<div class="footer-left">
<a href="home.html"><img class="footer-logo" src="Images/TheaterLogoFinal.png" alt="" width="30"
height="24"></a>
<p class="footer-bottom-tagline">Watch! Chill! Repeat!</p>
</div>
<div class="footer-middle">
<h2 class="footer-heading">Follow Us</h2>
<ul class="footer-middle-list icons">
<a class="footer-links" href="https://www.facebook.com/" target="_blank"><i
class="fab fa-facebook-f facebook" style="color:red"></i></a>
<a class="footer-links" href="https://twitter.com/login?lang=en" target="_blank"><i
class="fab fa-twitter twitter" style="color:red"></i></a>
<a class="footer-links" href="https://www.linkedin.com/login" target="_blank"><i
class="fab fa-linkedin linkedin" style="color:red"></i></a>
<a class="footer-links" href="https://www.instagram.com/" target="_blank"><i
class="fab fa-instagram instagram" style="color:red"></i></a>
<a class="footer-links" href="https://github.com/QAZIMAAZARSHAD/Movie-Streaming-Website" target="_blank"><i
class="fab fa-github github" style="color:red"></i></a>
</ul>
</div>
<div class="footer-middle">
<h2 class="footer-heading">Services</h2>
<ul class="footer-middle-list">
<li class="footer-middle-list-item"><a href="home.html">Enjoy Latest Movies</a> </li>
<li class="footer-middle-list-item"><a href="web-series.html">Watch Web-Series</a> </li>
<li class="footer-middle-list-item"><a href="kids.html">Everything for Kids</a> </li>
<li class="footer-middle-list-item"><a href="news.html">Coming soon</a> </li>
<li class="footer-middle-list-item"><a href="premium.html">Get Premium Subscription</a> </li>
<li class="footer-middle-list-item"><a href="faq.html">FAQ</a> </li>
</ul>
</div>
<div class="footer-middle">
<h2 class="footer-heading">Try Our App</h2>
<ul class="footer-middle-list icons">
<a class="footer-links" href="#"><i class="fab fa-google-play" style="color:red"></i></a>
<a class="footer-links" href="#"><i class="fab fa-app-store-ios" style="color:red"></i></a>
</ul>
</div>
<div class="footer-right">
<p class="footer-links">
<h2 class="footer-heading">Contact Us</h2>
<p class="footer-bottom-tagline">Feel free to contact us.</p>
<a class="footer-contact-button" href="contactus.html">Contact</a>
</p>
</div>
</div>
<hr id="footer-hr">
<div class="footer-copyright">
<p>Copyright © and ® Since
<script>
document.write(new Date().getFullYear())
</script> Under ApnaTheatre.com : (Project Is Done By Qazi Maaz Arshad)
</p>
</div>
</footer>
<!--------------scrool to top button-->
<button id="scrollToTopButton" title="Go to top" class="ml-5">
<i class="fa fa-angle-double-up" aria-hidden="true"></i>
</button>
<script>
$(document).ready(function () {
var scrollTopButton = document.getElementById("scrollToTopButton");
window.onscroll = function () {
scrollFunction()
};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
scrollTopButton.style.display = "block";
} else {
scrollTopButton.style.display = "none";
}
}
$("#scrollToTopButton").click(function () {
$('html ,body').animate({
scrollTop: 0
}, 800)
});
});
</script>
<!-- offcanva JS and footer js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script src="https://daniellaharel.com/raindrops/js/raindrops.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="js/main-min.js"></script>
<script> jQuery('#waterdrop').raindrops({ color: '#292c2f', canvasHeight: 150, density: 0.1, frequency: 20 });
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4"
crossorigin="anonymous"></script>
<script src="./static/script.js"></script>
<script>
function logout(){
window.location.replace("login.html");
}
</script>
<script type="text/javascript">
function validateForm(){
const firstname = document.getElementById("firstname");
const lastname = document.getElementById("lastname");
const email = document.getElementById("email");
const phone = document.getElementById("phone");
const subject = document.getElementById("subject");
const message = document.getElementById("message");
let alphabets = /^[A-Za-z]+$/ ;
if (firstname.value.trim().length === 0 && lastname.value.trim().length === 0 && email.value.trim().length === 0 && phone.value.trim().length === 0 && subject.value.trim().length === 0 && message.value.trim().length === 0 ){
swal("Oops..." , "Please! Enter the credentials first ." , "error");
return false ;
}
if (firstname.value.trim().length === 0 ) {
swal("Oops..." , "Please! Enter your first name ." , "error");
return false ;
}
if (!firstname.value.trim().match(alphabets) ){
swal("Oops..." , "Please! Enter a valid first name." , "error");
return false;
}
if(lastname.value.trim().length > 0 ) {
if (!lastname.value.trim().match(alphabets) ){
swal("Oops..." , "Please! Enter a valid last name." , "error");
return false;
}
}
if (email.value.trim().length === 0 ) {
swal("Oops..." , "Please! Enter your email address." , "error");
return false ;
}
if (!email.value.trim().includes("@gmail.com")) {
swal("Oops..." , "Please! Enter a valid email address." , "error");
return false ;
}
if ( phone.value.trim().length != 10 || isNaN(phone.value.trim()) ) {
swal("Oops..." , "Phone number should be 10 digits. " , "error");
return false ;
}
if (subject.value.trim().length === 0 ) {
swal("Oops..." , "Please! Enter the subject." , "error");
return false ;
}
if (message.value.trim().length === 0 ) {
swal("Oops..." , "Please! Enter the message." , "error");
return false ;
}
swal("Congrats!", "Message was delivered successfully! Thanks for your Submission", "success");
return true ;
}
document.getElementById("submit-btn").addEventListener("click" , validateForm);
function clearFunc() {
document.getElementById("firstname").value = "";
document.getElementById("lastname").value = "";
document.getElementById("email").value = "";
document.getElementById("phone").value = "";
document.getElementById("subject").value = "";
document.getElementById("message").value = "";
}
</script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
</body>
</html>