-
Notifications
You must be signed in to change notification settings - Fork 3
/
coming_soon.php
141 lines (124 loc) · 4.09 KB
/
coming_soon.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
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
<?php
include 'head.html';
?>
<head>
<title>Coming Soon!</title>
<style type="text/css">
html,
body,
header,
.view {
height: 100%;
}
@media (max-width: 559px) {
html,
body,
header,
.view {
height: 1000px;
}
}
@media (min-width: 560px) and (max-width: 740px) {
html,
body,
header,
.view {
height: 700px;
}
}
@media (min-width: 800px) and (max-width: 850px) {
html,
body,
header,
.view {
height: 600px;
}
}
@media (min-width: 800px) and (max-width: 850px) {
.navbar:not(.top-nav-collapse) {
background: #1C2331!important;
}
}
</style>
</head>
<body>
<?php
include 'navbar.html';
?>
<!-- Full Page Intro -->
<div class="view">
<!-- Mask & flexbox options-->
<div class="mask rgba-black-light d-flex justify-content-center align-items-center">
<!-- Content -->
<div class="text-center white-text mx-5 wow fadeIn">
<h1 class="display-4 mb-4">
<strong>Coming Soon!</strong>
</h1>
<h4 class="mb-4">
<strong>The requested detail will be available shortly.</strong>
</h4>
<h4 class="mb-4 d-none d-md-block">
<strong>Stay updated and in case of any queries, contact us.</strong>
</h4>
<h4 id="time-counter">
</h4>
<a href="mailto:[email protected]" class="btn btn-outline-white btn-lg">Mail us at [email protected]
<i class="fa fa-graduation-cap ml-2"></i>
</a><br>
<a href="index.php" class="btn btn-outline-white btn-lg">Back to Home<i class="fa fa-home ml-2"></i></a>
</div>
<!-- Content -->
</div>
<!-- Mask & flexbox options-->
</div>
<!-- Full Page Intro -->
<!-- SCRIPTS -->
<!-- JQuery -->
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript" src="js/popper.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<!-- Initializations -->
<script type="text/javascript">
// Animations initialization
new WOW().init();
</script>
<!-- Time Counter -->
<script type="text/javascript">
// Set the date we're counting down to
let year = 2018,
month = 7,
day = 22,
hours = 7,
minute = 0,
second = 0,
milisecond = 0;
var countDownDate = new Date(year,month,day,hours,minute,second,milisecond);
// Update the count down every 1 second
var x = setInterval(function () {
// Get todays date and time
var now = new Date().getTime();
// Find the distance between now an the count down date
var distance = countDownDate - now;
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
// Display the result in the element with id="demo"
document.getElementById("time-counter").innerHTML = days + "d " + hours + "h "
+ minutes + "m " + seconds + "s ";
// If the count down is finished, write some text
if (distance < 0) {
clearInterval(x);
document.getElementById("time-counter").innerHTML = "EXPIRED";
}
}, 1000);
</script>
<!--Footer-->
<?php
include 'footer.html';
?>