-
Notifications
You must be signed in to change notification settings - Fork 0
/
shop.php
30 lines (25 loc) · 885 Bytes
/
shop.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
ini_set('display_errors', 0);
require_once './autoloader.php'; // Load classes automatically
session_start();
//CONSOLE.LOG SESSION
echo "<script>console.log(" . json_encode(var_export($_SESSION["cart_obj"], true)) . ");</script>";
echo "<script>console.log(" . json_encode(var_export($_SESSION["user"], true)) . ");</script>";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./assets/styles/style.css">
<title>T | Our products</title>
</head>
<body>
<?php include('./views/Identification.php') ?>
<section class="page-layout">
<?php include('./views/Sidebar.php') ?>
<?php include('./views/Shop.php') ?>
</section>
</body>
</html>