Berkarar/themes/berkarar/layouts/default.htm

128 lines
3.0 KiB
HTML
Raw Normal View History

2022-08-28 19:50:26 +00:00
description = "Default layout"
[session]
security = "all"
2022-09-13 14:01:10 +00:00
[account]
paramCode = "code"
forceSecure = 0
requirePassword = 0
[localePicker]
forceUrl = 0
2022-08-28 19:50:26 +00:00
==
<?php
function onStart(){
2023-07-14 08:04:09 +00:00
$this['top_categories'] = Tps\Shops\Models\TopCategory::orderBy('sort_order')->get();
2022-08-28 19:50:26 +00:00
$this['category_settings'] = [
[
[
2023-07-14 08:04:09 +00:00
"limit" => 8,
2022-08-28 19:50:26 +00:00
"start" => 0,
2023-07-18 10:42:18 +00:00
],
2022-08-28 19:50:26 +00:00
[
2023-07-18 10:42:18 +00:00
"limit" => 1,
"start" => 5
2022-08-28 19:50:26 +00:00
],
2023-07-18 10:42:18 +00:00
],
[
2022-08-28 19:50:26 +00:00
[
"limit" => 5,
"start" => 2
],
2023-07-14 08:04:09 +00:00
[
2023-07-18 10:42:18 +00:00
"limit" => 1,
"start" => 1
],
[
"limit" => 1,
"start" => 10
],
2022-08-28 19:50:26 +00:00
],
[
[
2023-07-14 08:04:09 +00:00
"limit" => 4,
2022-08-28 19:50:26 +00:00
"start" => 3
],
[
2023-07-18 10:42:18 +00:00
"limit" => 4,
"start" => 8
]
2022-08-28 19:50:26 +00:00
],
[
2023-07-18 10:42:18 +00:00
[
"limit" => 2,
"start" => 4
2023-07-14 08:04:09 +00:00
],
2022-08-28 19:50:26 +00:00
[
2023-07-14 08:04:09 +00:00
"limit" => 3,
"start" => 9
2023-08-19 10:06:27 +00:00
],
[
"limit" => 1,
"start" => 11
],
2022-08-28 19:50:26 +00:00
],
2023-07-18 10:42:18 +00:00
[
2022-08-28 19:50:26 +00:00
[
2023-08-19 10:06:27 +00:00
"limit" => 4,
2023-07-18 10:42:18 +00:00
"start" => 7
2023-07-14 08:04:09 +00:00
],
[
2023-08-19 10:06:27 +00:00
"limit" => 4,
2023-07-18 10:42:18 +00:00
"start" => 6
2023-07-14 08:04:09 +00:00
],
2022-08-28 19:50:26 +00:00
],
];
}
?>
==
<!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">
<meta name="description" content="{{ this.page.meta_description }}">
2022-08-29 21:15:58 +00:00
<meta name="title" content="{{ this.page.meta_title | default(this.theme.site)}}">
2022-08-28 19:50:26 +00:00
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
2023-09-06 08:15:31 +00:00
<title>{{'Berkarar'|_}}</title>
2022-08-28 19:50:26 +00:00
<link href="{{ 'assets/css/main.css'|theme }}" rel="stylesheet">
{% styles %}
</head>
<body>
2023-07-26 13:29:57 +00:00
{% partial 'site/header' %}
2022-08-28 19:50:26 +00:00
{% partial 'site/navigation' %}
{% page %}
{% partial 'site/footer' %}
2022-09-13 14:01:10 +00:00
{% partial 'site/login' %}
2022-08-28 19:50:26 +00:00
<script src="{{ 'assets/js/jquery.js'|theme }}"></script>
<script src="{{ 'assets/js/main.js'|theme }}"></script>
<script src="{{ 'assets/js/slick.min.js'|theme }}"></script>
<script src="{{ 'assets/js/slider.js'|theme }}"></script>
<script src="{{ 'assets/js/tabs.js'|theme }}"></script>
<script src="{{ 'assets/js/modal-close.js'|theme }}"></script>
{% framework extras %}
{% scripts %}
</body>
</html>