first commit
This commit is contained in:
BIN
templates_user/.DS_Store
vendored
Normal file
BIN
templates_user/.DS_Store
vendored
Normal file
Binary file not shown.
20
templates_user/articles/article-files.php
Normal file
20
templates_user/articles/article-files.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<? if ( is_array( $this -> files ) ):?>
|
||||
<ul class="files">
|
||||
<? foreach ( $this -> files as $file ):?>
|
||||
<li>
|
||||
<a href="/download.php?file=<?= $file['id'];?>&hash=<?= md5( $file['src'] );?>" title="<?= $file['name'];?>" target="_blank">
|
||||
<i class="fa fa-download"></i>
|
||||
<?
|
||||
if ( $file['name'] )
|
||||
echo $file['name'];
|
||||
else
|
||||
{
|
||||
$name = explode( '/', $file['src'] );
|
||||
echo $name[ count( $name ) - 1 ];
|
||||
}
|
||||
?>
|
||||
</a>
|
||||
</li>
|
||||
<? endforeach;?>
|
||||
</ul>
|
||||
<? endif;?>
|
||||
202
templates_user/components/ContactForm.php
Normal file
202
templates_user/components/ContactForm.php
Normal file
@@ -0,0 +1,202 @@
|
||||
<? global $lang; \S::set_session('form-token', bin2hex(random_bytes(32))); ?>
|
||||
|
||||
<div class="contact-box">
|
||||
<div class="contact-head">
|
||||
<? if ($alert = \S::get_session('alert')) : ?>
|
||||
<div class="alert alert-success">
|
||||
<?= $alert; ?>
|
||||
<? unset($_SESSION['alert']); ?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<form action="" id="contact_form" method="POST">
|
||||
<input type="hidden" name="action" value="send_contact_form">
|
||||
<input type="hidden" name="token" value="<?= \S::get_session('form-token'); ?>">
|
||||
<input type="hidden" id="g-recaptcha-response" name="g-recaptcha-response">
|
||||
|
||||
<div class="form_group">
|
||||
<input type="text" name="name" id="form_name" placeholder="NAME *" required>
|
||||
</div>
|
||||
<div class="form_group">
|
||||
<input type="text" name="email" id="form_email" placeholder="E-MAIL *" required>
|
||||
</div>
|
||||
<div class="form_group">
|
||||
<input type="text" name="phone" id="form_phone" placeholder="PHONE">
|
||||
</div>
|
||||
<div class="form_group">
|
||||
<select name="country" id="country">
|
||||
<option value="" disabled selected>COUNTRY</option>
|
||||
<option value="IRELAND">IRELAND</option>
|
||||
<option value="UNITED STATES OF AMERICA">UNITED STATES OF AMERICA</option>
|
||||
<option value="CANADA">CANADA</option>
|
||||
<option value="UNITED KINGDOM">UNITED KINGDOM</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form_group">
|
||||
<textarea name="your_message" id="form_message" placeholder="IF YOU HAVE ANY COMMENTS, CAN BE ENTERED HERE"></textarea>
|
||||
</div>
|
||||
<div class="agreement">
|
||||
<div class="agreement-container">
|
||||
<div class="form_group_2">
|
||||
<input type="checkbox" name="form_check" id="form_check" class="checkbox" required>
|
||||
<label class="label_form_check" for="form_check">I agree to the processing of my personal data provided by me above in order to prepare an appropriate offer.</label>
|
||||
</div>
|
||||
<div class="form_group_2">
|
||||
<input type="checkbox" name="form_check2" id="form_check2" class="checkbox" required>
|
||||
<label class="label_form_check2" for="form_check2">I agree to the processing of my personal data provided by me above in order to receive advertising materials.</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="buttons-container">
|
||||
<!-- <div class="g-recaptcha" data-sitekey="6Lcil-sqAAAAAFZvSie7dNg5M_vkMsH0_QFpF_kb"></div> -->
|
||||
<button type="submit" class="btn btn-send">SEND</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- <script src="https://www.google.com/recaptcha/api.js" async defer></script> -->
|
||||
<script class="footer">
|
||||
$(function() {
|
||||
$('body').on(click_event, '#contact_form .btn-send', function(e) {
|
||||
e.preventDefault()
|
||||
var form_name = $.trim($('#contact_form #form_name').val());
|
||||
var form_email = $.trim($('#contact_form #form_email').val());
|
||||
var form_phone = $.trim($('#contact_form #form_phone').val());
|
||||
var country = $.trim($('#contact_form #country').val());
|
||||
var form_message = $.trim($('#contact_form #form_message').val());
|
||||
var form_check = $('#contact_form #form_check').is(':checked');
|
||||
var form_check2 = $('#contact_form #form_check2').is(':checked');
|
||||
|
||||
var form_messaform_checkge = $.trim($('#contact_form #form_check').val());
|
||||
|
||||
if ( form_email === '' || form_name === '' ) {
|
||||
$.alert({
|
||||
title: 'Error',
|
||||
content: 'Please fill in the required information.',
|
||||
type: 'orange',
|
||||
closeIcon: true,
|
||||
closeIconClass: 'fa fa-close',
|
||||
typeAnimated: true,
|
||||
animation: 'opacity',
|
||||
autoClose: 'confirm|10000',
|
||||
boxWidth: '650px',
|
||||
useBootstrap: false,
|
||||
theme: 'modern',
|
||||
buttons: {
|
||||
confirm: {
|
||||
text: 'Close',
|
||||
btnClass: 'btn-blue',
|
||||
keys: ['enter'],
|
||||
action: function() {}
|
||||
}
|
||||
}
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( !$( '#contact_form #form_check' ).is(':checked') ) {
|
||||
$.alert({
|
||||
title: 'Error',
|
||||
content: 'Please indicate your consent to receive a commercial offer.',
|
||||
type: 'orange',
|
||||
closeIcon: true,
|
||||
closeIconClass: 'fa fa-close',
|
||||
typeAnimated: true,
|
||||
animation: 'opacity',
|
||||
autoClose: 'confirm|10000',
|
||||
boxWidth: '650px',
|
||||
useBootstrap: false,
|
||||
theme: 'modern',
|
||||
buttons: {
|
||||
confirm: {
|
||||
text: 'Close',
|
||||
btnClass: 'btn-blue',
|
||||
keys: ['enter'],
|
||||
action: function() {}
|
||||
}
|
||||
}
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
// grecaptcha.ready(function() {
|
||||
// grecaptcha.execute('6Lcil-sqAAAAAFZvSie7dNg5M_vkMsH0_QFpF_kb', { action: 'submit' }).then(function(token) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
cache: false,
|
||||
url: '/',
|
||||
data: {
|
||||
a: 'send_contact_form',
|
||||
name: form_name,
|
||||
email: form_email,
|
||||
phone: form_phone,
|
||||
country: country,
|
||||
message: form_message,
|
||||
form_check: form_check,
|
||||
form_check2: form_check2,
|
||||
'g-recaptcha-response': token
|
||||
},
|
||||
beforeSend: function() {
|
||||
alert1 = $.alert({
|
||||
title: 'Information',
|
||||
content: 'Please wait ...',
|
||||
type: 'blue',
|
||||
closeIcon: true,
|
||||
closeIconClass: 'fa fa-close',
|
||||
typeAnimated: true,
|
||||
animation: 'opacity',
|
||||
autoClose: 'confirm|60000',
|
||||
boxWidth: '650px',
|
||||
useBootstrap: false,
|
||||
theme: 'modern',
|
||||
buttons: {
|
||||
confirm: {
|
||||
text: 'Close',
|
||||
btnClass: 'btn-blue',
|
||||
keys: ['enter'],
|
||||
action: function() {}
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
success: function(data) {
|
||||
response = jQuery.parseJSON(data);
|
||||
|
||||
if (response.status === 'ok')
|
||||
var msg = 'The message has been sent. We will try to respond as soon as possible.';
|
||||
else
|
||||
var msg = 'An error occurred while sending the message. Please try again.';
|
||||
|
||||
alert1.close();
|
||||
|
||||
$('.contact_box input[type="text"], .contact_box input[type="email"], .contact_box textarea').val('');
|
||||
|
||||
$.alert({
|
||||
title: '<?= ucfirst($lang['informacja']); ?>',
|
||||
content: msg,
|
||||
type: 'blue',
|
||||
closeIcon: true,
|
||||
closeIconClass: 'fa fa-close',
|
||||
typeAnimated: true,
|
||||
animation: 'opacity',
|
||||
autoClose: 'confirm|10000',
|
||||
boxWidth: '650px',
|
||||
useBootstrap: false,
|
||||
theme: 'modern',
|
||||
buttons: {
|
||||
confirm: {
|
||||
text: 'Close',
|
||||
btnClass: 'btn-blue',
|
||||
keys: ['enter'],
|
||||
action: function() {}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
// });
|
||||
// });
|
||||
});
|
||||
});
|
||||
</script>
|
||||
35
templates_user/components/ContactMini.php
Normal file
35
templates_user/components/ContactMini.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<div id="contact-mini">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-5 offset-lg-1 left_col">
|
||||
<h2>CONTACT B2B</h2>
|
||||
<p><strong>AGATA RADOMSKA</strong></p>
|
||||
<p>AREA SALES MANAGER</p>
|
||||
<ul class="contact-social">
|
||||
<li>
|
||||
<a href="https://www.linkedin.com/company/100758751/admin/feed/posts/?feedType=following" target="_blank">
|
||||
<img alt=""src="/upload/filemanager/Icons/icon-linkedin.svg">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://youtube.com/@vidokwindowsanddoors8529?si=k_FbYXD8sz4QRebU" target="_blank">
|
||||
<img alt="" src="/upload/filemanager/Icons/icon-yotube.svg">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="contact-data">
|
||||
<li>
|
||||
<a href="tel:+48882399733">+48 882 399 733</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="mailto:enquiries@vidok.com">enquiries@vidok.com</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-lg-5 right_col">
|
||||
<p>CONNECT WITH US TODAY</p>
|
||||
<?php include 'templates_user/components/ContactForm.php'; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
34
templates_user/components/Footer.php
Normal file
34
templates_user/components/Footer.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<div id="footer">
|
||||
<div class="container">
|
||||
<div class="footer_wrapper">
|
||||
<div class="footer_top">
|
||||
<div class="box-left">
|
||||
<img src="/upload/filemanager/Logos/logo-white.svg" />
|
||||
<p class="body_text">
|
||||
VIDOK SP. Z O. O.<br />
|
||||
Rudna Mała 75,<br />
|
||||
35-054 Mrowla, Poland<br />
|
||||
KRS Nr. 0000191980, REGON: 690379060. NIP: 8131086710<br />
|
||||
Bank account: ING BANK Śląski S.A. : SWIFT INGBPLPW<br />
|
||||
GBP: PL 27 1050 1562 1000 0090 8125 7629<br />
|
||||
PLN: PL 31 1050 1562 1000 0090 3034 4197
|
||||
</p>
|
||||
</div>
|
||||
<div class="box-center">
|
||||
<h4>OUR PRODUCTS</h4>
|
||||
<ul>
|
||||
<li><a href="/aluminium-windows">Windows</a></li>
|
||||
<li><a href="/facades">Façades</a></li>
|
||||
<li><a href="/sliding-doors">Sliding doors</a></li>
|
||||
<li><a href="/shutters">Roller shutters</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="box-right">
|
||||
<ul>
|
||||
<li><a href="/downloads">Downloads</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
233
templates_user/components/NavMenu.php
Normal file
233
templates_user/components/NavMenu.php
Normal file
@@ -0,0 +1,233 @@
|
||||
<? include 'templates_user/components/detect-language.php'; ?>
|
||||
<noscript>
|
||||
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=5686826&fmt=gif" />
|
||||
</noscript>
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="header__wrapper">
|
||||
<div class="header_left">
|
||||
<a href="/">
|
||||
<img src="/upload/filemanager/Logos/logo-black.svg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
<div class="header_right">
|
||||
<nav id="advance_menu">
|
||||
<ul class="lvl_1">
|
||||
|
||||
<li>
|
||||
<a href="/about-us">About Us</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/facades">Façades</a>
|
||||
</li>
|
||||
|
||||
<li class="parent">
|
||||
<a href="/windows" class="no-click">Windows</a>
|
||||
<ul class="lvl_2 static_height">
|
||||
<li class="parent">
|
||||
<a href="/aluminium-windows">Aluminium windows</a>
|
||||
<ul class="lvl_3 static_height">
|
||||
<li>
|
||||
<a href="/aluminium-windows#mb-70">MB 70</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/aluminium-windows#mb-70-casement">MB 70 CASEMENT</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/aluminium-windows#mb-79n">MB 79N</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/aluminium-windows#mb-79n-casement">MB 79N CASEMENT</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/aluminium-windows#mb-86n">MB 86N</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/aluminium-windows#mb-86n-casement">MB 86N CASEMENT</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/facades">FAÇADES</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/facades#mb-45-mb-expo">INTERNAL WALLS</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="parent">
|
||||
<a href="/wooden-windows">Wooden windows</a>
|
||||
<ul class="lvl_3 static_height">
|
||||
<li>
|
||||
<a href="/wooden-windows#vd-68">VD 68</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/wooden-windows#vd-78">VD 78</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/wooden-windows#vd-92">VD 92</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="parent">
|
||||
<a href="/wooden-aluminium-windows">Wooden-aluminium windows</a>
|
||||
<ul class="lvl_3 static_height">
|
||||
<li>
|
||||
<a href="/wooden-aluminium-windows#vda-86">VDA 86</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/wooden-aluminium-windows#vda-96">VDA 96</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/wooden-aluminium-windows#vda-115-passiv">VDA 115 PASSIV</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="parent">
|
||||
<a href="/pvcu-windows">PVCU windows</a>
|
||||
<ul class="lvl_3 static_height">
|
||||
<li>
|
||||
<a href="/pvcu-windows#vp-70">VP 70</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/pvcu-windows#vp-76">VP 76</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/pvcu-windows#vp-80-platinum">VP 80 PLATINUM</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/pvcu-windows#vp-82">VP 82</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="parent">
|
||||
<a href="/pvcu-aluminium-windows">PVCU-aluminium windows</a>
|
||||
<ul class="lvl_3 static_height">
|
||||
<li>
|
||||
<a href="/pvcu-aluminium-windows#vpa-82">VPA 82</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/pvcu-aluminium-windows#vpa-94">VPA 94</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="parent">
|
||||
<a href="/doors" class="no-click">Doors</a>
|
||||
|
||||
<ul class="lvl_2 ">
|
||||
<li>
|
||||
<a href="/entrance-doors">Entrance doors</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/sliding-doors">Sliding doors</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<!-- <li>
|
||||
<a href="/shutters">Shutters</a>
|
||||
</li> -->
|
||||
|
||||
<li>
|
||||
<a href="/details">Details</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/b2b-partners">B2B PARTNER</a>
|
||||
</li>
|
||||
|
||||
<li class="header_big_btn">
|
||||
<a href="/contact">Enquiries</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="main-menu-btn">
|
||||
<i class="fa fa-bars"></i>
|
||||
</div>
|
||||
|
||||
<script class="footer" type="text/javascript">
|
||||
var user_agent = navigator.userAgent.toLowerCase();
|
||||
var click_event = user_agent.match(/(iphone|ipod|ipad)/) ? "touchend" : "click";
|
||||
|
||||
$(window).resize(function() {
|
||||
windowsize = $(window).width();
|
||||
});
|
||||
|
||||
$( 'body' ).on( click_event, '#main-menu-btn', function()
|
||||
{
|
||||
if ( windowsize <= 991 )
|
||||
{
|
||||
if ( $( this ).hasClass( 'active' ) )
|
||||
{
|
||||
$( this ).removeClass( 'active' );
|
||||
$( '#advance_menu' ).removeClass( 'visible' );
|
||||
$( '#main-menu-btn i' ).addClass( 'fa-bars' ).removeClass( 'fa-times' );
|
||||
}
|
||||
else
|
||||
{
|
||||
$( this ).addClass( 'active' );
|
||||
$( '#advance_menu' ).addClass( 'visible' );
|
||||
$( '#main-menu-btn i' ).removeClass( 'fa-bars' ).addClass( 'fa-times' );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if ( windowsize <= 991 )
|
||||
{
|
||||
$( 'body' ).on( click_event, '#advance_menu a', function(e)
|
||||
{
|
||||
if ( $( this ).parent().hasClass( 'parent' ) )
|
||||
e.preventDefault();
|
||||
|
||||
if ( !$( this ).parent().hasClass( 'active' ) )
|
||||
{
|
||||
$( this ).parent().addClass( 'active' );
|
||||
}
|
||||
else
|
||||
{
|
||||
$( this ).parent().removeClass( 'active' );
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
function customMenuLink(URL)
|
||||
{
|
||||
$(`#nav_tabs li a[href="${URL}"]`).trigger("click");
|
||||
console.log(URL)
|
||||
}
|
||||
|
||||
$( function()
|
||||
{
|
||||
let pathHash = $( location ).attr('hash');
|
||||
customMenuLink(pathHash)
|
||||
});
|
||||
|
||||
$('#advance_menu ul li a').on("click", function() {
|
||||
let thisUrl = $(this).attr('href').split('#');
|
||||
let thisUrlFormat = '#' + thisUrl[1]
|
||||
customMenuLink(thisUrlFormat)
|
||||
});
|
||||
}
|
||||
|
||||
$(window).scroll(function() {
|
||||
let scrollPosition = $(window).scrollTop()
|
||||
|
||||
if (scrollPosition > 0) {
|
||||
$('header').addClass('fixed')
|
||||
} else {
|
||||
$('header').removeClass('fixed')
|
||||
}
|
||||
})
|
||||
</script>
|
||||
133
templates_user/components/OurProjects.php
Normal file
133
templates_user/components/OurProjects.php
Normal file
@@ -0,0 +1,133 @@
|
||||
<div id="our-projects">
|
||||
<div class="our-projects-head">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h2>SEE OUR PROJECTS</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="our-projects-data">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="swiper slider-our-projects">
|
||||
<div class="swiper-wrapper">
|
||||
<!-- Slide 1 -->
|
||||
<div class="swiper-slide">
|
||||
<div class="slide-data">
|
||||
<h2>SKYRES</h2>
|
||||
<p>Warsaw street, Rzeszów, Poland.</p>
|
||||
<p>Supply and montage of joinery and façades for modern residential buildings and
|
||||
large office space in class A.</p>
|
||||
<p><strong>The value of the investment: 2 000 000€</strong></p>
|
||||
</div>
|
||||
<div class="slide-img">
|
||||
<img src="/upload/filemanager/Pages/About-us/slide-1.jpg" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Slide 2 -->
|
||||
<div class="swiper-slide">
|
||||
<div class="slide-data">
|
||||
<h2>Housing estate</h2>
|
||||
<p>Strażacka Street, Rzeszów, Poland.</p>
|
||||
<p>Delivery and assembly of windows and doors made of PVC and aluminum.</p>
|
||||
<p><strong>The value of the investment: 150 000€</strong></p>
|
||||
</div>
|
||||
<div class="slide-img">
|
||||
<img src="/upload/filemanager/Pages/About-us/slide-2.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Slide 3 -->
|
||||
<div class="swiper-slide">
|
||||
<div class="slide-data">
|
||||
<h2>Digital Campus</h2>
|
||||
<p>Anatole, 92000, Nanterre, France.</p>
|
||||
<p>Production and assembly of PVC windows.</p>
|
||||
<p><strong>The value of the investment: 152 583€</strong></p>
|
||||
</div>
|
||||
<div class="slide-img">
|
||||
<img src="/upload/filemanager/Pages/About-us/slide-3.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Slide 4 -->
|
||||
<div class="swiper-slide">
|
||||
<div class="slide-data">
|
||||
<h2>High school in the city of Grimma</h2>
|
||||
<p>Wiesenthaler Straße, 04668 Böhlen, Germany.</p>
|
||||
<p>Production and assembly of 155 PVC windows and 94 external venetian blinds.</p>
|
||||
<p><strong>The value of the investment: €204,045</strong></p>
|
||||
</div>
|
||||
<div class="slide-img">
|
||||
<img src="/upload/filemanager/Pages/About-us/slide-4.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Slide 5 -->
|
||||
<div class="swiper-slide">
|
||||
<div class="slide-data">
|
||||
<h2>Reference objects</h2>
|
||||
<p>Energy saving, comfort and<br/> safety improvement, reduction of<br/> maintenance costs - we attach great importance to high quality!</p>
|
||||
</div>
|
||||
<div class="slide-img">
|
||||
<img src="/upload/filemanager/Pages/About-us/slide-5.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Slide 6 -->
|
||||
<div class="swiper-slide">
|
||||
<div class="slide-data">
|
||||
<h2>Reference objects</h2>
|
||||
<p>Energy saving, comfort and<br/> safety improvement, reduction of<br/> maintenance costs - we attach great importance to high quality!</p>
|
||||
</div>
|
||||
<div class="slide-img">
|
||||
<img src="/upload/filemanager/Pages/About-us/slide-6.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Slide 7 -->
|
||||
<div class="swiper-slide">
|
||||
<div class="slide-data">
|
||||
<h2>Reference objects</h2>
|
||||
<p>Energy saving, comfort and<br/> safety improvement, reduction of<br/> maintenance costs - we attach great importance to high quality!</p>
|
||||
</div>
|
||||
<div class="slide-img">
|
||||
<img src="/upload/filemanager/Pages/About-us/slide-7.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Slide 8 -->
|
||||
<div class="swiper-slide">
|
||||
<div class="slide-data">
|
||||
<h2>Reference objects</h2>
|
||||
<p>Energy saving, comfort and<br/> safety improvement, reduction of<br/> maintenance costs - we attach great importance to high quality!</p>
|
||||
</div>
|
||||
<div class="slide-img">
|
||||
<img src="/upload/filemanager/Pages/About-us/slide-8.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slider-navidation">
|
||||
<div class="swiper-button swiper-button-next"></div>
|
||||
<div class="swiper-button swiper-button-prev"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script class="footer">
|
||||
var swiper = new Swiper("#our-projects .slider-our-projects", {
|
||||
navigation: {
|
||||
nextEl: "#our-projects .slider-navidation .swiper-button-next",
|
||||
prevEl: "#our-projects .slider-navidation .swiper-button-prev",
|
||||
},
|
||||
});
|
||||
</script>
|
||||
66
templates_user/components/detect-language.php
Normal file
66
templates_user/components/detect-language.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
// Language codes:
|
||||
// en-US : English American
|
||||
// en-GB : English British
|
||||
// de : German
|
||||
// fr : French
|
||||
// it : Italian
|
||||
// sk : Slovak
|
||||
// pl : Polish
|
||||
|
||||
function detectLanguage() {
|
||||
$acceptLanguage = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
|
||||
$languages = explode(',', $acceptLanguage);
|
||||
$firstLanguage = $languages[0];
|
||||
return trim($firstLanguage);
|
||||
}
|
||||
|
||||
$browserLanguage = detectLanguage();
|
||||
|
||||
$isAdmin = (\S::get_session('user')['admin'] == 1) ? true : false;
|
||||
// echo $browserLanguage;
|
||||
if($browserLanguage !== 'pl' && $browserLanguage !== 'pl-PL'){
|
||||
if(!$isAdmin){
|
||||
switch ($browserLanguage) {
|
||||
case 'en-US':
|
||||
header('Location: https://eng.vidok.com/'); exit;
|
||||
break;
|
||||
case 'en-GB':
|
||||
// header('Location: https://gb.vidok.com/'); exit;
|
||||
break;
|
||||
case 'de':
|
||||
header('Location: https://de.vidok.com/'); exit;
|
||||
break;
|
||||
case 'de-DE':
|
||||
header('Location: https://de.vidok.com/'); exit;
|
||||
break;
|
||||
case 'fr':
|
||||
header('Location: https://fr.vidok.com/'); exit;
|
||||
break;
|
||||
case 'fr-FR':
|
||||
header('Location: https://fr.vidok.com/'); exit;
|
||||
break;
|
||||
case 'it':
|
||||
header('Location: https://it.vidok.com/'); exit;
|
||||
break;
|
||||
case 'it-IT':
|
||||
header('Location: https://it.vidok.com/'); exit;
|
||||
break;
|
||||
case 'sk':
|
||||
header('Location: https://sk.vidok.com/'); exit;
|
||||
break;
|
||||
case 'sk-SK':
|
||||
header('Location: https://sk.vidok.com/'); exit;
|
||||
break;
|
||||
case 'pl':
|
||||
header('Location: https://vidok.com/'); exit;
|
||||
break;
|
||||
case 'pl-PL':
|
||||
header('Location: https://vidok.com/'); exit;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
};
|
||||
};
|
||||
?>
|
||||
109
templates_user/custom-pages/black-week.php
Normal file
109
templates_user/custom-pages/black-week.php
Normal file
@@ -0,0 +1,109 @@
|
||||
<link rel="stylesheet" href="/wp-content/themes/bridge-child/styles/black-week.css">
|
||||
|
||||
<div id="page-black-week">
|
||||
<div class="content">
|
||||
<div class="c-container">
|
||||
|
||||
<div class="box-1">
|
||||
<div class="c-row">
|
||||
<img alt="" src="/upload/filemanager/Pages/black-week/Black-week_podstrona_ENG.jpg" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-2">
|
||||
<div class="c-row">
|
||||
<h2><strong>BLACK WEEK 2024 -</strong> Additional discounts on VIDOK windows and doors</h2>
|
||||
<p>Promotion period: from November 15 to November 30, 2024 Promotion organizer: VIDOK Windows and Doors</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-3">
|
||||
<div class="c-row c-row-1">
|
||||
<div class="c-col c-col-1">
|
||||
<h2>As part of our Black Week promotion, we are offering additional discounts on the following products:</h2>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
VP-70 system and finger joint pine wood products<br/>
|
||||
8% additional discount
|
||||
</li>
|
||||
<li>
|
||||
Meranti wood products<br/>
|
||||
3% additional discount
|
||||
</li>
|
||||
<li>
|
||||
Deceunick Products<br/>
|
||||
5% additional discount
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<a href="/contact">CONTACT US</a>
|
||||
</div>
|
||||
<div class="c-col c-col-2">
|
||||
<div class="sales-box">
|
||||
<span>-8%</span>
|
||||
<span>-5%</span>
|
||||
<span>-3%</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="c-row c-row-2">
|
||||
<div class="c-col">
|
||||
<p>NOTE: An additional discount means that the discount from the Black Week 2024 promotion is calculated in addition to other applicable discounts on the given products, in accordance with the conditions presented by VIDOK advisors. Shipping costs calculated separately.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-4">
|
||||
<div class="c-row">
|
||||
<div class="c-col">
|
||||
<h2>Promotion Terms</h2>
|
||||
|
||||
<ul>
|
||||
<li>The promotion is valid only for the products listed above.</li>
|
||||
<li>Discounts are granted for products purchased and ordered during the promotion period: from November 15 to November 30, 2024.</li>
|
||||
<li>The promotion applies to orders placed in our showrooms and by e-mail to a VIDOK advisors.</li>
|
||||
<li>Additional discounts are calculated from the price after taking into account other discounts or rebates applicable in VIDOK.</li>
|
||||
<li>The promotion cannot be combined with other promotions.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="c-row">
|
||||
<div class="c-col">
|
||||
<h2>How to take advantage of the promotion?</h2>
|
||||
|
||||
<ul>
|
||||
<li>Choose a product from our offer that is covered by the Black Week promotion: VP70, VP80 windows, HS Platinum Optima sliding doors, finger joint pine or meranti wooden window and door products.</li>
|
||||
<li>Contact our VIDOK advisor.</li>
|
||||
<li>Set discounts applicable to a given product, and then take advantage of the additional Black Week additional discount.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="c-row">
|
||||
<div class="col">
|
||||
<h2><strong>FAQ - Frequently Asked Questions</strong></h2>
|
||||
|
||||
<ul>
|
||||
<li>Can the Black Week promotion be combined with other discounts?<br/> Yes, the discount offered is an additional discount, calculated after taking into account the applicable discounts on products.</li>
|
||||
<li>Is the promotion valid for all VIDOK products?<br/> No, the promotion applies only to products listed in the Black Week 2024 offer: PVC systems VP-70, VP 80, HS Platinum Optima and finger joint pine wood products as well as meranti wood products.</li>
|
||||
<li>How long does the promotion last?<br/> The promotion is valid from November 15 to November 30, 2024.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="c-row">
|
||||
<div class="col">
|
||||
<h2>Additional legal information</h2>
|
||||
|
||||
<ul>
|
||||
<li>The organizer reserves the right to change the terms of the promotion for important reasons, which will be announced on the website.</li>
|
||||
<li>For any information regarding the promotion, please contact our customer service team.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user