1368 lines
59 KiB
PHP
1368 lines
59 KiB
PHP
<?php
|
|
|
|
$google_map_api = 'AIzaSyD-1SOVhJXr6HREtfmMILvlmV-hml3nxUg';
|
|
|
|
$provinces = [
|
|
'dolnoslaskie' => [
|
|
'id' => 1,
|
|
'name' => 'Dolnośląskie',
|
|
],
|
|
'kujawsko-pomorskie' => [
|
|
'id' => 2,
|
|
'name' => 'Kujawsko-pomorskie',
|
|
],
|
|
'lubelskie' => [
|
|
'id' => 3,
|
|
'name' => 'Lubelskie',
|
|
],
|
|
'lubuskie' => [
|
|
'id' => 4,
|
|
'name' => 'Lubuskie',
|
|
],
|
|
'lodzkie' => [
|
|
'id' => 5,
|
|
'name' => 'Łódzkie',
|
|
],
|
|
'malopolskie' => [
|
|
'id' => 6,
|
|
'name' => 'Małopolskie',
|
|
],
|
|
'mazowieckie'=> [
|
|
'id' => 7,
|
|
'name' => 'Mazowieckie',
|
|
],
|
|
'opolskie'=> [
|
|
'id' => 8,
|
|
'name' => 'Opolskie',
|
|
],
|
|
'podkarpackie'=> [
|
|
'id' => 9,
|
|
'name' => 'Podkarpackie',
|
|
],
|
|
'podlaskie'=> [
|
|
'id' => 10,
|
|
'name' => 'Podlaskie',
|
|
],
|
|
'pomorskie'=> [
|
|
'id' => 11,
|
|
'name' => 'Pomorskie',
|
|
],
|
|
'slaskie'=> [
|
|
'id' => 12,
|
|
'name' => 'Śląskie',
|
|
],
|
|
'swietokrzyskie'=> [
|
|
'id' => 13,
|
|
'name' => 'Świętokrzyskie',
|
|
],
|
|
'warminsko-mazurskie'=> [
|
|
'id' => 14,
|
|
'name' => 'Warmińsko-mazurskie',
|
|
],
|
|
'wielkopolskie'=> [
|
|
'id' => 15,
|
|
'name' => 'Wielkopolskie',
|
|
],
|
|
'zachodniopomorskie'=> [
|
|
'id' => 16,
|
|
'name' => 'Zachodniopomorskie',
|
|
]
|
|
];
|
|
|
|
$company_showrooms = [
|
|
[
|
|
'provinces' => $provinces['podkarpackie'],
|
|
'city' => 'Rudna Mała',
|
|
'position' => [
|
|
'lat' => 50.1024449780408,
|
|
'lng' => 21.976135413360446
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Rudna Mała<br/>Centrala, Rzeszów</strong><br/> Rudna Mała 75/k. Rzeszowa<br/> 36-054 Rudna Mała<br/>gm. Głogów Małopolski',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Rudna Mała<br/>Centrala, Rzeszów</strong><br/> Rudna Mała 75/k. Rzeszowa<br/> 36-054 Rudna Mała<br/>gm. Głogów Małopolski',
|
|
'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob.: Nieczynne<br/> Nd.: Nieczynne',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 17 859 56 71">+48 17 859 56 71</a><br/>
|
|
<a href="mailto:zapytania@vidok.com">zapytania@vidok.com</a>',
|
|
],
|
|
'contact' => [
|
|
'phone' => [
|
|
'+48 17 859 56 71',
|
|
],
|
|
'email' => [
|
|
'zapytania@vidok.com'
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'provinces' => $provinces['podkarpackie'],
|
|
'city' => 'Rzeszów',
|
|
'position' => [
|
|
'lat' => 50.02635288985568,
|
|
'lng' => 21.9955065537168
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Hetmańska, Rzeszów</strong><br/> ul. Hetmańska 39,<br/> 35-045 Rzeszów',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Hetmańska, Rzeszów</strong><br/> ul. Hetmańska 39,<br/> 35-045 Rzeszów',
|
|
'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 9-17<br/> Sob.: Nieczynne<br/> Nd.: Nieczynne',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 17 853 93 62">+48 17 853 93 62</a><br/>
|
|
<a href="tel:+48 17 853 94 32">+48 17 853 94 32</a><br/>
|
|
<a href="tel:+48 735 209 241">+48 735 209 241</a><br/>
|
|
<a href="mailto:l.paczkowska@vidok.com">l.paczkowska@vidok.com</a><br/>
|
|
<a href="mailto:r.obrocki@vidok.com">r.obrocki@vidok.com</a><br/>
|
|
<a href="mailto:s.szela@vidok.com">s.szela@vidok.com</a>',
|
|
],
|
|
'contact' => [
|
|
'phone' => [
|
|
'+48 17 853 93 62',
|
|
'+48 17 853 94 32',
|
|
'+48 735 209 241',
|
|
],
|
|
'email' => [
|
|
'l.paczkowska@vidok.com',
|
|
'r.obrocki@vidok.com',
|
|
's.szela@vidok.com'
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'provinces' => $provinces['podkarpackie'],
|
|
'city' => 'Tarnobrzeg',
|
|
'position' => [
|
|
'lat' => 50.574722335764164,
|
|
'lng' => 21.674305961629898
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Tarnobrzeg</strong><br/> ul. Sienkiewicza 4/63',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Tarnobrzeg</strong><br/> ul. Sienkiewicza 4/63',
|
|
'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-16<br/> Sob.: Nieczynne<br/> Nd.: Nieczynne',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 15 822 98 94">+48 15 822 98 94</a><br/>
|
|
<a href="mailto:tarnobrzeg@vidok.com">tarnobrzeg@vidok.com</a>',
|
|
],
|
|
'contact' => [
|
|
'phone' => [
|
|
'+48 15 822 98 94',
|
|
],
|
|
'email' => [
|
|
'tarnobrzeg@vidok.com'
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'provinces' => $provinces['podkarpackie'],
|
|
'city' => 'Łańcut',
|
|
'position' => [
|
|
'lat' => 50.06671293375543,
|
|
'lng' => 22.2293837267314
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Łańcut</strong><br/> ul. Piłsudskiego 8',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Łańcut</strong><br/> ul. Piłsudskiego 8',
|
|
'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-16<br/> Sob.: Nieczynne<br/> Nd.: Nieczynne',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 17 225 26 45,">+48 17 225 26 45,</a><br/>
|
|
<a href="mailto:lancut@vidok.com">lancut@vidok.com</a>',
|
|
],
|
|
'contact' => [
|
|
'phone' => [
|
|
'+48 17 225 26 45,'
|
|
],
|
|
'email' => [
|
|
'lancut@vidok.com'
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'provinces' => $provinces['podkarpackie'],
|
|
'city' => 'Sanok',
|
|
'position' => [
|
|
'lat' => 49.55863090141584,
|
|
'lng' => 22.203692942052616
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Sanok</strong><br/> ul. Jagiellońska 16',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Sanok</strong><br/> ul. Jagiellońska 16',
|
|
'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 9-17<br/> Sob.: Nieczynne<br/> Nd.: Nieczynne',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 882 035 893,">+48 882 035 893,</a><br/>
|
|
<a href="tel:+48 13 464 03 38,">+48 13 464 03 38,</a><br/>
|
|
<a href="mailto:sanok@vidok.com">sanok@vidok.com</a>',
|
|
],
|
|
'contact' => [
|
|
'phone' => [
|
|
'+48 882 035 893,',
|
|
'+48 13 464 03 38,'
|
|
],
|
|
'email' => [
|
|
'sanok@vidok.com'
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'provinces' => $provinces['podkarpackie'],
|
|
'city' => 'Przemyśl',
|
|
'position' => [
|
|
'lat' => 49.78231159477521,
|
|
'lng' => 22.80589972671975
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Przemyśl</strong><br/> ul. Batorego 1',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Przemyśl</strong><br/> ul. Batorego 1',
|
|
'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-16<br/> Sob.: Nieczynne<br/> Nd.: Nieczynne',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 16 676 02 27,">+48 16 676 02 27,</a><br/>
|
|
<a href="mailto:przemysl@vidok.com">przemysl@vidok.com</a>',
|
|
],
|
|
'contact' => [
|
|
'phone' => [
|
|
'+48 16 676 02 27,'
|
|
],
|
|
'email' => [
|
|
'przemysl@vidok.com'
|
|
]
|
|
]
|
|
],
|
|
|
|
[
|
|
'provinces' => $provinces['malopolskie'],
|
|
'city' => 'Kraków',
|
|
'position' => [
|
|
'lat' => 50.09042610472774,
|
|
'lng' => 19.916388661955565
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Kraków</strong><br/> ul. Opolska 12 A'
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Kraków</strong><br/> ul. Opolska 12 A',
|
|
'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 7:30-16:30<br/> Sob.: Nieczynne<br/> Nd.: Nieczynne',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 784 919 155">+48 784 919 155</a><br/>
|
|
<a href="tel:12 415 95 49">12 415 95 49</a><br/>
|
|
<a href="mailto:krakow@vidok.com">krakow@vidok.com</a>',
|
|
],
|
|
'contact' => [
|
|
'phone' => [
|
|
'+48 784 919 155',
|
|
'12 415 95 49'
|
|
],
|
|
'email' => [
|
|
'krakow@vidok.com'
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'provinces' => $provinces['malopolskie'],
|
|
'city' => 'Zakopane',
|
|
'position' => [
|
|
'lat' => 49.30951078990793,
|
|
'lng' => 19.968162869029445
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Zakopane</strong><br/> ul. Spyrkówka k 3,<br/> 34-500 Zakopane'
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Zakopane</strong><br/> ul. Spyrkówka k 3,<br/> 34-500 Zakopane',
|
|
'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 9-17<br/> Sob.: Nieczynne<br/> Nd.: Nieczynne',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 661 804 867">+48 661 804 867</a><br/>
|
|
<a href="tel:+48 18 447 68 96">+48 18 447 68 96</a><br/>
|
|
<a href="mailto:zakopane@vidok.com">zakopane@vidok.com</a>',
|
|
],
|
|
'contact' => [
|
|
'phone' => [
|
|
'+48 661 804 867',
|
|
'+48 18 447 68 96'
|
|
],
|
|
'email' => [
|
|
'zakopane@vidok.com'
|
|
]
|
|
]
|
|
],
|
|
|
|
|
|
[
|
|
'provinces' => $provinces['malopolskie'],
|
|
'city' => 'Nowy Targ',
|
|
'position' => [
|
|
'lat' => 49.480849161761945,
|
|
'lng' => 20.02686511942758
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Nowy Targ</strong><br/> ul. Długa 31'
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Nowy Targ</strong><br/> ul. Długa 31',
|
|
'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 9-17<br/> Sob.: 9-13<br/> Nd.: Nieczynne',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 511 071 485">+48 511 071 485</a><br/>
|
|
<a href="tel:+48 516 499 983">+48 516 499 983</a><br/>
|
|
<a href="mailto:nowytarg@vidok.com">nowytarg@vidok.com</a>',
|
|
],
|
|
'contact' => [
|
|
'phone' => [
|
|
'+48 511 071 485',
|
|
'+48 516 499 983'
|
|
],
|
|
'email' => [
|
|
'nowytarg@vidok.com'
|
|
]
|
|
]
|
|
],
|
|
[
|
|
'provinces' => $provinces['podkarpackie'],
|
|
'city' => 'Krosno',
|
|
'position' => [
|
|
'lat' => 49.69532059125217,
|
|
'lng' => 21.75137092671619
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Krosno</strong><br/> ul. Kolejowa 17'
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Krosno</strong><br/> ul. Kolejowa 17',
|
|
'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-16<br/> Sob.: Nieczynne<br/> Nd.: Nieczynne',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 13 432 73 11">+48 13 432 73 11</a><br/>
|
|
<a href="mailto:krosno@vidok.com">krosno@vidok.com</a>',
|
|
],
|
|
'contact' => [
|
|
'phone' => [
|
|
'+48 13 432 73 11'
|
|
],
|
|
'email' => [
|
|
'krosno@vidok.com'
|
|
]
|
|
]
|
|
],
|
|
];
|
|
|
|
$partner_showrooms = [
|
|
[
|
|
'provinces' => $provinces['malopolskie'],
|
|
'city' => 'Nowy Sącz',
|
|
'position' => [
|
|
'lat' => 49.611365598738296,
|
|
'lng' => 20.7082831537978
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>OKNOBUD. PHU. Baran K.</strong><br/>ul. Henryka Siemiradzkiego 9<br/> 33-300 Nowy Sącz',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>OKNOBUD. PHU. Baran K.</strong><br/>ul. Henryka Siemiradzkiego 9<br/> 33-300 Nowy Sącz',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 18 442 19 97">+48 18 442 19 97</a><br/>
|
|
<a href="tel:+48 502 458 992">+48 502 458 992</a><br/>
|
|
<a href="mailto:oknobud.sacz@gmail.com">oknobud.sacz@gmail.com</a>',
|
|
]
|
|
],
|
|
[
|
|
'provinces' => $provinces['malopolskie'],
|
|
'city' => 'Nowy Sącz',
|
|
'position' => [
|
|
'lat' => 49.65881973954675,
|
|
'lng' => 21.15495605564969
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>LISZKA</strong><br/>ul. Stróżowska 18<br/> 38-300 Gorlice',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>LISZKA</strong><br/>ul. Stróżowska 18<br/> 38-300 Gorlice',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 18 353 51 51">+48 18 353 51 51</a><br/>
|
|
<a href="tel:+48 516 798 394">+48 516 798 394</a><br/>
|
|
<a href="tel:+48 604 176 833">+48 604 176 833</a><br/>
|
|
<a href="mailto:biuro@liszkaokna.pl">biuro@liszkaokna.pl</a>',
|
|
]
|
|
],
|
|
[
|
|
'provinces' => $provinces['podkarpackie'],
|
|
'city' => 'Nowa Dęba',
|
|
'position' => [
|
|
'lat' => 50.414677195500694,
|
|
'lng' => 21.754066540337178
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>PROFIL SYSTEM</strong><br/>C.H. Stokrotka 1 piętro<br/> ul. Jasna 9<br/> 39-460 Nowa Dęba',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>PROFIL SYSTEM</strong><br/>C.H. Stokrotka 1 piętro<br/> ul. Jasna 9<br/> 39-460 Nowa Dęba',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 15 846 21 84">+48 15 846 21 84</a><br/>
|
|
<a href="mailto:oknoprofil@gmail.com">oknoprofil@gmail.com</a>',
|
|
]
|
|
],
|
|
[
|
|
'provinces' => $provinces['podkarpackie'],
|
|
'city' => 'Kolbuszowa',
|
|
'position' => [
|
|
'lat' => 50.24273177535604,
|
|
'lng' => 21.77891767086506
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>PROFIL SYSTEM</strong><br/>ul. Rzeszowska 10<br/> 36-100 Kolbuszowa',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>PROFIL SYSTEM</strong><br/>ul. Rzeszowska 10<br/> 36-100 Kolbuszowa',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 17 227 52 17">+48 17 227 52 17</a><br/>
|
|
<a href="tel:+48 503 575 793">+48 503 575 793</a><br/>
|
|
<a href="mailto:vidokkolbuszowa@gmail.com">vidokkolbuszowa@gmail.com</a>',
|
|
]
|
|
],
|
|
[
|
|
'provinces' => $provinces['malopolskie'],
|
|
'city' => 'Jaraszowice',
|
|
'position' => [
|
|
'lat' => 49.85764972356142,
|
|
'lng' => 19.505663026821978
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>TRADER Materiały<br/> Budowlane Sp. z o.o.</strong><br/>ul. Zakopiańska 8<br/> 34-100 Jaraszowice',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>TRADER Materiały<br/> Budowlane Sp. z o.o.</strong><br/>ul. Zakopiańska 8<br/> 34-100 Jaraszowice',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 789 207 393">+48 789 207 393</a><br/>
|
|
<a href="tel:+48 690 178 959">+48 690 178 959</a><br/>
|
|
<a href="mailto:d.t.mbtrader@gmail.com">d.t.mbtrader@gmail.com</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['mazowieckie'],
|
|
'city' => 'Radom',
|
|
'position' => [
|
|
'lat' => 51.40407660167875,
|
|
'lng' => 21.14450298455608
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>ERPO</strong><br/>ul. Mikołaja Reja 12/14<br/> 26 - 600 Radom',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>ERPO</strong><br/>ul. Mikołaja Reja 12/14<br/> 26 - 600 Radom',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 799 062 212">+48 799 062 212</a><br/>
|
|
<a href="mailto:erpopolska@onet.pl">erpopolska@onet.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['podkarpackie'],
|
|
'city' => 'Leżajsk',
|
|
// 'position' => [
|
|
// 'lat' => 51.40407660167875,
|
|
// 'lng' => 21.14450298455608
|
|
// ],
|
|
'data' => [
|
|
'text' => '<strong>HIUB<br/>(Okna i drzwi DARIUSZ PÓŁTORAK)</strong><br/>Mickiewicza 37<br/> 37-300 Leżajsk',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>HIUB<br/>(Okna i drzwi DARIUSZ PÓŁTORAK)</strong><br/>Mickiewicza 37<br/> 37-300 Leżajsk',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 600 277 052">+48 600 277 052</a><br/>
|
|
<a href="mailto:partnervidok@dakron.pl">partnervidok@dakron.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['swietokrzyskie'],
|
|
'city' => 'Skarżysko-Kamienna',
|
|
'position' => [
|
|
'lat' => 51.12112479073247,
|
|
'lng' => 20.88175161153014
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Termovid</strong><br/>ul. Zielna 18<br/> 26-110 Skarżysko-Kamienna',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Termovid</strong><br/>ul. Zielna 18<br/> 26-110 Skarżysko-Kamienna',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 508 500 818">+48 508 500 818</a><br/>
|
|
<a href="mailto:salon@termovid.pl">salon@termovid.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['lubelskie'],
|
|
'city' => 'Majdan Wielki',
|
|
'position' => [
|
|
'lat' => 50.54353301531848,
|
|
'lng' => 23.24245155383521
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Instal-Bud Sp. jawna P.Kawka, B.Spustek, R.Mojak</strong><br/>Majdan Wielki 410<br/> 22-440 Majdan Wielki',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Instal-Bud Sp. jawna P.Kawka, B.Spustek, R.Mojak</strong><br/>Majdan Wielki 410<br/> 22-440 Majdan Wielki',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 722 107 127">+48 722 107 127</a><br/>
|
|
<a href="mailto:instal.bud@interia.eu">instal.bud@interia.eu</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['mazowieckie'],
|
|
'city' => 'Parczew',
|
|
'position' => [
|
|
'lat' => 51.632022385701944,
|
|
'lng' => 22.867927826893894
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>ZGODA</strong><br/>Siemieńska 20<br/> 21-200 Parczew',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>ZGODA</strong><br/>Siemieńska 20<br/> 21-200 Parczew',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 833 552 041">+48 833 552 041</a><br/>
|
|
<a href="mailto:zgodaparczew@wp.pl">zgodaparczew@wp.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['mazowieckie'],
|
|
'city' => 'Wołomin Mazowiecki',
|
|
'position' => [
|
|
'lat' => 52.33825499947167,
|
|
'lng' => 21.228166526923168
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Ren-Mar</strong><br/>Wiśniowa 3<br/> 05-200 Wołomin Mazowiecki',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Ren-Mar</strong><br/>Wiśniowa 3<br/> 05-200 Wołomin Mazowiecki',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 728 806 579">+48 728 806 579</a><br/>
|
|
<a href="mailto:biuro@ren-mar.com.pl">biuro@ren-mar.com.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['mazowieckie'],
|
|
'city' => 'Wołomin Mazowiecki',
|
|
'position' => [
|
|
'lat' => 52.17508734602555,
|
|
'lng' => 22.274797371095012
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Evis</strong><br/>Rynkowa 14<br/> 08-110 Siedlce',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Evis</strong><br/>Rynkowa 14<br/> 08-110 Siedlce',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 501 064 261">+48 501 064 261</a><br/>
|
|
<a href="mailto:evis@wp.pl">evis@wp.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['podkarpackie'],
|
|
'city' => 'Mielec',
|
|
'position' => [
|
|
'lat' => 50.28623385506024,
|
|
'lng' => 21.443279542182044
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>DOM-EKO</strong><br/>ul. Wolności 44<br/> 39-323 Mielec',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>DOM-EKO</strong><br/>ul. Wolności 44<br/> 39-323 Mielec',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 508 246 939">+48 508 246 939</a><br/>
|
|
<a href="mailto:sklep@domeko.mielec.pl">sklep@domeko.mielec.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['malopolskie'],
|
|
'city' => 'Proszowice',
|
|
'position' => [
|
|
'lat' => 50.19642217539984,
|
|
'lng' => 20.29928814032843
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>Materiały budowlane Paweł GARA</strong><br/>ul. Kazimierza Brodzińskiego 15<br/> 32-100 Proszowice',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>Materiały budowlane Paweł GARA</strong><br/>ul. Kazimierza Brodzińskiego 15<br/> 32-100 Proszowice',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 12 386 35 61">12 386 35 61</a><br/>
|
|
<a href="mailto:p.gara@interia.pl">p.gara@interia.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['lubelskie'],
|
|
'city' => 'Zamość',
|
|
'position' => [
|
|
'lat' => 50.72490864092403,
|
|
'lng' => 23.261339098021196
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>OKNO-SPEC</strong><br/>ul. Przemysłowa 4C<br/> 22-400 Zamość',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>OKNO-SPEC</strong><br/>ul. Przemysłowa 4C<br/> 22-400 Zamość',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 84 627 29 55">+48 84 627 29 55</a><br/>
|
|
<a href="tel:+48 508 292 454">+48 508 292 454</a><br/>
|
|
<a href="mailto:okno-spec@o2.pl">okno-spec@o2.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['lubelskie'],
|
|
'city' => 'Biłgoraj',
|
|
// 'position' => [
|
|
// 'lat' => 50.72490864092403,
|
|
// 'lng' => 23.261339098021196
|
|
// ],
|
|
'data' => [
|
|
'text' => '<strong>DEKOR S.C. Agnieszka<br/> Pawelec, Piotr Pawelec</strong><br/>ul. Słowackiego 1<br/> 23-400 Biłgoraj',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>DEKOR S.C. Agnieszka<br/> Pawelec, Piotr Pawelec</strong><br/>ul. Słowackiego 1<br/> 23-400 Biłgoraj',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 602 240 100">+48 602 240 100</a><br/>
|
|
<a href="mailto:phupiotrpawelec@o2.pl">phupiotrpawelec@o2.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['mazowieckie'],
|
|
'city' => 'Radom',
|
|
'position' => [
|
|
'lat' => 51.41005056480703,
|
|
'lng' => 21.23986674222775
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>ART.-MAX.</strong><br/>ul. Rajec Szlachecki 157<br/> 26-613 Radom',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>ART.-MAX.</strong><br/>ul. Rajec Szlachecki 157<br/> 26-613 Radom',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 537 735 050">+48 537 735 050</a><br/>
|
|
<a href="mailto:biuro@artmax.radom.pl">biuro@artmax.radom.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['mazowieckie'],
|
|
'city' => 'Mińsk Mazowiecki',
|
|
'position' => [
|
|
'lat' => 52.19071019777299,
|
|
'lng' => 21.552054898081277
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>PBH SIMAR Marian Sidor</strong><br/>ul. Nowy Świat 33a<br/> 05-300 Mińsk Mazowiecki',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>PBH SIMAR Marian Sidor</strong><br/>ul. Nowy Świat 33a<br/> 05-300 Mińsk Mazowiecki',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 25 758 04 20">+48 25 758 04 20</a><br/>
|
|
<a href="tel:+48 515 957 741">+48 515 957 741</a><br/>
|
|
<a href="mailto:simar@simar.net.pl">simar@simar.net.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['lubelskie'],
|
|
'city' => 'Lubartów',
|
|
'position' => [
|
|
'lat' => 51.4451836013009,
|
|
'lng' => 22.609974178465176
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>MONTERIA Grzegorz Stawinoga</strong><br/>ul. Przemysłowa 3<br/> 21-100 Lubartów',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>MONTERIA Grzegorz Stawinoga</strong><br/>ul. Przemysłowa 3<br/> 21-100 Lubartów',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 579 637 994">+48 579 637 994</a><br/>
|
|
<a href="mailto:biuro@emonteria.pl">biuro@emonteria.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['lubelskie'],
|
|
'city' => 'Lublin',
|
|
'position' => [
|
|
'lat' => 51.23599002135016,
|
|
'lng' => 22.576564326877776
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>DOMWILL</strong><br/>ul. Wolska 11<br/> 20-411 Lublin',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>DOMWILL</strong><br/>ul. Wolska 11<br/> 20-411 Lublin',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:+48 509 030 149">+48 509 030 149</a><br/>
|
|
<a href="mailto:agnieszka@domwill.pl">agnieszka@domwill.pl</a>',
|
|
],
|
|
],
|
|
[
|
|
'provinces' => $provinces['swietokrzyskie'],
|
|
'city' => 'Kielce',
|
|
'position' => [
|
|
'lat' => 50.8935205863124,
|
|
'lng' => 20.621488644056704
|
|
],
|
|
'data' => [
|
|
'text' => '<strong>P.H.U. "DEKOR"<br/> Marcin Krawczyk</strong><br/>ul. Karola Olszewskiego 4<br/>(obok Dek Meble)<br/> 25-663 Kielce',
|
|
],
|
|
'data_popup' => [
|
|
'text' => '<strong>P.H.U. "DEKOR"<br/> Marcin Krawczyk</strong><br/>ul. Karola Olszewskiego 4<br/>(obok Dek Meble)<br/> 25-663 Kielce',
|
|
// 'time' => '<strong>Godziny otwarcia:</strong><br/> Pn-Pt: 8-17<br/> Sob: 9-13',
|
|
'products' => '/upload/filemanager/icon/available-products-1.svg',
|
|
'contact' => '<a href="tel:413070304">(41)307-03-04</a><br/>
|
|
<a href="tel:+48 792 026 026">+48 792 026 026</a><br/>
|
|
<a href="tel:+48 506 118 360">+48 506 118 360</a><br/>
|
|
<a href="mailto:biuro@dekorkielce.pl">biuro@dekorkielce.pl</a><br/>
|
|
<a href="mailto:dekorkielce@op.pl">dekorkielce@op.pl</a>',
|
|
],
|
|
],
|
|
];
|
|
?>
|
|
|
|
<div class="main-page" id="contactApp">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="breadcrumbs">
|
|
<a href="/">Strona główna</a>
|
|
<span class="sep"><img src="/images/breadcrumbs-sep.svg"></span>
|
|
<span class="last">Kontakt</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<section class="box-1">
|
|
<div class="container">
|
|
<div class="box-1--wrapper">
|
|
<div class="c-row">
|
|
<div class="c-col c-col-1">
|
|
<div class="box-title">
|
|
<h1>Kontakt</h1>
|
|
</div>
|
|
<div class="box-text">
|
|
<p>
|
|
SPRAWDź JAK ŁATWO<br/>
|
|
SIĘ Z NAMI SKONTAKTOWAĆ
|
|
</p>
|
|
</div>
|
|
<div class="box-nav">
|
|
<ol>
|
|
<li>
|
|
<a href="#formularz">
|
|
<span>WYPEŁNIJ FORMULARZ</span>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#salony">
|
|
<span>ZNAJDZ NAJBLIŻSZY SALON</span>
|
|
</a>
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<div class="c-col c-col-2">
|
|
<div class="box-img">
|
|
<img src="/upload/filemanager/Pages/kontakt-6/img-1.jpg" alt="">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="box-2" id="formularz">
|
|
<div class="container">
|
|
<div class="box-2--wrapper">
|
|
<form method="POST" action="" enctype="multipart/form-data" id="contact-form-new">
|
|
<input type="hidden" name="action" value="send-contact-form-new-2">
|
|
<input type="hidden" name="token" value="<?= \S::get_session('contact-form-token'); ?>">
|
|
<input type="hidden" name="website" value="">
|
|
<div class="c-row">
|
|
<div class="c-col c-col-1">
|
|
<div class="box-text">
|
|
<p>Wypełnij formularz, a nasz specjalista:</p>
|
|
|
|
<ul>
|
|
<li>odpowie na Twoje pytania,</li>
|
|
<li>doradzi najlepsze rozwiązania,</li>
|
|
<li>przedstawi szczegóły oferty dopasowane do Twoich potrzeb.</li>
|
|
</ul>
|
|
|
|
<p>Wybierz, kim jesteś:</p>
|
|
</div>
|
|
<div class="box-nav">
|
|
<div class="_radios">
|
|
<div class="_radio">
|
|
<input type="radio" id="client-individual" name="client" value="Klient indywidualny" required checked>
|
|
<label for="client-individual">Klient indywidualny</label>
|
|
</div>
|
|
<div class="_radio">
|
|
<input type="radio" id="client-cooperation" name="client" value="Współpraca inwestycyjna - deweloperzy" required>
|
|
<label for="client-cooperation">Współpraca inwestycyjna - deweloperzy</label>
|
|
</div>
|
|
<div class="_radio">
|
|
<a href="/strefa-partnera">Współpraca B2B - salony sprzedaży</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="c-col c-col-2">
|
|
<div class="_2_columns">
|
|
<input type="text" name="name" placeholder="Imię" required>
|
|
<input type="text" name="surname" placeholder="Nazwisko" required>
|
|
</div>
|
|
<div class="_2_columns">
|
|
<input type="text" name="phone" placeholder="Telefon" required>
|
|
<input type="email" name="email" placeholder="Adres e-mail" required>
|
|
</div>
|
|
<div class="_2_columns">
|
|
<div class="voivodeship__wrapper">
|
|
<select name="voivodeship" required>
|
|
<option value="" disabled selected>Województwa</option>
|
|
<option value="dolnoslaskie">dolnośląskie</option>
|
|
<option value="kujawsko-pomorskie">kujawsko-pomorskie</option>
|
|
<option value="lubelskie">lubelskie</option>
|
|
<option value="lubuskie">lubuskie</option>
|
|
<option value="lodzkie">łódzkie</option>
|
|
<option value="malopolskie">małopolskie</option>
|
|
<option value="mazowieckie">mazowieckie</option>
|
|
<option value="opolskie">opolskie</option>
|
|
<option value="podkarpackie">podkarpackie</option>
|
|
<option value="podlaskie">podlaskie</option>
|
|
<option value="pomorskie">pomorskie</option>
|
|
<option value="slaskie">śląskie</option>
|
|
<option value="swietokrzyskie">świętokrzyskie</option>
|
|
<option value="warminsko-mazurskie">warmińsko-mazurskie</option>
|
|
<option value="wielkopolskie">wielkopolskie</option>
|
|
<option value="zachodniopomorskie">zachodniopomorskie</option>
|
|
</select>
|
|
</div>
|
|
<input type="text" name="postal_code" placeholder="Kod pocztowy" required>
|
|
</div>
|
|
<div class="_1_column">
|
|
<textarea name="message" placeholder="Opis zgłoszenia. Jeżeli masz jakieś uwagi, wytyczne możesz wpisać je tutaj."></textarea>
|
|
</div>
|
|
<div class="_text">
|
|
<p>Chcesz przesłać nam wizualizacje, projekt lub inne materiały?<br /> Skorzystaj z pola poniżej i dodaj plik do wiadomości.</p>
|
|
</div>
|
|
<div class="_file fileuploader fileuploader-theme-default">
|
|
<input type="hidden" name="fileuploader-list-files" value="[]">
|
|
<input type="file" name="files[]" class="files" multiple="multiple">
|
|
<div class="fileuploader-items">
|
|
<ul class="fileuploader-items-list"></ul>
|
|
</div>
|
|
</div>
|
|
<div class="_1_column">
|
|
<div class="_checkbox">
|
|
<input type="checkbox" name="zgoda_1" id="zgoda_1">
|
|
<label for="zgoda_1">Wyrażam zgodę na przetwarzanie moich danych osobowych podanych przeze mnie powyżej w celu przygotowania stosownej oferty.</label>
|
|
</div>
|
|
</div>
|
|
<div class="_1_column">
|
|
<div class="_checkbox">
|
|
<input type="checkbox" name="zgoda_2" id="zgoda_2">
|
|
<label for="zgoda_2">Wyrażam zgodę na przetwarzanie moich danych osobowych podanych przeze mnie powyżej w celu otrzymywania materiałów reklamowych.</label>
|
|
</div>
|
|
</div>
|
|
<div class="_1_column form_actions">
|
|
<div class="g-recaptcha" data-sitekey="6LfaovglAAAAAAieLVC7i4xGkQA5ufXUbWLipSbp"></div>
|
|
<button type="submit">Wyślij<img src="/images/contact-icon-check.svg"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="box-5" id="salony">
|
|
<div class="container">
|
|
<div class="box-5--wrapper">
|
|
<div class="c-row">
|
|
<div class="box-title">
|
|
<h2>Sprawdź, gdzie kupisz produkty <strong>VIDOK</strong></h2>
|
|
</div>
|
|
<div class="box-form">
|
|
<form action="" id="search-showrooms-form">
|
|
<div class="form-search">
|
|
<div class="row-input">
|
|
<label for="place">
|
|
<img src="/upload/filemanager/icon/search-black.svg" alt="">
|
|
</label>
|
|
<input type="text" name="place" id="place" placeholder="wpisz miejscowość">
|
|
</div>
|
|
<button type="submit">Znajdź salon</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="box-7" id="box-map-showrooms" style="position: relative; display: flex; height: 700px;">
|
|
<div id="showrooms-sidebar">
|
|
<div id="results-list">
|
|
<!-- <p>Wpisz miasto</p> -->
|
|
</div>
|
|
</div>
|
|
|
|
<div id="map" style="flex-grow: 1; height: 100%;"></div>
|
|
|
|
<div id="showroom-popup" class="showroom-card--popup">
|
|
<div class="showroom-card--popup-wrapper">
|
|
<div class="popup--head">
|
|
<p class="text">PUNKT SPRZEDAŻY</p>
|
|
<p>VIDOK Okna i Drzwi</p>
|
|
<span class="close-popup">×</span>
|
|
</div>
|
|
<div class="popup--body">
|
|
<div class="popup--body-info">
|
|
<div class="info-name"><p></p></div>
|
|
<div class="info-time"><p></p></div>
|
|
<div class="info-products">
|
|
<p>Dostępne produkty</p>
|
|
<img src="" alt="">
|
|
</div>
|
|
<div class="info-contact"><p></p></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="box-6">
|
|
<div class="container">
|
|
<div class="box-6--wrapper">
|
|
<div class="c-row c-row-1">
|
|
<div class="c-col c-col-1">
|
|
<div class="text-1">
|
|
<p>Siedziba firmy</p>
|
|
</div>
|
|
<div class="text-2">
|
|
<h2>VIDOK Sp. z o. o.</h2>
|
|
<p>36-054 Rudna Mała 75</p>
|
|
</div>
|
|
<div class="text-3">
|
|
<p>KRS Nr. 0000191980</p>
|
|
<p>REGON: 690379060</p>
|
|
<p>NIP: 8131086710</p>
|
|
</div>
|
|
<div class="text-4">
|
|
<p>ING BANK ŚLĄSKI S.A.</p>
|
|
<p>SWIFT INGBPLPW</p>
|
|
<br>
|
|
<p>PLN: PL 31 1050 1562 1000 0090 3034 4197</p>
|
|
<p>EUR: PL 84 1050 1562 1000 0090 3034 4213</p>
|
|
</div>
|
|
</div>
|
|
<div class="c-col c-col-2">
|
|
<div class="box-map">
|
|
<div id="big-map" style="width: 100%;"></div>
|
|
</div>
|
|
<div class="box-info">
|
|
<div class="box-info-left">
|
|
<ul>
|
|
<li>
|
|
<span class="icons"></span>
|
|
poniedziałek - piątek 7:00 - 15:00
|
|
</li>
|
|
<li>
|
|
<a href="tel:+48178595660">
|
|
<span class="icons">
|
|
<img src="/upload/filemanager/icon/iphone.svg" alt="">
|
|
</span>
|
|
+48 17 859 56 60
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="mailto:sekretariat@vidok.com">
|
|
<span class="icons">
|
|
<img src="/upload/filemanager/icon/envelope.svg" alt="">
|
|
</span>
|
|
sekretariat@vidok.com
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="box-info-right">
|
|
<p>
|
|
<strong>Skontaktuj się bezpośrednio</strong><br/> z wybranym działem
|
|
</p>
|
|
<span>
|
|
<img src="/upload/filemanager/icon/btn-arrow.svg" alt="">
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="c-row c-row-2">
|
|
<div class="c-col">
|
|
<div class="tiles">
|
|
<div class="tile tile-1">
|
|
<h3>LOGISTYKA</h3>
|
|
<div class="tile-text">
|
|
<a href="tel:+48178676402">+48 17 867 64 02</a>
|
|
<br />
|
|
<a href="mailto:logistyka@vidok.com">logistyka@vidok.com</a>
|
|
</div>
|
|
</div>
|
|
<div class="tile tile-2">
|
|
<h3>KSIĘGOWOŚĆ</h3>
|
|
<div class="tile-text">
|
|
<a href="tel:+48178595676">+48 17 859 56 76</a>
|
|
<br />
|
|
<a href="mailto:ksiegowosc@vidok.com">ksiegowosc@vidok.com</a>
|
|
</div>
|
|
</div>
|
|
<div class="tile tile-3">
|
|
<h3>MARKETING</h3>
|
|
<div class="tile-text">
|
|
<a href="tel:+48178595667">+48 17 859 56 67</a>
|
|
<br />
|
|
<a href="mailto:marketing@vidok.com">marketing@vidok.com</a>
|
|
</div>
|
|
</div>
|
|
<div class="tile tile-4">
|
|
<h3>SERWIS</h3>
|
|
<div class="tile-text">
|
|
<a href="tel:+48178595682">+48 17 859 56 82</a>
|
|
<br />
|
|
<a href="mailto:serwis@vidok.com">serwis@vidok.com</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
|
|
<link class="footer" href="/plugins/fileuploader/jquery.fileuploader.min.css" rel="stylesheet" type="text/css">
|
|
<link class="footer" href="/plugins/fileuploader/font/font-fileuploader.css" rel="stylesheet" type="text/css">
|
|
|
|
<script src="https://maps.googleapis.com/maps/api/js?key=<?php echo $google_map_api; ?>&libraries=places&callback=initMap" defer></script>
|
|
<script src="https://unpkg.com/@googlemaps/markerclusterer/dist/index.min.js"></script>
|
|
|
|
<script class="footer" type="text/javascript" src="/plugins/fileuploader/jquery.fileuploader.min.js"></script>
|
|
|
|
<script class="footer" type="text/javascript">
|
|
const showrooms = <?= json_encode($company_showrooms, JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT); ?>;
|
|
const MAX_DISTANCE_KM = 100; // Promień wyszukiwania w kilometrach
|
|
|
|
let map, markerCluster;
|
|
let markers = [];
|
|
|
|
const mapPointIcon = "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png";
|
|
|
|
/**
|
|
* Inicjalizacja mapy Google
|
|
*/
|
|
function initMap() {
|
|
const mapOptions = {
|
|
zoom: 6.62,
|
|
center: { lat: 52.068, lng: 19.479 },
|
|
mapTypeControl: false,
|
|
styles: getMapStyles() // Pobieranie stylów z osobnej funkcji
|
|
};
|
|
|
|
map = new google.maps.Map(document.getElementById("map"), mapOptions);
|
|
|
|
const bigMap = new google.maps.Map(
|
|
document.getElementById("big-map"),
|
|
{
|
|
...mapOptions,
|
|
center: {lat: 50.0411, lng: 21.9991},
|
|
zoom: 11.2,
|
|
}
|
|
);
|
|
// Utworzenie markerów dla wszystkich salonów
|
|
renderMarkers();
|
|
|
|
// Inicjalizacja klastrów (grupowanie markerów)
|
|
if (typeof markerClusterer !== 'undefined') {
|
|
markerCluster = new markerClusterer.MarkerClusterer({ map, markers });
|
|
}
|
|
|
|
// Inicjalizacja wyszukiwarki
|
|
initSearchLogic();
|
|
}
|
|
|
|
/**
|
|
* Renderowanie markerów na mapie
|
|
*/
|
|
function renderMarkers() {
|
|
markers = showrooms.map((item) => {
|
|
const marker = new google.maps.Marker({
|
|
position: { lat: parseFloat(item.position.lat), lng: parseFloat(item.position.lng) },
|
|
title: item.city,
|
|
icon: mapPointIcon
|
|
});
|
|
|
|
marker.addListener("click", () => openShowroomPopup(item));
|
|
return marker;
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Obsługa wyszukiwania i filtrowania
|
|
*/
|
|
function initSearchLogic() {
|
|
const input = document.getElementById("place");
|
|
if (!input) return;
|
|
|
|
const autocomplete = new google.maps.places.Autocomplete(input);
|
|
|
|
$('#search-showrooms-form').on('submit', function(e) {
|
|
e.preventDefault();
|
|
|
|
const place = autocomplete.getPlace();
|
|
|
|
if (place && place.geometry) {
|
|
handleLocationSelection(place.geometry.location);
|
|
} else {
|
|
const address = $(input).val();
|
|
if (address.length > 0) {
|
|
geocodeAddress(address);
|
|
}
|
|
}
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Geokodowanie tekstu na współrzędne
|
|
*/
|
|
function geocodeAddress(address) {
|
|
const geocoder = new google.maps.Geocoder();
|
|
geocoder.geocode({ address: address }, (results, status) => {
|
|
if (status === "OK") {
|
|
handleLocationSelection(results[0].geometry.location);
|
|
} else {
|
|
console.error("Geocode failed: " + status);
|
|
}
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Przetwarzanie wybranej lokalizacji
|
|
*/
|
|
function handleLocationSelection(location) {
|
|
map.setCenter(location);
|
|
map.setZoom(11);
|
|
|
|
updateSidebarList(location);
|
|
scrollToMap();
|
|
}
|
|
|
|
/**
|
|
* Aktualizacja listy salonów w panelu bocznym z uwzględnieniem promienia
|
|
*/
|
|
function updateSidebarList(location) {
|
|
const searchLat = location.lat();
|
|
const searchLng = location.lng();
|
|
const $resultsContainer = $('#results-list');
|
|
|
|
// 1. Czyszczenie kontenera
|
|
$resultsContainer.empty();
|
|
$('#results-list').parent().addClass('has-results');
|
|
|
|
// 2. Filtrowanie i obliczanie dystansu
|
|
let filtered = showrooms
|
|
.map(item => ({
|
|
...item,
|
|
distance: calculateDistance(searchLat, searchLng, item.position.lat, item.position.lng)
|
|
}))
|
|
.filter(item => item.distance <= MAX_DISTANCE_KM)
|
|
.sort((a, b) => a.distance - b.distance);
|
|
|
|
// 3. Sprawdzenie wyników
|
|
if (filtered.length === 0) {
|
|
$resultsContainer.append(`<div style="padding:20px; text-align:center;">Nie znaleziono salonów w promieniu ${MAX_DISTANCE_KM} km.</div>`);
|
|
return;
|
|
}
|
|
|
|
// 4. Dodawanie elementów za pomocą .append()
|
|
filtered.forEach(item => {
|
|
const $itemElement = sidebarItem(item);
|
|
$resultsContainer.append($itemElement);
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Generuje bezpieczny i poprawny kod HTML dla pojedynczego elementu listy
|
|
*/
|
|
function sidebarItem(item) {
|
|
const lat = item.position.lat;
|
|
const lng = item.position.lng;
|
|
const distance = item.distance.toFixed(1);
|
|
|
|
const itemType = 'SALON SPRZEDAŻY';
|
|
|
|
console.log('item: ', item);
|
|
|
|
const $el = `
|
|
<div class="sidebar-item" data-lat="${lat}" data-lng="${lng}">
|
|
<div class="sidebar-item--wrapper">
|
|
<div class="item-type"><span>${itemType}<\/span><\/div>
|
|
<div class="item-working-hours">
|
|
<p>
|
|
${item.data_popup.time}
|
|
<\/p>
|
|
<\/div>
|
|
<div class="item-location">
|
|
<p>
|
|
${item.data.text}
|
|
<\/p>
|
|
<\/div>
|
|
<div class="item-contact">
|
|
<ul>
|
|
${renderContacts(item)}
|
|
<\/ul>
|
|
<\/div>
|
|
<\/div>
|
|
<\/div>
|
|
`;
|
|
|
|
return $el;
|
|
}
|
|
|
|
function renderContacts(item) {
|
|
if (item.contact) {
|
|
let html = '';
|
|
|
|
if (Array.isArray(item.contact.phone)) {
|
|
item.contact.phone.forEach(phone => {
|
|
html += `
|
|
<li>
|
|
<img src="/upload/filemanager/icon/iphone.svg" alt="">
|
|
<a href="tel:${phone.replace(/\s+/g, '')}">${phone}<\/a>
|
|
<\/li>
|
|
`;
|
|
});
|
|
}
|
|
|
|
if (Array.isArray(item.contact.email)) {
|
|
item.contact.email.forEach(email => {
|
|
html += `
|
|
<li>
|
|
<img src="/upload/filemanager/icon/envelope.svg" alt="">
|
|
<a href="mailto:${email}">${email}<\/a>
|
|
<\/li>
|
|
`;
|
|
});
|
|
}
|
|
|
|
return html;
|
|
}
|
|
|
|
return '';
|
|
}
|
|
|
|
/**
|
|
* Globalna obsługa kliknięcia w elementy listy (Event Delegation)
|
|
*/
|
|
$(document).on('click', '.sidebar-item', function() {
|
|
// Pobieramy współrzędne z atrybutów data-
|
|
const lat = $(this).data('lat');
|
|
const lng = $(this).data('lng');
|
|
|
|
$(this).addClass('active').siblings().removeClass('active');
|
|
|
|
if (lat && lng) {
|
|
focusOnMarker(lat, lng);
|
|
}
|
|
});
|
|
|
|
/**
|
|
* Wyświetlanie szczegółów salonu w popupie
|
|
*/
|
|
function openShowroomPopup(item) {
|
|
const $popup = $('#showroom-popup');
|
|
$popup.find('.info-name p').html(item.data_popup.text);
|
|
$popup.find('.info-time p').html(item.data_popup.time);
|
|
$popup.find('.info-contact p').html(item.data_popup.contact);
|
|
$popup.find('.info-products img').attr('src', item.data_popup.products);
|
|
// $popup.fadeIn();
|
|
$popup.addClass('active');
|
|
}
|
|
|
|
/**
|
|
* Funkcje pomocnicze (Nawigacja i Obliczenia)
|
|
*/
|
|
function focusOnMarker(lat, lng) {
|
|
map.setCenter({lat: parseFloat(lat), lng: parseFloat(lng)});
|
|
map.setZoom(14);
|
|
}
|
|
|
|
function scrollToMap() {
|
|
$('html, body').animate({
|
|
scrollTop: $("#box-map-showrooms").offset().top - 120
|
|
}, 500);
|
|
}
|
|
|
|
function calculateDistance(lat1, lon1, lat2, lon2) {
|
|
const R = 6371;
|
|
const dLat = (lat2 - lat1) * Math.PI / 180;
|
|
const dLon = (lon2 - lon1) * Math.PI / 180;
|
|
const a = Math.sin(dLat/2) * Math.sin(dLat/2) +
|
|
Math.cos(lat1 * Math.PI / 180) * Math.cos(lat2 * Math.PI / 180) * Math.sin(dLon/2) * Math.sin(dLon/2);
|
|
return R * (2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a)));
|
|
}
|
|
|
|
/**
|
|
* Style mapy (Greyscale)
|
|
*/
|
|
function getMapStyles() {
|
|
return [{"featureType":"all","elementType":"all","stylers":[{"saturation":"-100"}]},{"featureType":"administrative","elementType":"all","stylers":[{"saturation":"-100"}]},{"featureType":"landscape","elementType":"all","stylers":[{"saturation":"-100"}]},{"featureType":"landscape.man_made","elementType":"all","stylers":[{"visibility":"on"},{"saturation":"-100"},{"gamma":"1"}]},{"featureType":"poi","elementType":"all","stylers":[{"saturation":"-100"},{"visibility":"simplified"}]},{"featureType":"poi","elementType":"geometry.fill","stylers":[{"saturation":"-100"}]},{"featureType":"poi","elementType":"labels","stylers":[{"visibility":"simplified"}]},{"featureType":"poi","elementType":"labels.text.fill","stylers":[{"saturation":"-100"},{"weight":"6.61"},{"lightness":"0"},{"gamma":"1.5"}]},{"featureType":"poi","elementType":"labels.icon","stylers":[{"saturation":"-100"},{"gamma":"1.5"},{"weight":"0.01"}]},{"featureType":"road","elementType":"labels.icon","stylers":[{"saturation":"-100"}]},{"featureType":"road.highway","elementType":"all","stylers":[{"saturation":"-100"}]},{"featureType":"transit","elementType":"all","stylers":[{"saturation":"-100"}]},{"featureType":"transit","elementType":"labels.text","stylers":[{"saturation":"-100"}]},{"featureType":"transit","elementType":"labels.icon","stylers":[{"saturation":"-100"}]},{"featureType":"water","elementType":"all","stylers":[{"saturation":"-100"}]}];
|
|
}
|
|
|
|
/**
|
|
* Uruchomienie po załadowaniu DOM
|
|
*/
|
|
$(document).ready(function() {
|
|
if (typeof google !== 'undefined') {
|
|
initMap();
|
|
}
|
|
|
|
$(document).on('click', '.close-popup', function() {
|
|
// $('#showroom-popup').fadeOut();
|
|
$('#showroom-popup').removeClass('active');
|
|
});
|
|
});
|
|
|
|
$(document).ready(function() {
|
|
$('body').on('click', '.box-6 .box-info .box-info-right', function(e){
|
|
e.preventDefault()
|
|
|
|
$(this).toggleClass('active')
|
|
$('.box-6 .c-row-2').slideToggle()
|
|
})
|
|
})
|
|
</script>
|