-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.php
More file actions
65 lines (60 loc) · 2.37 KB
/
404.php
File metadata and controls
65 lines (60 loc) · 2.37 KB
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
<?php
// Include authentication functions
require_once 'includes/auth.php';
// Check if user is logged in
$is_logged_in = is_logged_in();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VLab - Page Not Found</title>
<link rel="stylesheet" href="assets/css/style.css">
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body class="error-page">
<div class="error-container">
<div class="error-content">
<div class="error-code">
<span>4</span>
<span class="error-code-middle">0</span>
<span>4</span>
</div>
<h1 class="error-title">System Breach</h1>
<p class="error-message">The page you are looking for does not exist or has been moved to another dimension.</p>
<div class="error-actions">
<?php if ($is_logged_in): ?>
<a href="dashboard.php" class="btn-primary"><i class="fas fa-home"></i> Back to Dashboard</a>
<?php else: ?>
<a href="index.php" class="btn-primary"><i class="fas fa-sign-in-alt"></i> Login</a>
<?php endif; ?>
</div>
</div>
<div class="error-animation">
<div class="glitch-effect"></div>
</div>
</div>
<div class="cyber-grid error-grid">
<div class="grid-line horizontal"></div>
<div class="grid-line horizontal"></div>
<div class="grid-line horizontal"></div>
<div class="grid-line vertical"></div>
<div class="grid-line vertical"></div>
<div class="grid-line vertical"></div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
// Add glitch effect animation
const glitchElement = document.querySelector('.glitch-effect');
setInterval(function() {
glitchElement.classList.add('active');
setTimeout(function() {
glitchElement.classList.remove('active');
}, 200);
}, 3000);
});
</script>
</body>
</html>