DSP Project first push, date: 29/01/2026

This commit is contained in:
Sok Ponlork
2026-01-29 14:31:48 +07:00
parent 951262afb3
commit 644b624d2d
1857 changed files with 163516 additions and 0 deletions

107
includes/header_public.php Normal file
View File

@@ -0,0 +1,107 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NIPH Data Sharing Platform</title>
<link rel="icon" type="image/x-icon" href="/assets/images/niphlogo.ico">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome for social icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<!-- Custom CSS for Inter font and additional styling -->
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background-color: #f8f9fa; /* Light background */
padding-top: 100px; /* Adjust for fixed navbar */
}
.navbar {
background-color: #ffffff; /* White background for navbar */
box-shadow: 0 2px 4px rgba(0,0,0,.05); /* Subtle shadow */
}
.navbar-brand img {
height: 40px; /* Adjust logo size */
margin-right: 10px;
}
.nav-link {
color: #0261bfff !important; /* Dark text for links */
font-weight: 500;
margin-right: 15px;
}
.nav-link:hover {
color: #007bff !important; /* Blue on hover */
}
/* Let the search container in the mobile controls take up remaining space */
.mobile-controls .search-container {
flex-grow: 1;
}
.btn-outline-primary {
border-color: #007bff;
color: #007bff;
}
.btn-outline-primary:hover {
background-color: #007bff;
color: #fff;
}
.social-icons a {
color: #6c757d; /* Gray for social icons */
margin-left: 15px;
font-size: 1.2rem;
}
.social-icons a:hover {
color: #007bff;
}
.carousel-item img {
max-height: 500px; /* Limit carousel image height */
object-fit: cover;
}
.footer {
background-color: #28a745; /* Dark background for footer */
color: #f8f9fa; /* Light text */
padding: 40px 0;
margin-top: 50px;
}
.footer a {
color: #0261bfff;
text-decoration: none;
}
.footer a:hover {
color: #ffffff;
}
.search-container {
position: relative;
margin-right: 20px;
}
.search-input {
border-radius: 20px;
padding-right: 40px; /* Space for icon */
}
.search-icon {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
color: #6c757d;
}
.cpanel-sidebar {
background-color: #f1f1f1;
padding: 20px;
border-radius: 8px;
}
.cpanel-sidebar .nav-link {
color: #333;
padding: 10px 15px;
margin-bottom: 5px;
border-radius: 5px;
}
.cpanel-sidebar .nav-link.active,
.cpanel-sidebar .nav-link:hover {
background-color: #007bff;
color: #fff !important;
}
.logotxt{
color: #28a745;
}
</style>
</head>