Initial commit

This commit is contained in:
“VeLiTi”
2025-01-30 11:43:37 +01:00
commit 6f1cc27ec4
823 changed files with 233091 additions and 0 deletions

24
placeorder.php Normal file
View File

@@ -0,0 +1,24 @@
<?php
// Prevent direct access to file
defined(security_key) or exit;
// Remove all the products in cart, the variable is no longer needed as the order has been processed
if (isset($_SESSION['cart'])) {
unset($_SESSION['cart']);
}
// Remove discount code
if (isset($_SESSION['discount'])) {
unset($_SESSION['discount']);
}
?>
<?=template_header('Place Order')?>
<?php if ($error): ?>
<p class="content-wrapper error"><?=$error?></p>
<?php else: ?>
<div class="placeorder content-wrapper">
<h1><?=$h1_order_succes_message?></h1>
<p><?=$order_succes_message?></p>
</div>
<?php endif; ?>
<?=template_footer()?>