Compare commits

...

1 Commits

Author SHA1 Message Date
Flatlogic Bot
e3c29ed294 1st_Save 2026-02-03 15:06:51 +00:00
5 changed files with 472 additions and 142 deletions

169
assets/css/custom.css Normal file
View File

@ -0,0 +1,169 @@
:root {
--primary: #3b82f6;
--primary-hover: #2563eb;
--secondary: #64748b;
--success: #10b981;
--danger: #ef4444;
--warning: #f59e0b;
--background: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--text-main: #0f172a;
--text-muted: #64748b;
--shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
color: var(--text-main);
background-color: var(--background);
}
/* Scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
/* Login Components */
.login-card {
background: var(--surface);
border-radius: 16px;
border: 1px solid var(--border);
box-shadow: var(--shadow-lg);
}
.hospital-logo {
display: flex;
align-items: center;
color: var(--primary);
}
.logo-icon {
background: rgba(59, 130, 246, 0.1);
color: var(--primary);
padding: 10px;
border-radius: 12px;
}
.form-control {
border-radius: 10px;
border: 1px solid var(--border);
padding: 10px 14px;
font-size: 14px;
transition: all 0.2s;
}
.form-control:focus {
border-color: var(--primary);
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.btn-primary {
background-color: var(--primary);
border-color: var(--primary);
border-radius: 10px;
padding: 10px 20px;
transition: all 0.2s;
}
.btn-primary:hover {
background-color: var(--primary-hover);
border-color: var(--primary-hover);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}
/* Dashboard Layout */
.dashboard-layout {
display: flex;
height: 100vh;
overflow: hidden;
}
.sidebar {
width: 280px;
background: #f1f5f9;
border-right: 1px solid var(--border);
flex-shrink: 0;
}
.main-content {
flex-grow: 1;
background: var(--surface);
}
.main-header {
height: 72px;
}
.sidebar-header {
height: 72px;
}
.list-group-item {
border: none;
background: transparent;
color: var(--text-muted);
font-size: 14px;
margin-bottom: 2px;
}
.list-group-item:hover {
background: rgba(0, 0, 0, 0.03);
color: var(--text-main);
}
.list-group-item.active {
background: var(--primary) !important;
color: white !important;
}
/* Roles */
.role-badge {
padding: 2px 8px;
border-radius: 6px;
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
}
.role-doctor { background: #e0f2fe; color: #0369a1; }
.role-nurse { background: #f0fdf4; color: #15803d; }
.role-admin_staff { background: #fef2f2; color: #b91c1c; }
/* Utilities */
.no-caret::after {
display: none;
}
.demo-btn {
font-size: 12px !important;
font-weight: 500;
border-radius: 8px;
}
.demo-btn:hover {
background-color: #f8fafc !important;
border-color: #cbd5e1 !important;
}
.uppercase {
text-transform: uppercase;
}
@media (max-width: 768px) {
.sidebar {
display: none;
}
}

60
assets/js/main.js Normal file
View File

@ -0,0 +1,60 @@
document.addEventListener('DOMContentLoaded', function() {
const loginForm = document.getElementById('loginForm');
const loginAlert = document.getElementById('loginAlert');
const demoBtns = document.querySelectorAll('.demo-btn');
// Handle Demo Buttons
demoBtns.forEach(btn => {
btn.addEventListener('click', function() {
const email = this.getAttribute('data-email');
const pass = this.getAttribute('data-pass');
const emailInput = document.getElementById('email');
const passInput = document.getElementById('password');
if (emailInput && passInput) {
emailInput.value = email;
passInput.value = pass;
// Auto submit
loginForm.dispatchEvent(new Event('submit'));
}
});
});
if (loginForm) {
loginForm.addEventListener('submit', function(e) {
e.preventDefault();
const formData = new FormData(loginForm);
formData.append('action', 'login');
const submitBtn = loginForm.querySelector('button[type="submit"]');
const originalText = submitBtn.innerText;
submitBtn.disabled = true;
submitBtn.innerHTML = '<span class="spinner-border spinner-border-sm me-2"></span>Authenticating...';
fetch('auth.php', {
method: 'POST',
body: formData
})
.then(response => response.json())
.then(data => {
if (data.success) {
window.location.reload();
} else {
loginAlert.innerText = data.error;
loginAlert.classList.remove('d-none');
submitBtn.disabled = false;
submitBtn.innerText = originalText;
}
})
.catch(error => {
console.error('Error:', error);
loginAlert.innerText = 'Clinical gateway error. Please try again.';
loginAlert.classList.remove('d-none');
submitBtn.disabled = false;
submitBtn.innerText = originalText;
});
});
}
});

60
auth.php Normal file
View File

@ -0,0 +1,60 @@
<?php
session_start();
require_once __DIR__ . '/db/config.php';
function login($email, $password) {
try {
$stmt = db()->prepare("SELECT * FROM users WHERE email = ?");
$stmt->execute([$email]);
$user = $stmt->fetch();
if ($user && password_verify($password, $user['password'])) {
$_SESSION['user_id'] = $user['id'];
$_SESSION['hospital_id'] = $user['hospital_id'];
$_SESSION['user_name'] = $user['name'];
$_SESSION['user_role'] = $user['role'];
// Set online status
$update = db()->prepare("UPDATE users SET online_status = 1 WHERE id = ?");
$update->execute([$user['id']]);
return ['success' => true, 'user' => $user];
} else {
return ['success' => false, 'error' => 'Invalid email or password.'];
}
} catch (PDOException $e) {
return ['success' => false, 'error' => 'System error. Please try again later.'];
}
}
function logout() {
if (isset($_SESSION['user_id'])) {
try {
$update = db()->prepare("UPDATE users SET online_status = 0 WHERE id = ?");
$update->execute([$_SESSION['user_id']]);
} catch (PDOException $e) {
// Log error but continue logout
}
}
session_destroy();
header("Location: index.php");
exit;
}
// Handle POST requests
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
header('Content-Type: application/json');
$action = $_POST['action'] ?? '';
if ($action === 'login') {
$email = trim($_POST['email'] ?? '');
$password = $_POST['password'] ?? '';
$result = login($email, $password);
echo json_encode($result);
exit;
}
}
if (isset($_GET['action']) && $_GET['action'] === 'logout') {
logout();
}

21
db/schema.sql Normal file
View File

@ -0,0 +1,21 @@
-- Hospital Internal Chat Schema
CREATE TABLE IF NOT EXISTS users (
id INT AUTO_INCREMENT PRIMARY KEY,
hospital_id VARCHAR(50) NOT NULL UNIQUE,
email VARCHAR(100) NOT NULL UNIQUE,
password VARCHAR(255) NOT NULL,
name VARCHAR(100) NOT NULL,
role ENUM('doctor', 'nurse', 'admin_staff', 'technician', 'pharmacist') NOT NULL,
department VARCHAR(100),
online_status BOOLEAN DEFAULT FALSE,
last_seen TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- Seed data for testing (password is 'password' for all)
INSERT IGNORE INTO users (hospital_id, email, password, name, role, department) VALUES
('DOC001', 'sarah.mitchell@medlink.com', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 'Dr. Sarah Mitchell', 'doctor', 'Cardiology'),
('NUR002', 'james.wilson@medlink.com', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 'James Wilson, RN', 'nurse', 'Emergency'),
('ADM003', 'elena.rodriguez@medlink.com', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 'Elena Rodriguez', 'admin_staff', 'Operations'),
('LAB004', 'david.chen@medlink.com', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 'David Chen', 'technician', 'Pathology'),
('PHM005', 'anita.gupta@medlink.com', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 'Dr. Anita Gupta', 'pharmacist', 'Pharmacy');

304
index.php
View File

@ -1,150 +1,170 @@
<?php <?php
declare(strict_types=1); session_start();
@ini_set('display_errors', '1'); $isLoggedIn = isset($_SESSION['user_id']);
@error_reporting(E_ALL);
@date_default_timezone_set('UTC');
$phpVersion = PHP_VERSION;
$now = date('Y-m-d H:i:s');
?> ?>
<!doctype html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>New Style</title> <title><?php echo $_SERVER['PROJECT_NAME'] ?? 'MedicalLink'; ?> - Secure Clinical Chat</title>
<?php <meta name="description" content="Secure internal communication for healthcare professionals.">
// Read project preview data from environment
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? ''; <!-- Bootstrap 5 CDN -->
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? ''; <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
?> <!-- Custom CSS -->
<?php if ($projectDescription): ?> <link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
<!-- Meta description --> <!-- Inter Font -->
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' /> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<!-- Open Graph meta tags -->
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<!-- Twitter meta tags -->
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<?php endif; ?>
<?php if ($projectImageUrl): ?>
<!-- Open Graph image -->
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<!-- Twitter image -->
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<?php endif; ?>
<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=Inter:wght@400;700&display=swap" rel="stylesheet">
<style>
:root {
--bg-color-start: #6a11cb;
--bg-color-end: #2575fc;
--text-color: #ffffff;
--card-bg-color: rgba(255, 255, 255, 0.01);
--card-border-color: rgba(255, 255, 255, 0.1);
}
body {
margin: 0;
font-family: 'Inter', sans-serif;
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
color: var(--text-color);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
text-align: center;
overflow: hidden;
position: relative;
}
body::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M-10 10L110 10M10 -10L10 110" stroke-width="1" stroke="rgba(255,255,255,0.05)"/></svg>');
animation: bg-pan 20s linear infinite;
z-index: -1;
}
@keyframes bg-pan {
0% { background-position: 0% 0%; }
100% { background-position: 100% 100%; }
}
main {
padding: 2rem;
}
.card {
background: var(--card-bg-color);
border: 1px solid var(--card-border-color);
border-radius: 16px;
padding: 2rem;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}
.loader {
margin: 1.25rem auto 1.25rem;
width: 48px;
height: 48px;
border: 3px solid rgba(255, 255, 255, 0.25);
border-top-color: #fff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.hint {
opacity: 0.9;
}
.sr-only {
position: absolute;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap; border: 0;
}
h1 {
font-size: 3rem;
font-weight: 700;
margin: 0 0 1rem;
letter-spacing: -1px;
}
p {
margin: 0.5rem 0;
font-size: 1.1rem;
}
code {
background: rgba(0,0,0,0.2);
padding: 2px 6px;
border-radius: 4px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
footer {
position: absolute;
bottom: 1rem;
font-size: 0.8rem;
opacity: 0.7;
}
</style>
</head> </head>
<body> <body class="<?php echo $isLoggedIn ? 'bg-white' : 'bg-light'; ?>">
<main>
<div class="card"> <?php if (!$isLoggedIn): ?>
<h1>Analyzing your requirements and generating your website…</h1> <div class="container">
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes"> <div class="row min-vh-100 align-items-center justify-content-center py-5">
<span class="sr-only">Loading…</span> <div class="col-12 col-md-8 col-lg-5">
</div> <div class="login-card p-4 p-md-5">
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p> <div class="hospital-logo mb-4">
<p class="hint">This page will update automatically as the plan is implemented.</p> <div class="logo-icon">
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p> <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/></svg>
</div>
<span class="ms-2 h4 mb-0 fw-bold">MedicalLink</span>
</div>
<h2 class="h4 mb-1 fw-bold">Clinical Access</h2>
<p class="text-muted small mb-4">Sign in with your clinical credentials.</p>
<div id="loginAlert" class="alert alert-danger d-none"></div>
<form id="loginForm">
<div class="mb-3">
<label for="email" class="form-label small fw-semibold">Clinical Email</label>
<input type="email" class="form-control" id="email" name="email" placeholder="name@medlink.com" required>
</div>
<div class="mb-4">
<div class="d-flex justify-content-between">
<label for="password" class="form-label small fw-semibold">Password</label>
<a href="#" class="small text-decoration-none">Forgot?</a>
</div>
<input type="password" class="form-control" id="password" name="password" placeholder="••••••••" required>
</div>
<button type="submit" class="btn btn-primary w-100 py-2 fw-semibold">Sign In</button>
</form>
<div class="mt-5">
<div class="d-flex align-items-center mb-3">
<hr class="flex-grow-1 text-muted opacity-25">
<span class="mx-3 text-muted small fw-medium uppercase">Demo Accounts</span>
<hr class="flex-grow-1 text-muted opacity-25">
</div>
<div class="row g-2" id="demoAccounts">
<div class="col-6">
<button class="btn btn-outline-light text-dark border w-100 py-2 small demo-btn"
data-email="sarah.mitchell@medlink.com" data-pass="password">
Dr. Mitchell
</button>
</div>
<div class="col-6">
<button class="btn btn-outline-light text-dark border w-100 py-2 small demo-btn"
data-email="james.wilson@medlink.com" data-pass="password">
Nurse Wilson
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div> </div>
</main> <?php else: ?>
<footer> <div class="dashboard-layout">
Page updated: <?= htmlspecialchars($now) ?> (UTC) <aside class="sidebar">
</footer> <div class="sidebar-header p-3 border-bottom d-flex align-items-center justify-content-between">
<div class="hospital-logo mb-0">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/></svg>
<span class="fw-bold ms-1">MedicalLink</span>
</div>
</div>
<div class="p-3">
<div class="text-muted small mb-3 text-uppercase fw-bold" style="font-size: 10px; letter-spacing: 0.05em;">Channels & Staff</div>
<div class="list-group list-group-flush gap-1">
<a href="#" class="list-group-item list-group-item-action rounded border-0 py-2 px-3 active">
<span class="small fw-medium"># General Ward</span>
</a>
<a href="#" class="list-group-item list-group-item-action rounded border-0 py-2 px-3">
<span class="small fw-medium"># Emergency Room</span>
</a>
</div>
</div>
</aside>
<main class="main-content d-flex flex-column">
<header class="main-header p-3 border-bottom d-flex align-items-center justify-content-between bg-white sticky-top">
<div class="d-flex align-items-center gap-2">
<div class="bg-primary bg-opacity-10 text-primary rounded-circle p-2 d-flex align-items-center justify-content-center" style="width: 36px; height: 36px;">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>
</div>
<div>
<h6 class="mb-0 fw-bold">General Ward</h6>
<span class="text-success small d-flex align-items-center gap-1">
<span class="bg-success rounded-circle" style="width: 6px; height: 6px;"></span>
12 Active Staff
</span>
</div>
</div>
<div class="d-flex align-items-center gap-3">
<div class="text-end d-none d-sm-block">
<div class="fw-bold small"><?php echo htmlspecialchars($_SESSION['user_name']); ?></div>
<div class="text-muted" style="font-size: 11px;"><?php echo ucwords(str_replace('_', ' ', $_SESSION['user_role'])); ?></div>
</div>
<div class="dropdown">
<button class="btn btn-link p-0 text-dark dropdown-toggle no-caret" data-bs-toggle="dropdown">
<div class="bg-light rounded-circle border d-flex align-items-center justify-content-center fw-bold text-primary" style="width: 36px; height: 36px; font-size: 14px;">
<?php
$names = explode(' ', $_SESSION['user_name']);
echo strtoupper(substr($names[0], 0, 1) . (isset($names[1]) ? substr($names[1], 0, 1) : ''));
?>
</div>
</button>
<ul class="dropdown-menu dropdown-menu-end shadow-sm border-0">
<li><a class="dropdown-item py-2 small" href="#"><svg class="me-2" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg> Profile</a></li>
<li><hr class="dropdown-divider opacity-50"></li>
<li><a class="dropdown-item py-2 small text-danger" href="auth.php?action=logout"><svg class="me-2" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line></svg> Sign Out</a></li>
</ul>
</div>
</div>
</header>
<div class="flex-grow-1 overflow-auto p-4 d-flex align-items-center justify-content-center bg-light bg-opacity-50">
<div class="text-center" style="max-width: 400px;">
<div class="mb-4 bg-white p-4 rounded-circle shadow-sm d-inline-block">
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="#3b82f6" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>
</div>
<h3 class="fw-bold">Seamless Collaboration</h3>
<p class="text-muted">Select a colleague or channel from the sidebar to start sharing clinical updates and patient data securely.</p>
<button class="btn btn-primary mt-3 px-4 py-2 fw-semibold shadow-sm">Start New Thread</button>
</div>
</div>
<footer class="p-3 border-top bg-white">
<div class="d-flex align-items-center gap-2">
<button class="btn btn-light rounded-circle p-2 d-flex align-items-center justify-content-center" style="width: 40px; height: 40px;">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>
</button>
<input type="text" class="form-control border-0 bg-light py-2 px-3" placeholder="Type a message to General Ward...">
<button class="btn btn-primary rounded-circle p-2 d-flex align-items-center justify-content-center" style="width: 40px; height: 40px;">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon></svg>
</button>
</div>
</footer>
</main>
</div>
<?php endif; ?>
<!-- Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<!-- Custom JS -->
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body> </body>
</html> </html>