eve-indy-job-tracker/404.php

65 lines
No EOL
2.8 KiB
PHP

<?php
require_once __DIR__ . "/session_bootstrap.php";
http_response_code(404);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Not Found - EVE Industry Tracker</title>
<meta name="description" content="Page not found - EVE Industry Tracker">
<meta name="robots" content="noindex,follow">
<link rel="canonical" href="/404">
<link rel="stylesheet" href="assets/styles.min.css">
<link rel="icon" href="assets/EIJT-FAVICON.png" type="image/png">
</head>
<body>
<div class="container" style="text-align: center;">
<img src="assets/logo.png"
width="30%"
style="max-width: 300px; margin-bottom: 2em;"
alt="EVE Jobs Tracker Logo"
loading="eager">
<div class="section">
<h1 style="color: #00ffcc;">404 - Page Not Found</h1>
<p style="margin-bottom: 2em;">Sorry, the page you're looking for doesn't exist.</p>
<div class="no-jobs-message" style="text-align: left; max-width: 400px; margin: 2em auto;">
<p style="color: #00ffcc; margin-bottom: 1em;">Looking for something specific? Here are some tips:</p>
<ul style="list-style-type: disc; padding-left: 2em; margin-bottom: 2em;">
<li>Check that the URL is spelled correctly</li>
<li>Try navigating from our homepage</li>
<li>If you're logged in, try refreshing your session</li>
</ul>
</div>
<div style="display: flex; justify-content: center; margin: 2em 0;">
<a href="login.php">
<button>Log In</button>
</a>
</div>
<div class="divider"><span>or</span></div>
<div class="import-form">
<h3 style="color: #00ffcc; margin-bottom: 1em;">📂 Import a Saved Session</h3>
<form action="import.php" method="POST" enctype="multipart/form-data">
<input type="file"
name="session_file"
accept=".json"
required>
<button type="submit">Import Session</button>
</form>
</div>
</div>
</div>
<footer>
<p>Need help? Send ISK to <a href="https://evewho.com/character/95770276" target="_blank" rel="noopener">Clay's Accountant</a></p>
</footer>
<?php require_once "track_visits.php"; ?>
</body>
</html>