Actualizacion y bloqueo de peticion de licencias de activacion
This commit is contained in:
4
public/assets/css/vendors.css
vendored
4
public/assets/css/vendors.css
vendored
@@ -32595,6 +32595,10 @@ img.jssocials-share-logo {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.br-banner{
|
||||||
|
border-radius: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 300px){
|
@media (min-width: 300px){
|
||||||
.hideIdioma{
|
.hideIdioma{
|
||||||
display:none !important;
|
display:none !important;
|
||||||
|
|||||||
@@ -466,10 +466,10 @@
|
|||||||
<div class="px-3 h-100" style="padding-top: 12px;padding-bottom: 12px; width:270px; cursor: pointer; background-color: #E63108; border-radius: 10px 10px 0px 0px;">
|
<div class="px-3 h-100" style="padding-top: 12px;padding-bottom: 12px; width:270px; cursor: pointer; background-color: #E63108; border-radius: 10px 10px 0px 0px;">
|
||||||
<div class="d-flex align-items-center justify-content-between">
|
<div class="d-flex align-items-center justify-content-between">
|
||||||
<div>
|
<div>
|
||||||
<span class="fw-700 fs-16 text-white mr-3">{{ translate('Categories') }}</span>
|
<span class="fw-700 fs-16 text-white mr-3">Busca tu Repuesto:</span>
|
||||||
<a href="{{ route('categories.all') }}" class="text-reset">
|
<!-- <a href="{{ route('categories.all') }}" class="text-reset">
|
||||||
<span class="d-none d-lg-inline-block text-white hov-opacity-80">({{ translate('See All') }})</span>
|
<span class="d-none d-lg-inline-block text-white hov-opacity-80">({{ translate('See All') }})</span>
|
||||||
</a>
|
</a> -->
|
||||||
</div>
|
</div>
|
||||||
<i class="las la-angle-down text-white has-transition" id="category-menu-bar-icon" style="font-size: 1.2rem !important"></i>
|
<i class="las la-angle-down text-white has-transition" id="category-menu-bar-icon" style="font-size: 1.2rem !important"></i>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,6 +1,30 @@
|
|||||||
@extends('frontend.layouts.app')
|
@extends('frontend.layouts.app')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
||||||
|
<!-- Banner section 1 -->
|
||||||
|
@if (get_setting('home_banner1_images') != null)
|
||||||
|
<div class="mb-2 mb-md-3 mt-2 mt-md-3">
|
||||||
|
<div class="container">
|
||||||
|
@php
|
||||||
|
$banner_1_imags = json_decode(get_setting('home_banner1_images'));
|
||||||
|
$data_md = count($banner_1_imags) >= 2 ? 2 : 1;
|
||||||
|
@endphp
|
||||||
|
<div class="w-100">
|
||||||
|
<div class="aiz-carousel gutters-16 overflow-hidden arrow-inactive-none arrow-dark arrow-x-15" data-items="{{ count($banner_1_imags) }}" data-xxl-items="{{ count($banner_1_imags) }}" data-xl-items="{{ count($banner_1_imags) }}" data-lg-items="{{ $data_md }}" data-md-items="{{ $data_md }}" data-sm-items="1" data-xs-items="1" data-arrows="true" data-dots="false">
|
||||||
|
@foreach ($banner_1_imags as $key => $value)
|
||||||
|
<div class="carousel-box overflow-hidden hov-scale-img">
|
||||||
|
<a href="{{ json_decode(get_setting('home_banner1_links'), true)[$key] }}" class="d-block text-reset overflow-hidden br-banner">
|
||||||
|
<img src="{{ static_asset('assets/img/placeholder-rect.jpg') }}" data-src="{{ uploaded_asset($value) }}"
|
||||||
|
alt="{{ env('APP_NAME') }} promo" class="img-fluid lazyload w-100 has-transition" onerror="this.onerror=null;this.src='{{ static_asset('assets/img/placeholder-rect.jpg') }}';">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
@endforeach
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
<!-- Sliders & Today's deal -->
|
<!-- Sliders & Today's deal -->
|
||||||
<div class="home-banner-area mb-3 m-top-5" style="">
|
<div class="home-banner-area mb-3 m-top-5" style="">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
@@ -196,29 +220,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- Banner section 1 -->
|
|
||||||
@if (get_setting('home_banner1_images') != null)
|
|
||||||
<div class="mb-2 mb-md-3 mt-2 mt-md-3">
|
|
||||||
<div class="container">
|
|
||||||
@php
|
|
||||||
$banner_1_imags = json_decode(get_setting('home_banner1_images'));
|
|
||||||
$data_md = count($banner_1_imags) >= 2 ? 2 : 1;
|
|
||||||
@endphp
|
|
||||||
<div class="w-100">
|
|
||||||
<div class="aiz-carousel gutters-16 overflow-hidden arrow-inactive-none arrow-dark arrow-x-15" data-items="{{ count($banner_1_imags) }}" data-xxl-items="{{ count($banner_1_imags) }}" data-xl-items="{{ count($banner_1_imags) }}" data-lg-items="{{ $data_md }}" data-md-items="{{ $data_md }}" data-sm-items="1" data-xs-items="1" data-arrows="true" data-dots="false">
|
|
||||||
@foreach ($banner_1_imags as $key => $value)
|
|
||||||
<div class="carousel-box overflow-hidden hov-scale-img">
|
|
||||||
<a href="{{ json_decode(get_setting('home_banner1_links'), true)[$key] }}" class="d-block text-reset overflow-hidden">
|
|
||||||
<img src="{{ static_asset('assets/img/placeholder-rect.jpg') }}" data-src="{{ uploaded_asset($value) }}"
|
|
||||||
alt="{{ env('APP_NAME') }} promo" class="img-fluid lazyload w-100 has-transition" onerror="this.onerror=null;this.src='{{ static_asset('assets/img/placeholder-rect.jpg') }}';">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
@endforeach
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
<!-- Featured Categories -->
|
<!-- Featured Categories -->
|
||||||
@if (count($featured_categories) > 0)
|
@if (count($featured_categories) > 0)
|
||||||
|
|||||||
@@ -34,8 +34,10 @@ class CoreComponentRepository
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected static function finalizeRepository($rn) {
|
protected static function finalizeRepository($rn) {
|
||||||
if($rn == "bad" && env('DEMO_MODE') != 'On') {
|
if($rn == "bad" && env('DEMO_MODE') != 'Off') { //modificacion paa que no solicite purchase code por kquiroz
|
||||||
return redirect('https://activeitzone.com/activation/')->send();
|
return redirect('https://activeitzone.com/activation/')->send();
|
||||||
|
// return redirect('https://desarrollo.test/dashboard/')->send();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -58,7 +60,10 @@ class CoreComponentRepository
|
|||||||
curl_close($stream);
|
curl_close($stream);
|
||||||
|
|
||||||
if($rn == 'no') {
|
if($rn == 'no') {
|
||||||
self::finalizeCache($addon);
|
//self::finalizeCache($addon); //modificado para ver
|
||||||
|
Cache::rememberForever($addon->unique_identifier.'-purchased', function () {
|
||||||
|
return 'yes';
|
||||||
|
});
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
Cache::rememberForever($addon->unique_identifier.'-purchased', function () {
|
Cache::rememberForever($addon->unique_identifier.'-purchased', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user