-
Notifications
You must be signed in to change notification settings - Fork 0
/
406.php
352 lines (337 loc) · 9.26 KB
/
406.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
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
<!--
FILE: : <?php echo basename(__FILE__, $_SERVER['PHP_SELF'])."\n"; ?>
TITLE : AveNest Listings
AUTHORS : Smit Patel
LAST MODIFIED : SEPT 15, 2019
DESCRIPTION : Dashboard Page
-->
<?php
$title = "406 Error";
$file = "406.php";
$date = "SEPT 15, 2019";
$banner = "406 Error";
$desc = "406 page use for disabled users.";
require("./header.php");
?>
<style type="text/css">
* {
font-family: "PT Sans Caption", sans-serif, "arial", "Times New Roman";
}
/* Error Page */
.error .clip .shadow {
height: 180px; /*Contrall*/
}
.error .clip:nth-of-type(2) .shadow {
width: 130px; /*Contrall play with javascript*/
}
.error .clip:nth-of-type(1) .shadow,
.error .clip:nth-of-type(3) .shadow {
width: 250px; /*Contrall*/
}
.error .digit {
width: 150px; /*Contrall*/
height: 150px; /*Contrall*/
line-height: 150px; /*Contrall*/
font-size: 120px;
font-weight: bold;
}
.error h2 {
font-size: 32px;
}
.error .msg {
top: -190px;
left: 30%;
width: 80px;
height: 80px;
line-height: 80px;
font-size: 32px;
}
.error span.triangle {
top: 70%;
right: 0%;
border-left: 20px solid #535353;
border-top: 15px solid transparent;
border-bottom: 15px solid transparent;
}
.error .container-error-404 {
margin-top: 10%;
position: relative;
height: 250px;
padding-top: 40px;
}
.error .container-error-404 .clip {
display: inline-block;
transform: skew(-45deg);
}
.error .clip .shadow {
overflow: hidden;
}
.error .clip:nth-of-type(2) .shadow {
overflow: hidden;
position: relative;
box-shadow: inset 20px 0px 20px -15px rgba(150, 150, 150, 0.8),
20px 0px 20px -15px rgba(150, 150, 150, 0.8);
}
.error .clip:nth-of-type(3) .shadow:after,
.error .clip:nth-of-type(1) .shadow:after {
content: "";
position: absolute;
right: -8px;
bottom: 0px;
z-index: 9999;
height: 100%;
width: 10px;
background: linear-gradient(
90deg,
transparent,
rgba(173, 173, 173, 0.8),
transparent
);
border-radius: 50%;
}
.error .clip:nth-of-type(3) .shadow:after {
left: -8px;
}
.error .digit {
position: relative;
top: 8%;
color: white;
background: #0075ea;
border-radius: 50%;
display: inline-block;
transform: skew(45deg);
}
.error .clip:nth-of-type(2) .digit {
left: -10%;
}
.error .clip:nth-of-type(1) .digit {
right: -20%;
}
.error .clip:nth-of-type(3) .digit {
left: -20%;
}
.error h2 {
color: #a2a2a2;
font-weight: bold;
padding-bottom: 20px;
}
.error .msg {
position: relative;
z-index: 9999;
display: block;
background: #535353;
color: #a2a2a2;
border-radius: 50%;
font-style: italic;
}
.error .triangle {
position: absolute;
z-index: 999;
transform: rotate(45deg);
content: "";
width: 0;
height: 0;
}
/* Error Page */
@media (max-width: 767px) {
/* Error Page */
.error .clip .shadow {
height: 100px; /*Contrall*/
}
.error .clip:nth-of-type(2) .shadow {
width: 80px; /*Contrall play with javascript*/
}
.error .clip:nth-of-type(1) .shadow,
.error .clip:nth-of-type(3) .shadow {
width: 100px; /*Contrall*/
}
.error .digit {
width: 80px; /*Contrall*/
height: 80px; /*Contrall*/
line-height: 80px; /*Contrall*/
font-size: 52px;
}
.error h2 {
font-size: 24px;
}
.error .msg {
top: -110px;
left: 15%;
width: 40px;
height: 40px;
line-height: 40px;
font-size: 18px;
}
.error span.triangle {
top: 70%;
right: -3%;
border-left: 10px solid #535353;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
}
.error .container-error-404 {
height: 150px;
}
/* Error Page */
}
/*--------------------------------------------Framework --------------------------------*/
.overlay {
position: relative;
z-index: 20;
} /*done*/
.ground-color {
background: white;
} /*done*/
.item-bg-color {
background: #eaeaea;
} /*done*/
/* Padding Section*/
.padding-top {
padding-top: 10px;
} /*done*/
.padding-bottom {
padding-bottom: 10px;
} /*done*/
.padding-vertical {
padding-top: 10px;
padding-bottom: 10px;
}
.padding-horizontal {
padding-left: 10px;
padding-right: 10px;
}
.padding-all {
padding: 10px;
} /*done*/
.no-padding-left {
padding-left: 0px;
} /*done*/
.no-padding-right {
padding-right: 0px;
} /*done*/
.no-vertical-padding {
padding-top: 0px;
padding-bottom: 0px;
}
.no-horizontal-padding {
padding-left: 0px;
padding-right: 0px;
}
.no-padding {
padding: 0px;
} /*done*/
/* Padding Section*/
/* Margin section */
.margin-top {
margin-top: 10px;
} /*done*/
.margin-bottom {
margin-bottom: 10px;
} /*done*/
.margin-right {
margin-right: 10px;
} /*done*/
.margin-left {
margin-left: 10px;
} /*done*/
.margin-horizontal {
margin-left: 10px;
margin-right: 10px;
} /*done*/
.margin-vertical {
margin-top: 10px;
margin-bottom: 10px;
} /*done*/
.margin-all {
margin: 10px;
} /*done*/
.no-margin {
margin: 0px;
} /*done*/
.no-vertical-margin {
margin-top: 0px;
margin-bottom: 0px;
}
.no-horizontal-margin {
margin-left: 0px;
margin-right: 0px;
}
.inside-col-shrink {
margin: 0px 20px;
} /*done - For the inside sections that has also Title section*/
/* Margin section */
hr {
margin: 0px;
padding: 0px;
border-top: 1px dashed #999;
}
/*--------------------------------------------FrameWork------------------------*/
</style>
<!-- Error Page -->
<div class="error">
<div class="container-floud">
<div class="col-xs-12 ground-color text-center">
<div class="container-error-404">
<div class="clip"><div class="shadow"><span class="digit thirdDigit"></span></div></div>
<div class="clip"><div class="shadow"><span class="digit secondDigit"></span></div></div>
<div class="clip"><div class="shadow"><span class="digit firstDigit"></span></div></div>
<div class="msg">OH!<span class="triangle"></span></div>
</div>
<h2 class="h1">User Restricted. Please Contact Admin</h2>
</div>
</div>
</div>
<!-- Error Page -->
<script type="application/javascript">
function randomNum()
{
"use strict";
return Math.floor(Math.random() * 9)+1;
}
var loop1,loop2,loop3,time=30, i=0, number, selector3 = document.querySelector('.thirdDigit'), selector2 = document.querySelector('.secondDigit'),
selector1 = document.querySelector('.firstDigit');
loop3 = setInterval(function()
{
"use strict";
if(i > 40)
{
clearInterval(loop3);
selector3.textContent = 4;
}else
{
selector3.textContent = randomNum();
i++;
}
}, time);
loop2 = setInterval(function()
{
"use strict";
if(i > 80)
{
clearInterval(loop2);
selector2.textContent = 0;
}else
{
selector2.textContent = randomNum();
i++;
}
}, time);
loop1 = setInterval(function()
{
"use strict";
if(i > 100)
{
clearInterval(loop1);
selector1.textContent = 6;
}else
{
selector1.textContent = randomNum();
i++;
}
}, time);
</script>
</body>
</html>
<?php
require("./footer.php");
?>