This commit is contained in:
2025-05-01 14:37:08 -06:00
parent b6008d462e
commit 5cd4571a92
91 changed files with 1009 additions and 36 deletions
+21
View File
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/colors.css">
<?php
switch ($_SERVER['SCRIPT_NAME']) {
case '/create-account.php':
echo '<script src="js/create-account.js" defer></script>';
break;
case '/product.php':
if (!isset($_SESSION['id']))
echo '<script src="js/login-modal.js" defer></script>';
break;
}
?>
</head>
<body>
<?php include_once 'nav.php'; ?>