-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpages_error_404.php
81 lines (73 loc) · 3.77 KB
/
pages_error_404.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
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Onlife</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.png" />
<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=Nunito:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/perfect-scrollbar.min.css" />
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/style.css" />
<link defer rel="stylesheet" type="text/css" media="screen" href="assets/css/animate.css" />
<script src="assets/js/perfect-scrollbar.min.js"></script>
<script defer src="assets/js/popper.min.js"></script>
<script defer src="assets/js/tippy-bundle.umd.min.js"></script>
<script defer src="assets/js/sweetalert.min.js"></script>
</head>
<body
x-data="main"
class="relative overflow-x-hidden font-nunito text-sm font-normal antialiased"
:class="[ $store.app.sidebar ? 'toggle-sidebar' : '', $store.app.theme === 'dark' || $store.app.isDarkMode ? 'dark' : '', $store.app.menu, $store.app.layout,$store.app.rtlClass]"
>
<div class="main-container min-h-screen text-black dark:text-white-dark">
<!-- start main content section -->
<div class="flex min-h-screen items-center justify-center bg-gradient-to-t from-[#c39be3] to-[#f2eafa]">
<div class="p-5 text-center font-semibold">
<h2 class="mb-8 text-[50px] font-bold leading-none md:text-[80px]">Error 404</h2>
<h4 class="mb-5 text-xl font-semibold text-primary sm:text-5xl">Ooops!</h4>
<p class="text-base">The page you requested was not found!</p>
<a href="<?php echo (isset($_SESSION['type_admin']) && $_SESSION['type_admin']) || (isset($_SESSION['type_center']) && $_SESSION['type_center']) ? 'index.php' : 'login.php' ?>" class="btn btn-primary mx-auto mt-10 w-max">
Go Back
</a>
</div>
</div>
<!-- end main content section -->
</div>
<script src="assets/js/alpine-collaspe.min.js"></script>
<script src="assets/js/alpine-persist.min.js"></script>
<script defer src="assets/js/alpine-ui.min.js"></script>
<script defer src="assets/js/alpine-focus.min.js"></script>
<script defer src="assets/js/alpine.min.js"></script>
<script src="assets/js/custom.js"></script>
<script>
// main section
document.addEventListener('alpine:init', () => {
Alpine.data('scrollToTop', () => ({
showTopButton: false,
init() {
window.onscroll = () => {
this.scrollFunction();
};
},
scrollFunction() {
if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) {
this.showTopButton = true;
} else {
this.showTopButton = false;
}
},
goToTop() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
},
}));
});
</script>
</body>
</html>