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 @@
<?php
if (!isset($_GET['id']))
header('Location: catalog.php');
require_once 'functions/init.php';
require_once 'functions/catalog.php';
// UI Components
foreach (glob('components/products/*.php') as $file)
require_once $file;
require_once 'components/user/login.php';
require_once 'components/head.php';
echo '<div id="product_page" class="std_width center">';
$product = fetch_product($_GET['id']);
echo product_page($product);
echo '</div>';
require_once 'components/foot.php';