first commit
This commit is contained in:
223
templates_user/articles/article-full.php
Normal file
223
templates_user/articles/article-full.php
Normal file
@@ -0,0 +1,223 @@
|
||||
<? global $lang, $lang_id;?>
|
||||
<div class="article article-<?= $this -> article['id'];?>">
|
||||
|
||||
<? if ( $main_img = $this -> article['language']['main_image'] ): ?>
|
||||
<div class="page_hero">
|
||||
<div class="page_hero_left">
|
||||
<div class="page_hero_left_wrapper">
|
||||
<?=$this -> article['language']['entry']; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page_hero_right">
|
||||
<img src="<?= $main_img;?>" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<? endif;
|
||||
|
||||
$this -> article['language']['seo_link'] ? $url = $this -> article['language']['seo_link'] : $url = 'a-' . $this -> article['id'] . '-' . \S::seo( $this -> article['language']['title'] );
|
||||
|
||||
if ( $this -> article['show_title'] )
|
||||
echo '<h3 class="article-title">' . $this -> article['language']['title'] . '</h3>';
|
||||
|
||||
if ( $this -> article['social_icons'] ):
|
||||
?>
|
||||
<div class="social-icons">
|
||||
<a class="fb" href="http://www.facebook.com/sharer.php?u=<?= \S::get_domain_url( $_SERVER['SERVER_NAME'] );?>/<?= $url;?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" title="facebook" target="_blank" rel="nofollow">
|
||||
<img src="/images/system/logo-facebook.jpg" alt="facebook" />
|
||||
</a>
|
||||
<a class="pinterest" href="http://pinterest.com/pin/create/button/?url=<?= \S::get_domain_url( $_SERVER['SERVER_NAME'] );?>/<?= $url;?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" title="pinterest" target="_blank" rel="nofollow">
|
||||
<img src="/images/system/logo-pinterest.jpg" alt="pinterest" />
|
||||
</a>
|
||||
<a class="twitter" href="http://twitter.com/share?url=<?= \S::get_domain_url( $_SERVER['SERVER_NAME'] );?>/<?= $url;?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=450,width=600');return false;" title="twitter" target="_blank" rel="nofollow">
|
||||
<img src="/images/system/logo-twitter.jpg" alt="twitter" />
|
||||
</a>
|
||||
<a class="linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=<?= \S::get_domain_url( $_SERVER['SERVER_NAME'] );?>/<?= $url;?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=500,width=850');return false;" title="linked in" target="_blank" rel="nofollow">
|
||||
<img src="/images/system/logo-linkedin.jpg" alt="linkedin" />
|
||||
</a>
|
||||
<a class="gp" href="https://plus.google.com/share?url=<?= \S::get_domain_url( $_SERVER['SERVER_NAME'] );?>/<?= $url;?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;" title="google+" target="_blank" rel="nofollow">
|
||||
<img src="/images/system/logo-google.jpg" alt="google+" />
|
||||
</a>
|
||||
</div>
|
||||
<?
|
||||
endif;
|
||||
|
||||
if ( $this -> article['show_date_add'] )
|
||||
echo '<div class="date-add">' . $lang['data-dodania'] . ': ' . $this -> article['date_add'] . '</div>';
|
||||
|
||||
if ( $this -> article['show_date_modify'] )
|
||||
echo '<div class="date-add">' . $lang['data-modyfikacji'] . ': ' . $this -> article['date_modify'] . '</div>';
|
||||
|
||||
if ( is_array( $this -> article['tags'] ) and !empty( $this -> article['tags'] ) ):
|
||||
echo '<div class="article-tags">';
|
||||
echo '<ul>';
|
||||
foreach ( $this -> article['tags'] as $tag ):
|
||||
echo '<li>';
|
||||
echo '<a href="/tag,' . \S::seo( $tag ) . '">'. $tag . '</a>';
|
||||
echo '</li>';
|
||||
endforeach;
|
||||
echo '</ul>';
|
||||
echo '</div>';
|
||||
endif;
|
||||
?>
|
||||
<? if ( $this -> article['language']['table_of_contents'] ):?>
|
||||
<div class="table-of-contents">
|
||||
<div class="title">
|
||||
<?= \S::lang( 'spis-tresci' );?>
|
||||
</div>
|
||||
<?= $this -> article['language']['table_of_contents'];?>
|
||||
</div>
|
||||
<? endif;?>
|
||||
<? if ( $this -> article['repeat_entry'] ):?>
|
||||
<div class="entry">
|
||||
<?= $this -> article['language']['entry'];?>
|
||||
</div>
|
||||
<? endif;?>
|
||||
<div class="container gap_big_top">
|
||||
<div class="text">
|
||||
<?
|
||||
$text = $this -> article['language']['text'];
|
||||
|
||||
/* artykuł wewnątrz innego artykułu */
|
||||
preg_match_all( '/ARTYKUL:[0-9]*/', $this -> article['language']['text'], $articles_list );
|
||||
if ( is_array( $articles_list[0] ) ) foreach( $articles_list[0] as $article_tmp )
|
||||
{
|
||||
$article_tmp = explode( ':', $article_tmp );
|
||||
if ( $article_tmp[1] != $this -> article['id'] )
|
||||
$text = str_replace( '[ARTYKUL:' . $article_tmp[1] . ']', \front\view\Articles::article_full( $article_tmp[1], $lang_id ), $text );
|
||||
else
|
||||
$text = str_replace( '[ARTYKUL:' . $article_tmp[1] . ']', '', $text );
|
||||
}
|
||||
|
||||
/* galeria w innym miejscu niż na końcu */
|
||||
if ( strpos( $this -> article['language']['text'], '[GALERIA]' ) !== false )
|
||||
{
|
||||
if ( is_array( $this -> article['images'] ) ):
|
||||
$tpl = new \Tpl;
|
||||
$tpl -> article = $this -> article;
|
||||
$tpl -> images = $this -> article['images'];
|
||||
$gallery = $tpl -> render( 'articles/article-gallery' );
|
||||
endif;
|
||||
$text = preg_replace('/(<p(.*)>\[GALERIA\]<\/p>|<div(.*)>\[GALERIA\]<\/div>)/', $gallery, $text );
|
||||
}
|
||||
|
||||
/* załączniki w innym miejscu niż na końcu */
|
||||
if ( strpos( $this -> article['language']['text'], '[ZALACZNIKI]' ) !== false )
|
||||
{
|
||||
if ( is_array( $this -> article['files'] ) ):
|
||||
$tpl = new \Tpl;
|
||||
$tpl -> article = $this -> article;
|
||||
$tpl -> files = $this -> article['files'];
|
||||
$files = $tpl -> render( 'articles/article-files' );
|
||||
endif;
|
||||
$text = preg_replace('/(<p(.*)>\[ZALACZNIKI\]<\/p>|<div(.*)>\[ZALACZNIKI\]<\/div>)/', $files, $text );
|
||||
}
|
||||
|
||||
/* slider */
|
||||
if ( strpos( $text, '[SLIDER]' ) !== false )
|
||||
{
|
||||
while ( strpos( $text, '[SLIDER]' ) !== false )
|
||||
{
|
||||
$text_tmp = explode( '[SLIDER]', $text );
|
||||
$before = $text_tmp[0];
|
||||
for ( $i = 1; $i < count( $text_tmp ); $i++ )
|
||||
{
|
||||
$temp = explode( '[/SLIDER]' , $text_tmp[$i] );
|
||||
$code = $temp[0];
|
||||
|
||||
ob_start();
|
||||
|
||||
$images_tmp = explode( '|', $code );
|
||||
if ( is_array( $images_tmp ) and !empty( $images_tmp ) ) foreach ( $images_tmp as $image_tmp )
|
||||
{
|
||||
$image = explode( ';', $image_tmp );
|
||||
$images[] = $image;
|
||||
}
|
||||
|
||||
$tpl = new \Tpl;
|
||||
$tpl -> images = $images;
|
||||
$tpl -> article_id = $this -> article['id'];
|
||||
$tpl -> i = $i;
|
||||
echo $tpl -> render( 'articles/slider' );
|
||||
|
||||
$out .= ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
$out .= $temp[1];
|
||||
}
|
||||
$text = $before . $out;
|
||||
}
|
||||
}
|
||||
|
||||
$dom = new DomDocument('1.0', 'UTF-8');
|
||||
$dom -> loadHTML( '<?xml version="1.0" encoding="UTF-8"?>' . "\n" . $text );
|
||||
$elements = $dom -> getElementsByTagName( 'img' );
|
||||
foreach ( $elements as $element )
|
||||
{
|
||||
if ( strpos( $element -> getAttribute( 'class' ), 'zoom' ) !== false )
|
||||
{
|
||||
$element_tmp = $dom -> createElement( 'a', '' );
|
||||
$element_tmp -> setAttribute( 'href', $element -> getAttribute( 'src' ) );
|
||||
$element_tmp -> setAttribute( 'rel', 'article-' . $this -> article['id'] );
|
||||
$element_tmp -> setAttribute( 'class', 'fancybox' );
|
||||
|
||||
$element_tmp_2 = $element -> cloneNode( false );
|
||||
|
||||
$element_tmp -> appendChild( $element_tmp_2 );
|
||||
|
||||
$element -> parentNode -> replaceChild( $element_tmp, $element );
|
||||
}
|
||||
}
|
||||
|
||||
echo $dom -> saveHTML();
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?
|
||||
if ( is_array( $this -> article['images'] ) and strpos( $this -> article['language']['text'], '[GALERIA]' ) === false ):
|
||||
$tpl = new \Tpl;
|
||||
$tpl -> article = $this -> article;
|
||||
$tpl -> images = $this -> article['images'];
|
||||
echo $tpl -> render( 'articles/article-gallery' );
|
||||
endif;
|
||||
|
||||
if ( is_array( $this -> article['files'] ) and strpos( $this -> article['language']['text'], '[ZALACZNIKI]' ) === false ):
|
||||
$tpl = new \Tpl;
|
||||
$tpl -> article = $this -> article;
|
||||
$tpl -> files = $this -> article['files'];
|
||||
echo $tpl -> render( 'articles/article-files' );
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
<link class="footer" href="/libraries/fancyBox/jquery.fancybox.css" rel="stylesheet" type="text/css">
|
||||
<link class="footer" href="/libraries/fancyBox/helpers/jquery.fancybox-buttons.css" rel="stylesheet" type="text/css">
|
||||
<script class="footer" type="text/javascript" src="/libraries/fancyBox/jquery.fancybox.js"></script>
|
||||
<script class="footer" type="text/javascript" src="/libraries/fancyBox/helpers/jquery.fancybox-buttons.js"></script>
|
||||
<script class="footer" type="text/javascript">
|
||||
$( document ).ready(function()
|
||||
{
|
||||
$( ".gallery a.image" ).fancybox({
|
||||
closeBtn : false,
|
||||
helpers : {
|
||||
buttons : {}
|
||||
}
|
||||
});
|
||||
|
||||
<? if ( $this -> article['language']['table_of_contents'] ):?>
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
const observer = new IntersectionObserver(entries => {
|
||||
entries.forEach(entry => {
|
||||
const id = entry.target.getAttribute('id');
|
||||
if ( entry.intersectionRatio > 0) {
|
||||
document.querySelector('.article-<?= $this -> article['id'];?> .table-of-contents li a[href$="#' + id + '"]').parentElement.classList.add('active');
|
||||
} else {
|
||||
document.querySelector('.article-<?= $this -> article['id'];?> .table-of-contents li a[href$="#' + id + '"]').parentElement.classList.remove('active');
|
||||
}
|
||||
});
|
||||
});
|
||||
document.querySelectorAll( '.article-<?= $this -> article['id'];?> .text div[id]' ).forEach((div) => {
|
||||
observer.observe(div);
|
||||
});
|
||||
});
|
||||
<? endif;?>
|
||||
});
|
||||
</script>
|
||||
119
templates_user/black-week.php
Normal file
119
templates_user/black-week.php
Normal file
@@ -0,0 +1,119 @@
|
||||
<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/DE_podstrona.jpg" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-2">
|
||||
<div class="c-row">
|
||||
<h2><strong>BLACK WEEK 2024 -</strong> Nutzen Sie die zusätzlichen Rabatte auf Fenster und Türen aus Kunststoff und Holz</h2>
|
||||
<p>Aktion vom 15.11. bis zum 30.11.2024 von VIDOK Fenster und Türen</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-3">
|
||||
<div class="c-row c-row-1">
|
||||
<div class="c-col c-col-1">
|
||||
<h2>Auf Kunststofffenster und Türen</h2>
|
||||
|
||||
<ul>
|
||||
<li>8% gestaffelte Zusatzrabatte</li>
|
||||
<li>5% gestaffelte Zusatzrabatte</li>
|
||||
</ul>
|
||||
<a href="/kontakt">Fragen Sie Ihren Händler!</a>
|
||||
</div>
|
||||
|
||||
<div class="c-col c-col-2">
|
||||
<div class="sale-box"><span>-8%</span> <span>-5%</span></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="c-row c-row-2">
|
||||
<div class="c-col c-col-1">
|
||||
<h2>Auf Fenster und Türen aus Holz(alu)</h2>
|
||||
|
||||
<ul>
|
||||
<li>Kiefer keilgezinkt</li>
|
||||
<li>Meranti</li>
|
||||
</ul>
|
||||
<a href="/kontakt">Fragen Sie Ihren Händler!</a>
|
||||
</div>
|
||||
|
||||
<div class="c-col c-col-2">
|
||||
<div class="sale-box"><span>-8%</span> <span>-3%</span></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="c-row">
|
||||
<div class="c-col">
|
||||
<p>Die gestaffelten Rabatte werden zusätzlich zum Sonderangebot Black Week 2024 auf ausgewählte Produkte gerechnet, gemäß dem Angebot von Ihrem Händler. Transportkosten sind extern zu berechnen.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box-4">
|
||||
<div class="c-row">
|
||||
<div class="c-col">
|
||||
<h2>Aktionsbedingungen</h2>
|
||||
|
||||
<ul>
|
||||
<li>Aktion gilt nur für die oben genannten Produkte</li>
|
||||
<li>Rabatte werden auf Produkte gewährt, die vom 15. bis 30. November 2024 bestellt werden</li>
|
||||
<li>Gestaffelte Zusatzrabatte werden unter Berücksichtigung anderer Rabatte berechnet</li>
|
||||
<li>Die Aktion ist nicht mit anderen Aktionen kombinierbar</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="c-row">
|
||||
<div class="c-col">
|
||||
<h2>Wie kann man von der Aktion profitieren?</h2>
|
||||
|
||||
<ul>
|
||||
<li>Aktion gilt nur für die oben genannten Produkte</li>
|
||||
<li>Rabatte werden auf Produkte gewährt, die vom 15. bis 30. November 2024 bestellt werden</li>
|
||||
<li>Gestaffelte Zusatzrabatte werden unter Berücksichtigung anderer Rabatte berechnet</li>
|
||||
<li>Die Aktion ist nicht mit anderen Aktionen kombinierbar</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="c-row">
|
||||
<div class="col">
|
||||
<h2><strong>FAQ - Häufig gestellte Fragen</strong></h2>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
Kann die Black Week-Aktion mit anderen Rabatten kombiniert werden?<br/>
|
||||
Ja, der angebotene Rabatt ist ein zusätzlicher (gestaffelter) Rabatt, der unter Berücksichtigung der geltenden Produktrabatte berechnet wird.
|
||||
</li>
|
||||
<li>
|
||||
Gilt die Aktion für alle VIDOK-Produkte?<br/>
|
||||
Nein, die Aktion gilt nur für Produkte, die im Angebot Black Week 2024 stehen: Kunststoff VEKA-Systeme, VP 80, HS Platinum Optima, Holz Kiefer keilgezinkt und Meranti
|
||||
</li>
|
||||
<li>
|
||||
Wie lange dauert die Aktion?<br/>
|
||||
Die Aktion ist vom 15. bis 30. November 2024 gültig.
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="c-row">
|
||||
<div class="col">
|
||||
<h2>Weitere Informationen</h2>
|
||||
|
||||
<ul>
|
||||
<li>Der Veranstalter behält sich das Recht vor, die Aktionsbedingungen aus wichtigen Gründen zu ändern, die auf der Website bekannt gegeben werden. </li>
|
||||
<li>Für weitere Informationen wenden Sie sich bitte an Ihren Händler</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
15
templates_user/box-katalog-download.php
Normal file
15
templates_user/box-katalog-download.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="box-katalog-download box">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="box-katalog-download-wrapper">
|
||||
<h2><strong>VIDOK</strong> - sichtbar mehr</h2>
|
||||
<img src="/upload/filemanager/katalog/box-katalog-download-img.png">
|
||||
<a href="/upload/filemanager/katalog/Katalog-glowny-vidok-DE_s.pdf" target="_blank">
|
||||
zum produktkatalog
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
168
templates_user/box-realizations.php
Normal file
168
templates_user/box-realizations.php
Normal file
@@ -0,0 +1,168 @@
|
||||
<div class="box-realizations">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xl-3">
|
||||
<?= \front\view\Scontainers::scontainer(23);?>
|
||||
</div>
|
||||
<div class="col-xl-9">
|
||||
|
||||
<div class="swiper realization-slider">
|
||||
<div class="swiper-wrapper">
|
||||
<div class="swiper-slide">
|
||||
<div class="realization">
|
||||
<div class="image">
|
||||
<img src="/upload/filemanager/realizations/realization-01.png" alt="">
|
||||
</div>
|
||||
<div class="caption">
|
||||
<div class="text">
|
||||
<h3 class="title">
|
||||
skyres
|
||||
</h3>
|
||||
<p>Warszawska Straße, Rzeszów, Polen.<br /> Lieferung und Montage von Fenstern, Türen und Fassaden in einem Neubau und einem großen Bürogebäude.<br /> <strong>Wert der lnvestition: 2 000 000€</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="swiper-slide">
|
||||
<div class="realization">
|
||||
<div class="image">
|
||||
<img src="/upload/filemanager/realizations/realization-02.png" alt="">
|
||||
</div>
|
||||
<div class="caption">
|
||||
<div class="text">
|
||||
<h3 class="title">
|
||||
Wohnsiedlung
|
||||
</h3>
|
||||
<p>Strażacka Straße, Rzeszów, Polen.<br /> Lieferung und Montage von Fenster und Türen aus PVC und Aluminium.<br /> <strong>Wert der lnvestition: 150 000€</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="swiper-slide">
|
||||
<div class="realization">
|
||||
<div class="image">
|
||||
<img src="/upload/filemanager/realizations/realization-03.png" alt="">
|
||||
</div>
|
||||
<div class="caption">
|
||||
<div class="text">
|
||||
<h3 class="title">
|
||||
Campus Numérique
|
||||
</h3>
|
||||
<p>Anatole, 92000, Nanterre, Frankreich.<br /> Produktion und Montage von PVC Fenstern.<br /> <strong>Wert der lnvestition: 152 583€</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="swiper-slide">
|
||||
<div class="realization">
|
||||
<div class="image">
|
||||
<img src="/upload/filemanager/realizations/realization-04.png" alt="">
|
||||
</div>
|
||||
<div class="caption">
|
||||
<div class="text">
|
||||
<h3 class="title">
|
||||
Oberschule der Stadt Grimma
|
||||
</h3>
|
||||
<p>Wiesenthaler Straße, 04668 Böhlen, Deutschland.<br/> Produktion und Montage von 155 Stück PVC Fenstern 94 Stück Raffstoren.<br /> <strong>Wert der lnvestition: 204 045€</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- -->
|
||||
<!-- -->
|
||||
<!-- -->
|
||||
<div class="swiper-slide">
|
||||
<div class="realization">
|
||||
<div class="image">
|
||||
<img src="/upload/filemanager/realizations/realization-05.png" alt="">
|
||||
</div>
|
||||
<div class="caption">
|
||||
<div class="text">
|
||||
<h3 class="title">
|
||||
referenzobjekte
|
||||
</h3>
|
||||
<p>Energieeinsparung, Komfort- und<br/> Sicherheitsverbesserung, Reduzierung der<br/> Erhaltungskosten - wir legen großen Wert auf hohe<br/> Qualität! </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="swiper-slide">
|
||||
<div class="realization">
|
||||
<div class="image">
|
||||
<img src="/upload/filemanager/realizations/realization-06.png" alt="">
|
||||
</div>
|
||||
<div class="caption">
|
||||
<div class="text">
|
||||
<h3 class="title">
|
||||
referenzobjekte
|
||||
</h3>
|
||||
<p>Energieeinsparung, Komfort- und<br/> Sicherheitsverbesserung, Reduzierung der<br/> Erhaltungskosten - wir legen großen Wert auf hohe<br/> Qualität! </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="swiper-slide">
|
||||
<div class="realization">
|
||||
<div class="image">
|
||||
<img src="/upload/filemanager/realizations/realization-07.png" alt="">
|
||||
</div>
|
||||
<div class="caption">
|
||||
<div class="text">
|
||||
<h3 class="title">
|
||||
referenzobjekte
|
||||
</h3>
|
||||
<p>Energieeinsparung, Komfort- und<br/> Sicherheitsverbesserung, Reduzierung der<br/> Erhaltungskosten - wir legen großen Wert auf hohe<br/> Qualität! </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="swiper-slide">
|
||||
<div class="realization">
|
||||
<div class="image">
|
||||
<img src="/upload/filemanager/realizations/realization-08.png" alt="">
|
||||
</div>
|
||||
<div class="caption">
|
||||
<div class="text">
|
||||
<h3 class="title">
|
||||
referenzobjekte
|
||||
</h3>
|
||||
<p>Energieeinsparung, Komfort- und<br/> Sicherheitsverbesserung, Reduzierung der<br/> Erhaltungskosten - wir legen großen Wert auf hohe<br/> Qualität! </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script class="footer">
|
||||
|
||||
var swiper = new Swiper(".realization-slider", {
|
||||
slidesPerView: 1,
|
||||
autoplay: {
|
||||
delay: 3000,
|
||||
},
|
||||
grid: {
|
||||
rows: 2,
|
||||
},
|
||||
spaceBetween: 10,
|
||||
breakpoints: {
|
||||
768: {
|
||||
slidesPerView: 2,
|
||||
},
|
||||
}
|
||||
});
|
||||
</script>
|
||||
217
templates_user/components/ContactForm.php
Normal file
217
templates_user/components/ContactForm.php
Normal file
@@ -0,0 +1,217 @@
|
||||
<? \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;?>
|
||||
<h2>Kontakt Formular</h2>
|
||||
<ul class="contact-social">
|
||||
<li>
|
||||
<a href="https://www.linkedin.com/company/vidok-fenster-und-turen/?viewAsMember=true" target="_blank">
|
||||
<img src="/upload/filemanager/Icons/facebook_black.svg" alt="linkedin">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.facebook.com/vidok.fenster.turen/" target="_blank">
|
||||
<img src="/upload/filemanager/Icons/linkedin_black.svg" alt="facebook">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.youtube.com/@vidokfensterundturen4925" target="_blank">
|
||||
<img src="/upload/filemanager/Icons/youtube_black.svg" alt="youtube">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</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' );?>">
|
||||
|
||||
<div class="_row-1">
|
||||
<div class="_col-1">
|
||||
<div class="form_group">
|
||||
<!-- <label for="form_names">Art der Zusammenarbeit</label> -->
|
||||
<input type="text" name="type_cooperation" id="type_cooperation" placeholder="Art der Zusammenarbeit" required>
|
||||
</div>
|
||||
<div class="form_group">
|
||||
<!-- <label for="form_names">Firmennamen / Unternehmen</label> -->
|
||||
<input type="text" name="company_name" id="company_name" placeholder="Geben Sie den Namen Ihres Unternehmens ein. /Geben Sie uns Details zu Ihrem Unternehmen mit" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="_col-2">
|
||||
<div class="form_group">
|
||||
<!-- <label for="form_phone">Telefon</label> -->
|
||||
<input type="text" name="phone" id="form_phone" placeholder="Geben Sie die Nummer im Format 000 000 000 ..." required>
|
||||
</div>
|
||||
|
||||
<div class="form_group">
|
||||
<!-- <label for="form_email">E-Mail</label> -->
|
||||
<input type="email" name="email" id="form_email" placeholder="Ihre E-Mail-Adresse" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form_group" style="margin-top: 17px;">
|
||||
<!-- <label for="form_names">Ihre Nachricht</label> -->
|
||||
<textarea name="your_message" id="form_message" placeholder="Stellen Sie uns hier die Frage, die Sie beschäftigt ..." required></textarea>
|
||||
</div>
|
||||
<div class="_row-2 agreement">
|
||||
<div class="agreement-container">
|
||||
<div class="form_group_2">
|
||||
<input type="checkbox" name="form_check" id="form_check" class="checkbox" required>
|
||||
<label for="form_check">Ich stimme zu, dass Fa. Vidok, die von mir oben angegebenen personenbezogenen Daten verarbeitet, um mich über das entsprechende Angebot zu informieren.</label>
|
||||
</div>
|
||||
<!-- <div class="form_group_2">
|
||||
<input type="checkbox" name="form_check2" id="form_check2" class="checkbox" required>
|
||||
<label for="form_check">Ich stimme zu, dass Fa. Vidok, die von mir oben angegebenen personenbezogenen Daten verarbeitet, um mich über Werbung per E-Mail zu informieren.</label>
|
||||
</div> -->
|
||||
</div>
|
||||
<button type="submit" class="btn1">Senden</button>
|
||||
</div>
|
||||
<div class="g-recaptcha" data-sitekey="6LfaovglAAAAAAieLVC7i4xGkQA5ufXUbWLipSbp"></div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script class="footer">
|
||||
$(function() {
|
||||
$('body').on(click_event, '#contact_form .btn-2', function() {
|
||||
var form_names = $.trim($('#contact_form #form_names').val());
|
||||
var form_email = $.trim($('#contact_form #form_email').val());
|
||||
var form_phone = $.trim($('#contact_form #form_phone').val());
|
||||
var form_service = $.trim($('#contact_form #form_service').val());
|
||||
var form_budget = $.trim($('#contact_form #form_budget').val());
|
||||
var form_topic = $.trim($('#contact_form #form_topic').val());
|
||||
var form_message = $.trim($('#contact_form #form_message').val());
|
||||
|
||||
var form_messaform_checkge = $.trim($('#contact_form #form_check').val());
|
||||
|
||||
if (form_email === '' || form_phone === '' || form_message === '') {
|
||||
$.alert({
|
||||
title: '<?= ucfirst( $lang['blad'] );?>',
|
||||
content: 'Proszę uzupełnić wymagane dane: email, numer telefonu i treść wiadomości.',
|
||||
type: 'orange',
|
||||
closeIcon: true,
|
||||
closeIconClass: 'fa fa-close',
|
||||
typeAnimated: true,
|
||||
animation: 'opacity',
|
||||
autoClose: 'confirm|10000',
|
||||
boxWidth: '650px',
|
||||
useBootstrap: false,
|
||||
theme: 'modern',
|
||||
buttons: {
|
||||
confirm: {
|
||||
text: '<?= $lang['zamknij'];?>',
|
||||
btnClass: 'btn-blue',
|
||||
keys: ['enter'],
|
||||
action: function() {}
|
||||
}
|
||||
}
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!$('.contact_box #form_check').is(':checked')) {
|
||||
$.alert({
|
||||
title: '<?= ucfirst( $lang['blad'] );?>',
|
||||
content: '<?= $lang['prosze-zaznaczyc-zgode'];?>',
|
||||
type: 'orange',
|
||||
closeIcon: true,
|
||||
closeIconClass: 'fa fa-close',
|
||||
typeAnimated: true,
|
||||
animation: 'opacity',
|
||||
autoClose: 'confirm|10000',
|
||||
boxWidth: '650px',
|
||||
useBootstrap: false,
|
||||
theme: 'modern',
|
||||
buttons: {
|
||||
confirm: {
|
||||
text: '<?= $lang['zamknij'];?>',
|
||||
btnClass: 'btn-blue',
|
||||
keys: ['enter'],
|
||||
action: function() {}
|
||||
}
|
||||
}
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
cache: false,
|
||||
url: '/',
|
||||
data: {
|
||||
a: 'send_contact_form',
|
||||
form_names: form_names,
|
||||
form_email: form_email,
|
||||
form_phone: form_phone,
|
||||
form_service: form_service,
|
||||
form_budget: form_budget,
|
||||
form_topic: form_topic,
|
||||
form_message: form_message
|
||||
},
|
||||
beforeSend: function() {
|
||||
alert1 = $.alert({
|
||||
title: '<?= ucfirst( $lang['informacja'] );?>',
|
||||
content: '<?= $lang['prosze-czekac'];?>',
|
||||
type: 'blue',
|
||||
closeIcon: true,
|
||||
closeIconClass: 'fa fa-close',
|
||||
typeAnimated: true,
|
||||
animation: 'opacity',
|
||||
autoClose: 'confirm|60000',
|
||||
boxWidth: '650px',
|
||||
useBootstrap: false,
|
||||
theme: 'modern',
|
||||
buttons: {
|
||||
confirm: {
|
||||
text: '<?= $lang['zamknij'];?>',
|
||||
btnClass: 'btn-blue',
|
||||
keys: ['enter'],
|
||||
action: function() {}
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
success: function(data) {
|
||||
response = jQuery.parseJSON(data);
|
||||
|
||||
if (response.status === 'ok')
|
||||
var msg = '<?= $lang['wiadomosc-zostala-wyslana'];?>';
|
||||
else
|
||||
var msg = '<?= $lang['wiadomosc-niezostala-wyslana'];?>';
|
||||
|
||||
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: '<?= $lang['zamknij'];?>',
|
||||
btnClass: 'btn-blue',
|
||||
keys: ['enter'],
|
||||
action: function() {}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
28
templates_user/components/ContactFormFooter.php
Normal file
28
templates_user/components/ContactFormFooter.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<div id="contact_box">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-5 left_col">
|
||||
<p class="body_txt">
|
||||
Sind Sie bereits VIDOK Händler?<br />
|
||||
Haben Sie Interesse an einer<br />
|
||||
Zusammenarbeit mit VIDOK?<br />
|
||||
Einfach anrufen/eine E-Mail schreiben
|
||||
</p>
|
||||
<div class="contact-data">
|
||||
<a href="mailto:anfrage@vidok.com">
|
||||
<img src="/upload/filemanager/Icons/mail_black.svg" alt="" />
|
||||
anfrage@vidok.com
|
||||
</a>
|
||||
<a href="tel:+48 880 914 179">
|
||||
<img src="/upload/filemanager/Icons/iphone_black.svg" alt="" />
|
||||
+48 880 914 179
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-7 right_col">
|
||||
<h2>Interessiert?<br>Füllen Sie das Kontaktformular aus!</h2>
|
||||
<?php include 'templates_user/components/ContactForm.php'; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
2
templates_user/components/CookieBoot.php
Normal file
2
templates_user/components/CookieBoot.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<!-- <script type="text/javascript" src="https://cache.consentframework.com/js/pa/31892/c/z4897/stub"></script>
|
||||
<script type="text/javascript" src="https://choices.consentframework.com/js/pa/31892/c/z4897/cmp" async></script> -->
|
||||
71
templates_user/components/Footer.php
Normal file
71
templates_user/components/Footer.php
Normal file
@@ -0,0 +1,71 @@
|
||||
<div id="box-scrolling-page">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/kontakt">
|
||||
<img src="/upload/filemanager/Icons/mail-black.svg" alt="">
|
||||
</a>
|
||||
</li>
|
||||
<li id="scroll-anchor">
|
||||
<img src="/upload/filemanager/Icons/arrow-top-black.svg" alt="">
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<footer class="gap_big_top">
|
||||
<div class="footer__wrapper">
|
||||
<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 />
|
||||
Eingetragener Sitz: Rudna Mała 75,<br />
|
||||
35-054 Mrowla, Polen<br />
|
||||
KRS Nr. 0000191980, REGON: 690379060 Ust.-ID- Nr.: PL8131086710<br />
|
||||
Bankverbindungen: ING Bank Śląski S.A.: SWIFT: INGBPLPW<br />
|
||||
in EURO PL 84 1050 1562 1000 0090 3034 4213,<br />
|
||||
in PLN PL 31 1050 1562 1000 0090 3034 4197
|
||||
</p>
|
||||
</div>
|
||||
<div class="box_centr">
|
||||
<p><strong>PRODUKTE</strong></p>
|
||||
<ul>
|
||||
<li><a href="/holzfenster">Holzfenster</a></li>
|
||||
<li><a href="/holz-alu-fenster">Holz-alu-Fenster</a></li>
|
||||
|
||||
<li><a href="/kunststofffenster">Kunststofffenster</a></li>
|
||||
<li><a href="/kunststoff-alu-fenster">Kunststoff-alu-Fenster</a></li>
|
||||
|
||||
<li><a href="/alu-fenster">Alu-Fenster</a></li>
|
||||
<li><a href="/fassaden">Fassaden</a></li>
|
||||
|
||||
<li><a href="/hebe-schiebe-turen">Hebe-schiebe-türen</a></li>
|
||||
<li><a href="/zubehehor">Zubehör</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="box_right">
|
||||
<p><strong>QUICK LINKS</strong></p>
|
||||
<ul>
|
||||
<li><a href="/uber-vidok">Über VIDOK</a></li>
|
||||
<li><a href="/upload/filemanager/Katalog-glowny-vidok-DE_s.pdf" target="_blank">Katalog</a></li>
|
||||
</ul>
|
||||
<div class="social_box">
|
||||
<a href="https://www.facebook.com/vidok.fenster.turen/" target="_blank"><img src="/upload/filemanager/inne/facebook.svg" alt="facebook"></a>
|
||||
<a href="https://www.linkedin.com/company/vidok-fenster-und-turen/?viewAsMember=true" target="_blank"><img src="/upload/filemanager/inne/linkedin.svg" alt="linkedin"></a>
|
||||
<a href="https://www.youtube.com/@vidokfensterundturen4925" target="_blank"><img src="/upload/filemanager/inne/youtube.svg" alt="youtube"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer_bottom">
|
||||
<div class="box_left">
|
||||
<p class="body_txt">Copyright © 2022 Personnel Medic. Alle Rechte vorbehalten.</p>
|
||||
</div>
|
||||
<div class="box_right">
|
||||
<?= \front\view\Menu::menu(\front\factory\Menu::menu_details( 5 ), $page['id'] ); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
7
templates_user/components/GoogleTagManager.php
Normal file
7
templates_user/components/GoogleTagManager.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<!-- Google Tag Manager -->
|
||||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer','GTM-5L6XLLH');</script>
|
||||
<!-- End Google Tag Manager -->
|
||||
298
templates_user/components/NavMenu.php
Normal file
298
templates_user/components/NavMenu.php
Normal file
@@ -0,0 +1,298 @@
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
<noscript>
|
||||
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5L6XLLH" height="0" width="0" style="display:none;visibility:hidden"></iframe>
|
||||
</noscript>
|
||||
<!-- End Google Tag Manager (noscript) -->
|
||||
|
||||
<? include 'templates_user/components/detect-language.php'; ?>
|
||||
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="header__wrapper">
|
||||
<div class="header_left">
|
||||
<a href="/">
|
||||
<img src="/upload/filemanager/Logos/Logo_white.svg" alt="logo" class="nowebp" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="header_right">
|
||||
<div class="header_right_top">
|
||||
<p><strong>KOSTENLOSE ANFRAGE</strong></p>
|
||||
|
||||
<a href="tel:+48882035886">
|
||||
<img src="/upload/filemanager/Icons/iphone_black.svg" alt="phone">
|
||||
+48 882 035 886
|
||||
</a>
|
||||
<a href="mailto:anfrage@vidok.com">
|
||||
<img src="/upload/filemanager/Icons/mail_black.svg" alt="mail">
|
||||
anfrage@vidok.com
|
||||
</a>
|
||||
</div>
|
||||
<div class="header_right_bottom">
|
||||
<nav id="advance_menu">
|
||||
<ul class="lvl_1">
|
||||
|
||||
<li class="parent">
|
||||
<a href="/fenster" class="no-click">Fenster</a>
|
||||
<ul class="lvl_2 static_height">
|
||||
<li class="parent">
|
||||
<a href="/holzfenster">Holzfenster</a>
|
||||
<ul class="lvl_3 static_height">
|
||||
<li>
|
||||
<a href="/holzfenster#vd-68">VD-68</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/holzfenster#vd-68h">VD-68H</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/holzfenster#vd-78">VD-78</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/holzfenster#vd-78h">VD-78H</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/holzfenster#vd-92">VD-92</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/holzfenster#vd-92h">VD-92H</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="category_img static_height">
|
||||
<img src="/upload/filemanager/Menu/menu_holzfenster.png" alt="">
|
||||
</div>
|
||||
</li>
|
||||
<li class="parent">
|
||||
<a href="/holz-alu-fenster">Holz-alu-Fenster</a>
|
||||
<ul class="lvl_3 static_height">
|
||||
<li>
|
||||
<a href="/holz-alu-fenster#vda-86">VDA-86</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/holz-alu-fenster#vda-96">VDA-96</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/holz-alu-fenster#vda-116">VDA-116</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="category_img static_height">
|
||||
<img src="/upload/filemanager/Menu/menu_holz_alu_fenster.png" alt="">
|
||||
</div>
|
||||
</li>
|
||||
<li class="parent">
|
||||
<a href="/kunststofffenster">Kunststofffenster</a>
|
||||
<ul class="lvl_3 static_height">
|
||||
<li>
|
||||
<a href="/kunststofffenster#vp-70">VP-70</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kunststofffenster#vp-76">VP-76</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kunststofffenster#vp-82">VP-82</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kunststofffenster#vp-74">VP-74</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kunststofffenster#vp-83">VP-83</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kunststofffenster#vpe-70">VPE-70</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kunststofffenster#vpe-70">VPE-76</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="category_img static_height">
|
||||
<img src="/upload/filemanager/Menu/menu_kunststofffenster.png" alt="">
|
||||
</div>
|
||||
</li>
|
||||
<li class="parent">
|
||||
<a href="/kunststoff-alu-fenster">Kunststoff-alu-Fenster</a>
|
||||
<ul class="lvl_3 static_height">
|
||||
<li>
|
||||
<a href="/kunststoff-alu-fenster#tab1669205564864_1">VPA-82</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kunststoff-alu-fenster#tab1669205564864_2">VPA-88</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/kunststoff-alu-fenster#tab1669205564864_3">VPA-94</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="category_img static_height">
|
||||
<img src="/upload/filemanager/Menu/menu_kunststoff_alu_fenster.png" alt="">
|
||||
</div>
|
||||
</li>
|
||||
<li class="parent">
|
||||
<a href="/alu-fenster">Alu-Fenster</a>
|
||||
<ul class="lvl_3 static_height">
|
||||
<li>
|
||||
<a href="/alu-fenster#mb-45">MB-45</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/alu-fenster#mb-79n">MB-79N</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/alu-fenster#mb-86">MB-86</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="category_img static_height">
|
||||
<img src="/upload/filemanager/Menu/menu_alu_fenster.png" alt="">
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/fassaden">Fassaden</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="parent">
|
||||
<a href="/turen" class="no-click">Türen</a>
|
||||
<ul class="lvl_2">
|
||||
<li class="parent">
|
||||
<a href="/hebe-schiebe-turen">Hebe-schiebe-türen</a>
|
||||
<ul class="lvl_3">
|
||||
<li>
|
||||
<a href="/hebe-schiebe-turen#vekamotion-82">vekamotion 82</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/hebe-schiebe-turen#inova-smoove">inova smoove</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/hebe-schiebe-turen#platinum-optima">platinum optima</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="parent">
|
||||
<a href="/fensterabdeckungen">Sonnenschutz</a>
|
||||
|
||||
<ul class="lvl_2">
|
||||
<li>
|
||||
<a href="/fensterabdeckungen#rollladen">Rollläden</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/fensterabdeckungen#raffstores">Raffstores</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/fensterabdeckungen#textilscreens">Textilscreens</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/zubehehor">Zubehör</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/sonderangebot">Sonderangebot</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uber-vidok">Über uns</a>
|
||||
</li>
|
||||
|
||||
<li class="katalog">
|
||||
<a href="/upload/filemanager/Katalog-glowny-vidok-DE_s.pdf" target="_blank">Katalog</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/kontakt">Kontakt</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="header_big_btn">
|
||||
<a href="/kontakt">KOSTENLOSE<br /> ANFRAGE</a>
|
||||
</div>
|
||||
|
||||
<div class="header_social_icons">
|
||||
<a href="https://www.linkedin.com/company/vidok-fenster-und-turen/?viewAsMember=true" target="_blank"><img src="/upload/filemanager/Icons/linkedin_black.svg" alt="linkedin"></a>
|
||||
<a href="https://www.facebook.com/vidok.fenster.turen/" target="_blank"><img src="/upload/filemanager/Icons/facebook_black.svg" alt="facebook"></a>
|
||||
<a href="https://www.youtube.com/@vidokfensterundturen4925" target="_blank"><img src="/upload/filemanager/Icons/youtube_black.svg" alt="youtube"></a>
|
||||
</div>
|
||||
</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 <= 1200 )
|
||||
{
|
||||
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 <= 1200 )
|
||||
{
|
||||
$( '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)
|
||||
{
|
||||
$(`.tab-container .nav-tabs li a[href="${URL}"]`).trigger("click");
|
||||
}
|
||||
|
||||
$( 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>
|
||||
36
templates_user/components/PartnersSlider.php
Normal file
36
templates_user/components/PartnersSlider.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<div id="partners_slider">
|
||||
<?= \front\view\Scontainers::scontainer(6); ?>
|
||||
</div>
|
||||
<link class="footer" rel="stylesheet" href="/plugins/splide/splide-core.min.css">
|
||||
<script class="footer" src="/plugins/splide/splide.min.js"></script>
|
||||
<script class="footer" src="/plugins/splide/splide-extension-auto-scroll.min.js"></script>
|
||||
<script class="footer">
|
||||
const splide = new Splide( '.splide', {
|
||||
type : 'loop',
|
||||
drag : 'free',
|
||||
focus : 'center',
|
||||
perPage: 7,
|
||||
breakpoints: {
|
||||
1200: {
|
||||
perPage: 5,
|
||||
},
|
||||
992: {
|
||||
perPage: 4,
|
||||
},
|
||||
768: {
|
||||
perPage: 3,
|
||||
},
|
||||
576: {
|
||||
perPage: 2,
|
||||
},
|
||||
},
|
||||
autoScroll: {
|
||||
speed: 1,
|
||||
pauseOnHover: false,
|
||||
pauseOnFocus: false,
|
||||
},
|
||||
|
||||
} );
|
||||
|
||||
splide.mount(window.splide.Extensions);
|
||||
</script>
|
||||
32
templates_user/components/SeeOurCatalog.php
Normal file
32
templates_user/components/SeeOurCatalog.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<div id="see_our_catalog">
|
||||
<div class="container">
|
||||
<div class="see_our_catalog__wrapper">
|
||||
<div class="catalog_tiles">
|
||||
<div class="tile">
|
||||
<div class="tile__img">
|
||||
<img src="/upload/filemanager/Components/Zobacz-nasz-katalog/img_1.jpg" alt="">
|
||||
|
||||
<div class="tile__data">
|
||||
<h3>Katalog für unsere Partner</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="/" class="btn8">Mehr erfahren</a>
|
||||
</div>
|
||||
|
||||
<div class="tile">
|
||||
<div class="tile__img">
|
||||
<img src="/upload/filemanager/Components/Zobacz-nasz-katalog/img_2.jpg" alt="">
|
||||
|
||||
<div class="tile__data">
|
||||
<h3>Alles aus einer hand</h3>
|
||||
<p>fenster - türen - fassaden</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="/" class="btn8">Produktzusätze</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
50
templates_user/components/SpecialForYou.php
Normal file
50
templates_user/components/SpecialForYou.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<div id="special_for_you">
|
||||
<!-- <div class="container"> -->
|
||||
<div class="special_for_you__wrapper">
|
||||
<div class="container">
|
||||
<div class="_row_1">
|
||||
<div class="_row_1_text">
|
||||
<h2 class="head_txt_2">Wybrane realizacje</h2>
|
||||
<p class="body_txt">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit
|
||||
interdum, ac aliquet odio mattis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per
|
||||
inceptos himenaeos.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="_row_2 container">
|
||||
<div class="swiper special_for_you_slider">
|
||||
<div class="swiper-wrapper">
|
||||
<div class="swiper-slide">
|
||||
<img src="/upload/filemanager/Realizations/realization_1.jpg" alt="">
|
||||
<div class="slide_data">
|
||||
<p class="small_txt">Warszawa</p>
|
||||
<h4 class="head_txt_4">Nazwa firmy</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swiper-slide">
|
||||
<img src="/upload/filemanager/Realizations/realization_1.jpg" alt="">
|
||||
<div class="slide_data">
|
||||
<p class="small_txt">Warszawa</p>
|
||||
<h4 class="head_txt_4">Nazwa firmy</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="swiper-slide">
|
||||
<img src="/upload/filemanager/Realizations/realization_1.jpg" alt="">
|
||||
<div class="slide_data">
|
||||
<p class="small_txt">Warszawa</p>
|
||||
<h4 class="head_txt_4">Nazwa firmy</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
|
||||
<script class="footer">
|
||||
var swiper = new Swiper(".special_for_you_slider", {
|
||||
slidesPerView: "auto",
|
||||
spaceBetween: 30,
|
||||
});
|
||||
</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;
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
?>
|
||||
61
templates_user/menu/pages.php
Normal file
61
templates_user/menu/pages.php
Normal file
@@ -0,0 +1,61 @@
|
||||
<?
|
||||
if ( is_array( $this -> pages ) )
|
||||
{
|
||||
$settings = \front\factory\Settings::settings_details();
|
||||
|
||||
echo '<ul class="level-' . $this -> level . ' clear">';
|
||||
|
||||
foreach ( $this -> pages as $page )
|
||||
{
|
||||
$url = "";
|
||||
if ($settings['links_structure'])
|
||||
{
|
||||
if ($page['language']['seo_link'])
|
||||
{
|
||||
$url = '/'.\admin\factory\Pages::google_url_preview($page['id'], $page['language']['title'], $page['language']['lang_id'], 0, 0, $page['language']['seo_link']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$url = '/'. \admin\factory\Pages::google_url_preview($page['id'], $page['language']['title'], $page['language']['lang_id'], 0, 0, 0);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$page['language']['seo_link'] ? $url = '/' . $page['language']['seo_link'] : $url = '/s-' . $page['id'] . '-' . \S::seo( $page['language']['title'] );
|
||||
}
|
||||
|
||||
if ( $page['page_type'] == 3 and $page['language']['link'] )
|
||||
$url = $page['language']['link'];
|
||||
|
||||
unset( $children );
|
||||
|
||||
if ( is_array( $page['pages'] ) ): foreach ( $page['pages'] as $page_tmp ):
|
||||
$children[] = $page_tmp['id'];
|
||||
endforeach; endif;
|
||||
|
||||
echo '<li id="link-' . $page['id'] . '" class="';
|
||||
|
||||
if ($page['id'] == $this -> current_page )
|
||||
echo ' active';
|
||||
|
||||
if( is_array( $page['pages'] ) and in_array( $this -> current_page, $children ) )
|
||||
echo ' open';
|
||||
|
||||
if ( is_array( $page['pages'] ) )
|
||||
echo ' parent';
|
||||
|
||||
echo '">';
|
||||
echo '<a href="';
|
||||
if ( \S::get_session( 'current-lang' ) != \front\factory\Languages::default_language() and $url != '#' and $page['page_type'] != 3 )
|
||||
echo '/' . \S::get_session( 'current-lang' );
|
||||
echo $url; if ( $settings['url_version'] ) echo '/'; echo '"'; if ( $page['language']['noindex'] ) echo 'rel="nofollow"'; echo ' title="' . $page['language']['title'] . '"'; if ( is_array( $page['pages'] ) ) echo "class='menu-trigger'"; echo '>';
|
||||
echo $page['language']['title'];
|
||||
if ( is_array( $page['pages'] ) )
|
||||
echo '<img src="/upload/filemanager/Icons/mini_arrow_bottom.svg" alt="">';
|
||||
echo '</a>';
|
||||
echo \front\view\Menu::pages( $page['pages'], $this -> level + 1, $this -> current_page );
|
||||
echo '</li>';
|
||||
}
|
||||
echo '</ul>';
|
||||
}
|
||||
?>
|
||||
63
templates_user/test.php
Normal file
63
templates_user/test.php
Normal file
@@ -0,0 +1,63 @@
|
||||
<div class="row">
|
||||
<img
|
||||
alt=""
|
||||
src="/upload/filemanager/Pages/Holzfenster/popup-bg.jpg"
|
||||
style="max-width: 759px; width: 100%"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="box-data">
|
||||
<img
|
||||
alt=""
|
||||
src="/upload/filemanager/Pages/Holzfenster/popup-img.png"
|
||||
style="max-width: 474px; width: 100%"
|
||||
/>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
PVC-Profile der höchsten Qualitätsklasse A, die den höchsten
|
||||
RAL-Standards entsprechen. Fensterprofil mit einer
|
||||
7-Kammer-Rahmenstruktur und einer Bautiefe von 70 zu 94 mm garantiert
|
||||
hohe Energieeffizienz (vom energieeffizienten Haus bis zum Passivhaus)
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
Eine Ultramatt Spektralbeschichtung, die durch ihr einzigartiges
|
||||
Aussehen, ihre Samt und Kratzfestigkeit beinduckt
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Fenstergriff in verschiedenen Stilen und Farben</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
Drei Dichtungen mit einer Mitteldichtung mit optimaler Geometrie zum
|
||||
Schutz vor Lärm, Kälte und Feuchtigkeit. Die hohe Qualität des
|
||||
Materials sorgt für Dichtheit und lange Lebensdauer der Fenster
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
Zubehör: Aluminiumrollläden, Fassadenraffstoren, Markisen,
|
||||
Fliegengitter usw.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
Designo- Beschläge mit einer speziellen Rotosilk- Beschichtung,
|
||||
ausgestattet mit Verriegelungspunkten, Kippsperre,
|
||||
Fehlbedienungssperre, Mikrolüftung und einem stilvollem Griff. Sie
|
||||
sorgen für Komfort und Sicherheit
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
Nahtlose Schweißnaht mit der weltweit einzigen patentierten
|
||||
EVO-Technologie
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user