summaryrefslogtreecommitdiff
path: root/html/processed-views/products.php
diff options
context:
space:
mode:
Diffstat (limited to 'html/processed-views/products.php')
-rw-r--r--html/processed-views/products.php113
1 files changed, 113 insertions, 0 deletions
diff --git a/html/processed-views/products.php b/html/processed-views/products.php
new file mode 100644
index 0000000..c0ef582
--- /dev/null
+++ b/html/processed-views/products.php
@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8" /><?php ob_flush(); ?>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title><?= $data['title'] ?? 'ΣΚΛΑΒΕΝΙΤΗΣ' ?></title>
+
+ <!-- import fonts -->
+ <?php link_asset( 'font', [
+ 'iconfont', 'CFAstyStdBold', 'CFAstyStdBook', 'CFAstyStdMedium'
+ ], 'rel="preload" crossOrigin="anonymous"'
+ ); ?>
+
+ <!-- import css -->
+ <?php link_asset('css', ['main', 'overides']); ?>
+
+</head>
+<body data-plugin-lazyload>
+ <div class="mainContainer">
+ <div class="mainLayer">
+ </div>
+
+ <?php
+ render_view('partials/header',[]);
+ ?>
+ <?php ob_flush(); ?>
+
+
+ <main class="main">
+
+ <div class="wrapper">
+ <div class="pageTitle">
+ <h1><?= $data['title'] ?>
+ </h1>
+ </div>
+ </div>
+
+ <div class="mainLayout mainLayout--aside">
+
+ <?php
+ render_view('content/product_list/aside', [
+ 'tree' => $data['tree'],
+ 'hierarchyPath' => $data['hierarchyPath']
+ ]);
+ ?>
+
+ <div class="mainLayout__content">
+
+ <!-- SHOW TOP NAVIGATION (but for level 0 citegory selected -->
+ <?php if (isset($data['hierarchyPath'][1])) : ?>
+
+ <?php
+ render_view('content/product_list/top_navigation', [
+ 'tree' => $data['tree'],
+ 'hierarchyPath' => $data['hierarchyPath']
+ ]);
+ ?>
+
+ <?php endif; ?>
+
+ <!-- PARSE->RENDER OTHER SECTIONS -->
+ <?php
+ parse_sections( $data['sections'] );
+ ?>
+
+ </div>
+
+ </div>
+
+ </main>
+ <?php ob_flush(); ?>
+
+
+ <?php
+ render_view('partials/footer', []);
+ ?>
+
+ </div>
+
+ <!-- scripts -->
+ <?php link_asset('js', [
+ 'require/files',
+ 'require/slim',
+ 'plugins',
+ 'plugins/setup' ]
+ ); ?>
+
+ <!--
+ <script type="text/javascript" src="http://localhost:8000/js/require/require.files.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/require/require.slim.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Plugins/plugins.min.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Plugins/plugins.setup.js"></script>
+ <script>
+ // var CDN = 'https://cdn.sklavenitis.co.gr/';
+ var CDN = 'https://www.sklavenitis.gr/';
+ </script>
+ <script type="text/javascript" src="http://localhost:8000/lib/jquery-validation/jquery/jquery-3.1.1.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Products/productList.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Products/productTile.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Filters/filters.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Filters/filtersBar.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Filters/filterStatus.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Plugins/scrollShadowVert.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Utils/dom.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Utils/domHelper.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Plugins/menu.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Cart/miniCart.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Plugins/expand.js"></script>
+ <script type="text/javascript" src="http://localhost:8000/js/Images/lazyload.js"></script>
+ -->
+</body>
+</html>
+<?php ob_flush(); ?> \ No newline at end of file