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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
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(); ?>
|