Initial commit

This commit is contained in:
Porawit Dongwang
2026-09-16 23:20:08 +07:00
commit 0041668dbb
32577 changed files with 3687927 additions and 0 deletions
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="th">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>เกิดข้อผิดพลาด - ระบบขออนุมัติเดินทาง</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Sarabun', sans-serif;
background-color: #f4f6f9;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.error-container {
max-width: 500px;
width: 100%;
}
.error-icon {
font-size: 5rem;
color: #dc3545;
}
</style>
</head>
<body>
<div class="container text-center error-container">
<div class="card shadow border-0 rounded-4">
<div class="card-body p-5">
<i class="fa-solid fa-triangle-exclamation error-icon mb-4"></i>
<h2 class="fw-bold mb-3">โอ๊ะโอ! เกิดข้อผิดพลาด</h2>
<p class="text-muted mb-4">
<?= isset($error_message) ? htmlspecialchars($error_message) : 'เกิดข้อผิดพลาดในระบบ โปรดติดต่อผู้ดูแลระบบ' ?>
</p>
<div class="d-grid gap-2">
<a href="<?= isset($_SERVER['HTTP_REFERER']) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : '/' ?>" class="btn btn-primary py-2">
<i class="fa-solid fa-arrow-rotate-left me-2"></i>กลับไปหน้าก่อนหน้า
</a>
<a href="/" class="btn btn-outline-secondary py-2">
<i class="fa-solid fa-house me-2"></i>กลับไปหน้าหลัก
</a>
</div>
</div>
</div>
<p class="text-muted mt-4 small">© <?= date('Y') ?> ระบบขออนุมัติเดินทางไปราชการ/ประชุม/อบรม</p>
</div>
</body>
</html>