latest update from the server
This commit is contained in:
parent
4ae00b5a28
commit
9bd59f20f5
|
|
@ -88,15 +88,17 @@
|
|||
|
||||
<div class="contact_info">
|
||||
|
||||
<h2 class="intro_info-title wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".1s">
|
||||
<!--<h2 class="intro_info-title wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".1s">
|
||||
{{'Контактная информация'|_}}
|
||||
</h2>
|
||||
</h2>-->
|
||||
|
||||
|
||||
|
||||
<h4 class="contact_info-title wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".1s">
|
||||
{{'Управляющая компания ТРЦ «Беркарар»
|
||||
Хозяйственное Общество «Беркарар хызмат»'|_}}
|
||||
{{'Управляющая компания'|_}}<br>
|
||||
{{'ТРЦ «Беркарар» '|_}}<br>
|
||||
{{'Хозяйственное Общество'|_}}<br>
|
||||
{{'«Беркарар хызмат»'|_}}<br>
|
||||
</h4>
|
||||
|
||||
<p class="intro_info-txt wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".15s">
|
||||
|
|
@ -190,7 +192,7 @@
|
|||
|
||||
|
||||
<p class="intro_info-txt wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".15s">
|
||||
{{'Торговый центр «Беркарар»'|_}}
|
||||
<strong>{{'Торговый центр «Беркарар»'|_}}</strong>
|
||||
</p>
|
||||
|
||||
<p class="intro_info-txt wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".15s" style="margin-bottom: 0px;font-size: 19px;color:rgb(188 179 166);">
|
||||
|
|
@ -238,7 +240,7 @@
|
|||
|
||||
|
||||
<p class="intro_info-txt wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".15s">
|
||||
{{' Бизнес-центр «Беркарар» “Berkarar”'|_}}
|
||||
<strong>{{' Бизнес-центр «Беркарар» “Berkarar”'|_}}</strong>
|
||||
</p>
|
||||
<p class="intro_info-txt wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".15s" style="margin-bottom: 0px;font-size: 19px;color:rgb(188 179 166);">
|
||||
{{'Адрес: ул. Ататюрка, 81'|_}}
|
||||
|
|
|
|||
|
|
@ -2602,8 +2602,8 @@ input[type=date]::-webkit-calendar-picker-indicator {
|
|||
position: relative;
|
||||
display: block;
|
||||
padding: 40px 0;
|
||||
background: -webkit-gradient(linear, left top, right top, from(#000000), color-stop(0.01%, rgba(0, 0, 0, 0.9)), color-stop(80%, rgba(0, 0, 0, 0.4))), url("../images/bg.png") no-repeat center;
|
||||
background: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.9) 0.01%, rgba(0, 0, 0, 0.4) 80%), url("../images/bg.png") no-repeat center;
|
||||
background: -webkit-gradient(linear, left top, right top, from(#000000), color-stop(0.01%, rgba(0, 0, 0, 0.9)), color-stop(80%, rgba(0, 0, 0, 0.4))), url("../images/berkarar_image.jpeg") no-repeat center;
|
||||
background: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.9) 0.01%, rgba(0, 0, 0, 0.4) 80%), url("../images/berkarar_image.jpeg") no-repeat center;
|
||||
background-size: cover;
|
||||
min-height: 800px;
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 2.7 MiB |
|
|
@ -5,6 +5,18 @@ is_hidden = 0
|
|||
|
||||
[contactForm]
|
||||
==
|
||||
<style>
|
||||
.intro {
|
||||
position: relative !important;
|
||||
display: block !important;
|
||||
padding: 40px 0 !important;
|
||||
background: -webkit-gradient(linear, left top, right top, from(#000000), color-stop(0.01%, rgba(0, 0, 0, 0.9)), color-stop(80%, rgba(0, 0, 0, 0.4))), url("https://berkarar.com.tm/storage/app/media/contact_banner.jpg") no-repeat center !important;
|
||||
background: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.9) 0.01%, rgba(0, 0, 0, 0.4) 80%), url("https://berkarar.com.tm/storage/app/media/contact_banner.jpg") no-repeat center !important;
|
||||
background-size: cover !important;
|
||||
min-height: 800px !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
<!-- Intro ============================= -->
|
||||
<section class="intro">
|
||||
<div class="auto_container">
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ function onStart(){
|
|||
|
||||
$this['movies'] = Tps\Movies\Models\Movie::orderBy('created_at')->limit(15)->get();
|
||||
|
||||
$this['sales'] = Tps\Shops\Models\Sale::all();
|
||||
$this['sales'] = Tps\Shops\Models\Sale::orderBy('id', 'desc')->get();
|
||||
$this['sales_all'] = $this['sales']->slice(0, 6);
|
||||
$this['sales_news'] = $this['sales']->where("type", "news")->slice(0, 6);
|
||||
$this['sales_promo'] = $this['sales']->where("type", "promo")->slice(0, 6);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ is_hidden = 0
|
|||
==
|
||||
<?php
|
||||
function onStart(){
|
||||
$this['sales'] = Tps\Shops\Models\Sale::all();
|
||||
$this['sales'] = Tps\Shops\Models\Sale::orderBy('id', 'desc')->get();
|
||||
$this['sales_all'] = $this['sales'];
|
||||
$this['sales_news'] = $this['sales']->where("type", "news");
|
||||
$this['sales_promo'] = $this['sales']->where("type", "promo");
|
||||
|
|
|
|||
|
|
@ -50,11 +50,15 @@ function onUpdate()
|
|||
|
||||
$floorID = post('floorID');
|
||||
|
||||
$floorID = strval(intval($floorID) - 1);
|
||||
//dd($floorID);
|
||||
$data = Tps\Shops\Models\Shop::orderBy('created_at')
|
||||
->where('floor', $floorID)
|
||||
->paginate(12)
|
||||
->appends(['floor' => $floorID]);
|
||||
|
||||
|
||||
//dd($data);
|
||||
return [
|
||||
'home/shop_item' => $this->renderPartial('home/shop_item', ['shops' => $data]),
|
||||
'home/pagination' => $this->renderPartial('home/pagination', ['result' => $data]) // Update this with the correct data
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
<img src="{{ 'assets/images/svg/clock.svg'|theme }}" alt="clock-icon">
|
||||
</span>
|
||||
|
||||
{{sale.start_date|date('Y-m-d')}} - {{sale.end_date|date('Y-m-d')}}
|
||||
<strong> {{ sale.start_date|date('d.m.Y') }} - {{ sale.end_date|date('d.m.Y') }} </strong>
|
||||
</p>
|
||||
{% endif %}
|
||||
<h4 class="shops_item-content-txt">
|
||||
|
|
@ -140,7 +140,7 @@
|
|||
<img src="{{ 'assets/images/svg/clock.svg'|theme }}" alt="clock-icon">
|
||||
</span>
|
||||
|
||||
{{sale.start_date}} - {{sale.end_date}}
|
||||
<strong> {{ sale.start_date|date('d.m.Y') }} - {{ sale.end_date|date('d.m.Y') }} </strong>
|
||||
</p>
|
||||
{% endif %}
|
||||
<h4 class="shops_item-content-txt">
|
||||
|
|
@ -217,7 +217,7 @@
|
|||
<img src="{{ 'assets/images/svg/clock.svg'|theme }}" alt="clock-icon">
|
||||
</span>
|
||||
|
||||
{{sale.start_date}} - {{sale.end_date}}
|
||||
<strong> {{ sale.start_date|date('d.m.Y') }} - {{ sale.end_date|date('d.m.Y') }} </strong>
|
||||
</p>
|
||||
{% endif %}
|
||||
<h4 class="shops_item-content-txt">
|
||||
|
|
@ -294,7 +294,7 @@
|
|||
<img src="{{ 'assets/images/svg/clock.svg'|theme }}" alt="clock-icon">
|
||||
</span>
|
||||
|
||||
{{sale.start_date}} - {{sale.end_date}}
|
||||
<strong> {{ sale.start_date|date('d.m.Y') }} - {{ sale.end_date|date('d.m.Y') }} </strong>
|
||||
</p>
|
||||
{% endif %}
|
||||
<h4 class="shops_item-content-txt">
|
||||
|
|
@ -417,8 +417,8 @@
|
|||
var currentPage = 0;
|
||||
var items = document.querySelectorAll("#news .shops_item");
|
||||
var totalPages = Math.ceil(items.length / itemsPerPage);
|
||||
var nextButton = document.querySelector("#news .next-button");
|
||||
var prevButton = document.querySelector("#news .prev-button");
|
||||
var nextButton = document.querySelector("#news_pagination .next-button");
|
||||
var prevButton = document.querySelector("#news_pagination .prev-button");
|
||||
var pageInput = document.querySelector("#news_pagination .input_page");
|
||||
var paginationBlock = document.querySelector("#news_pagination");
|
||||
|
||||
|
|
@ -429,23 +429,23 @@
|
|||
|
||||
updatePagination();
|
||||
|
||||
if(prevButton != null){
|
||||
// if(prevButton != null){
|
||||
prevButton.addEventListener("click", function () {
|
||||
if (currentPage > 0) {
|
||||
currentPage--;
|
||||
updatePagination();
|
||||
}
|
||||
});
|
||||
}
|
||||
// }
|
||||
|
||||
if(nextButton != null){
|
||||
// if(nextButton != null){
|
||||
nextButton.addEventListener("click", function () {
|
||||
if (currentPage < totalPages - 1) {
|
||||
currentPage++;
|
||||
updatePagination();
|
||||
}
|
||||
});
|
||||
}
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
|
@ -483,8 +483,8 @@
|
|||
var currentPage = 0;
|
||||
var items = document.querySelectorAll("#discount .shops_item");
|
||||
var totalPages = Math.ceil(items.length / itemsPerPage);
|
||||
var nextButton = document.querySelector("#discount .next-button");
|
||||
var prevButton = document.querySelector("#discount .prev-button");
|
||||
var nextButton = document.querySelector("#discount_pagination .next-button");
|
||||
var prevButton = document.querySelector("#discount_pagination .prev-button");
|
||||
var pageInput = document.querySelector("#discount_pagination .input_page");
|
||||
var paginationBlock = document.querySelector("#discount_pagination");
|
||||
|
||||
|
|
@ -495,23 +495,23 @@
|
|||
|
||||
updatePagination();
|
||||
|
||||
if(prevButton != null){
|
||||
// if(prevButton != null){
|
||||
prevButton.addEventListener("click", function () {
|
||||
if (currentPage > 0) {
|
||||
currentPage--;
|
||||
updatePagination();
|
||||
}
|
||||
});
|
||||
}
|
||||
// }
|
||||
|
||||
if(nextButton != null){
|
||||
// if(nextButton != null){
|
||||
nextButton.addEventListener("click", function () {
|
||||
if (currentPage < totalPages - 1) {
|
||||
currentPage++;
|
||||
updatePagination();
|
||||
}
|
||||
});
|
||||
}
|
||||
// }
|
||||
|
||||
function updatePagination() {
|
||||
var startIndex = currentPage * itemsPerPage;
|
||||
|
|
@ -546,8 +546,8 @@
|
|||
var currentPage = 0;
|
||||
var items = document.querySelectorAll("#stocks .shops_item");
|
||||
var totalPages = Math.ceil(items.length / itemsPerPage);
|
||||
var nextButton = document.querySelector("#stocks .next-button");
|
||||
var prevButton = document.querySelector("#stocks .prev-button");
|
||||
var nextButton = document.querySelector("#stocks_pagination .next-button");
|
||||
var prevButton = document.querySelector("#stocks_pagination .prev-button");
|
||||
var pageInput = document.querySelector("#stocks_pagination .input_page");
|
||||
var paginationBlock = document.querySelector("#stocks_pagination");
|
||||
|
||||
|
|
@ -558,23 +558,23 @@
|
|||
|
||||
updatePagination();
|
||||
|
||||
if(prevButton != null){
|
||||
// if(prevButton != null){
|
||||
prevButton.addEventListener("click", function () {
|
||||
if (currentPage > 0) {
|
||||
currentPage--;
|
||||
updatePagination();
|
||||
}
|
||||
});
|
||||
}
|
||||
// }
|
||||
|
||||
if(nextButton != null){
|
||||
// if(nextButton != null){
|
||||
nextButton.addEventListener("click", function () {
|
||||
if (currentPage < totalPages - 1) {
|
||||
currentPage++;
|
||||
updatePagination();
|
||||
}
|
||||
});
|
||||
}
|
||||
// }
|
||||
|
||||
function updatePagination() {
|
||||
var startIndex = currentPage * itemsPerPage;
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
<img src="{{ 'assets/images/svg/clock.svg'|theme }}" alt="clock-icon">
|
||||
</span>
|
||||
|
||||
{{sale.start_date|date('Y-m-d')}} - {{sale.end_date|date('Y-m-d')}}
|
||||
<strong> {{ sale.start_date|date('d.m.Y') }} - {{ sale.end_date|date('d.m.Y') }} </strong>
|
||||
</p>
|
||||
{% endif %}
|
||||
<h4 class="shops_item-content-txt">
|
||||
|
|
@ -101,7 +101,7 @@
|
|||
<img src="{{ 'assets/images/svg/clock.svg'|theme }}" alt="clock-icon">
|
||||
</span>
|
||||
|
||||
{{sale.start_date}} - {{sale.end_date}}
|
||||
<strong> {{ sale.start_date|date('d.m.Y') }} - {{ sale.end_date|date('d.m.Y') }} </strong>
|
||||
</p>
|
||||
{% endif %}
|
||||
<h4 class="shops_item-content-txt">
|
||||
|
|
@ -147,7 +147,7 @@
|
|||
<img src="{{ 'assets/images/svg/clock.svg'|theme }}" alt="clock-icon">
|
||||
</span>
|
||||
|
||||
{{sale.start_date}} - {{sale.end_date}}
|
||||
<strong> {{ sale.start_date|date('d.m.Y') }} - {{ sale.end_date|date('d.m.Y') }} </strong>
|
||||
</p>
|
||||
{% endif %}
|
||||
<h4 class="shops_item-content-txt">
|
||||
|
|
@ -193,7 +193,7 @@
|
|||
<img src="{{ 'assets/images/svg/clock.svg'|theme }}" alt="clock-icon">
|
||||
</span>
|
||||
|
||||
{{sale.start_date}} - {{sale.end_date}}
|
||||
<strong> {{ sale.start_date|date('d.m.Y') }} - {{ sale.end_date|date('d.m.Y') }} </strong>
|
||||
</p>
|
||||
{% endif %}
|
||||
<h4 class="shops_item-content-txt">
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
<a href="{{'sales'|page}}">{{'Новости и акции'|_}}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ url('/') }}/main-category/{{0}}/all">{{'Все магазины'|_}}</a>
|
||||
<a href="{{ url('/') }}/main-category/0">{{'Все магазины'|_}}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ 'about'|page}}">{{'Подробней о нас'|_}}</a>
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<a href="{{'map'|page}}">
|
||||
<span>
|
||||
<svg width="16" height="14" viewBox="0 0 16 14" fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
|
|
@ -98,7 +98,7 @@
|
|||
</p>
|
||||
</d>
|
||||
|
||||
<a href="tel: +993 61203079" class="footer_navs-link">
|
||||
<!-- <a href="tel: +993 61203079" class="footer_navs-link">
|
||||
<span>
|
||||
<svg width="17" height="17" viewBox="0 0 17 17" fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
|
|
@ -119,7 +119,7 @@
|
|||
<p>
|
||||
+993 61203079
|
||||
</p>
|
||||
</a>
|
||||
</a> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -10,10 +10,14 @@ function onStart(){
|
|||
$url = $protocol . "://" . $host . $uri;
|
||||
|
||||
$path = parse_url($url, PHP_URL_PATH);
|
||||
//dd($path);
|
||||
|
||||
|
||||
// Remove language segments
|
||||
$segmentsToRemove = array("tk", "en", "ru");
|
||||
foreach ($segmentsToRemove as $segment) {
|
||||
$path = str_replace("/$segment/", "/", $path);
|
||||
$pattern = "/\/$segment\//";
|
||||
$path = preg_replace($pattern, "/", $path);
|
||||
}
|
||||
|
||||
$this["pageLink"] = $path;
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ function onStart(){
|
|||
{{'Схема ТРЦ'|_}}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
{# <li>
|
||||
{% if user %}
|
||||
<a href="{{ 'profile'|page}}">
|
||||
|
||||
|
|
@ -83,7 +83,7 @@ function onStart(){
|
|||
{{'Вход'|_}}
|
||||
</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
</li> #}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue