144 lines
3.4 KiB
HTML
144 lines
3.4 KiB
HTML
description = "Default layout"
|
|
|
|
[session]
|
|
security = "all"
|
|
|
|
[account]
|
|
paramCode = "code"
|
|
forceSecure = 0
|
|
requirePassword = 0
|
|
|
|
[localePicker]
|
|
forceUrl = 0
|
|
==
|
|
<?php
|
|
function onStart(){
|
|
|
|
$this['top_categories'] = Tps\Shops\Models\TopCategory::orderBy('sort_order')->get();
|
|
$this['category_settings'] = [
|
|
[
|
|
[
|
|
"limit" => 8,
|
|
"start" => 0,
|
|
],
|
|
[
|
|
"limit" => 1,
|
|
"start" => 5
|
|
],
|
|
|
|
],
|
|
[
|
|
[
|
|
"limit" => 5,
|
|
"start" => 2
|
|
],
|
|
[
|
|
"limit" => 1,
|
|
"start" => 1
|
|
],
|
|
[
|
|
"limit" => 1,
|
|
"start" => 10
|
|
],
|
|
],
|
|
[
|
|
[
|
|
"limit" => 4,
|
|
"start" => 3
|
|
],
|
|
[
|
|
"limit" => 4,
|
|
"start" => 8
|
|
]
|
|
|
|
],
|
|
[
|
|
[
|
|
"limit" => 2,
|
|
"start" => 4
|
|
],
|
|
[
|
|
"limit" => 3,
|
|
"start" => 9
|
|
],
|
|
|
|
|
|
[
|
|
"limit" => 1,
|
|
"start" => 11
|
|
],
|
|
],
|
|
[
|
|
[
|
|
"limit" => 4,
|
|
"start" => 7
|
|
],
|
|
[
|
|
"limit" => 4,
|
|
"start" => 6
|
|
],
|
|
],
|
|
];
|
|
}
|
|
?>
|
|
==
|
|
<!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 }}">
|
|
<meta name="title" content="{{ this.page.meta_title | default(this.theme.site)}}">
|
|
<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">
|
|
|
|
<title>{{'Berkarar'|_}}</title>
|
|
<link rel="icon" type="image/x-icon" href="{{ '1.ico'|media }}">
|
|
<link href="{{ 'assets/css/main.css'|theme }}" rel="stylesheet">
|
|
{% styles %}
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{% partial 'site/header' %}
|
|
|
|
{% partial 'site/navigation' %}
|
|
|
|
{% page %}
|
|
|
|
{% partial 'site/footer' %}
|
|
{% partial 'site/login' %}
|
|
|
|
<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>
|
|
<script src="{{ 'assets/js/customSelect.js'|theme }}"></script>
|
|
|
|
|
|
|
|
|
|
|
|
{% framework extras %}
|
|
{% scripts %}
|
|
|
|
|
|
<!-- <script>
|
|
function onSelectChange(){
|
|
// d = document.getElementById("select_id").value;
|
|
// $(this).request('onFilter',{data: {region: d}}); return false;
|
|
console.log(111);
|
|
}
|
|
</script> -->
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|