-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-contact.php
442 lines (350 loc) · 19.7 KB
/
page-contact.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
<?php
include_once "includes/dbh.php";
?>
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<!-- Hlavná stránka časopisu Park-->
<!--- basic page needs
================================================== -->
<meta charset="utf-8">
<title>GPM Časopis</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- mobile specific metas
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- CSS
================================================== -->
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/vendor.css">
<link rel="stylesheet" href="css/main.css">
<!-- script
================================================== -->
<script src="js/modernizr.js"></script>
<!-- favicons
================================================== -->
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
</head>
<body id="top">
<!-- preloader
================================================== -->
<!-- <div id="preloader">
<div id="loader" class="dots-fade">
<div></div>
<div></div>
<div></div>
</div>
</div> -->
<!-- header
================================================== -->
<header class="s-header header">
<div class="header__logo">
<a class="logo" href="index.php">
<img src="images/main-logo.png" alt="Homepage">
</a>
</div> <!-- end header__logo -->
<a class="header__search-trigger" href="#0"></a>
<div class="header__search">
<form role="search" method="get" class="header__search-form" action="#">
<label>
<span class="hide-content">Hľadať</span>
<input type="search" class="search-field" placeholder="Type Keywords" value="" name="s" title="Search for:" autocomplete="off">
</label>
<input type="submit" class="search-submit" value="Search">
</form>
<a href="#0" title="Close Search" class="header__overlay-close">Zatvoriť</a>
</div> <!-- end header__search -->
<a class="header__toggle-menu" href="#0" title="Menu"><span>Menu</span></a>
<nav class="header__nav-wrap">
<h2 class="header__nav-heading h6">Prejsť na</h2>
<ul class="header__nav">
<li class="current"><a href="index.php" title="">Domov</a></li>
<li class="has-children">
<a href="#0" title="">Kategórie</a>
<ul class="sub-menu">
<li><a href="categories/kategoria-skola.html">Škola</a></li>
<li><a href="categories/kategoria-filmy.html">Filmy</a></li>
<li><a href="categories/kategoria-hudba.html">Hudba</a></li>
<li><a href="categories/kategoria-recepty.html">Recepty</a></li>
<li><a href="categories/kategoria-hry.html">Hry</a></li>
<li><a href="categories/kategoria-sport.html">Šport</a></li>
</ul>
</li>
<li class="has-children">
<a href="#0" title="">Archív</a>
<ul class="sub-menu">
<li><a href="single-video.html">Predošlé čísla PDF</a></li>
<!-- <li><a href="single-audio.html">Audio Post</a></li>
<li><a href="single-standard.html">Standard Post</a></li> -->
</ul>
</li>
<li><a href="NasTeam.html" title="">Náš Team</a></li>
<li><a href="page-about.html" title="">O nás</a></li>
<li><a href="page-contact.php" title="">Kontakt</a></li>
</ul> <!-- end header__nav -->
<a href="#0" title="Close Menu" class="header__overlay-close close-mobile-menu">Zatvoriť</a>
</nav> <!-- end header__nav-wrap -->
</header> <!-- s-header -->
<!-- s-content
================================================== -->
<section class="s-content s-content--top-padding s-content--narrow">
<div class="row narrow">
<div class="col-full s-content__header">
<h1 class="display-1 display-1--with-line-sep">Kontaktuj nás</h1>
<p class="lead">
Kde a kedy nás nájdeš?
</div>
</div>
<div class="row">
<div class="col-full s-content__main">
<p>
<img src="images/thumbs/contact/contact-1000.jpg"
srcset="images/thumbs/contact/contact-2000.jpg 2000w,
images/thumbs/contact/contact-1000.jpg 1000w,
images/thumbs/contact/contact-500.jpg 500w"
sizes="(max-width: 2000px) 100vw, 2000px" alt="">
</p>
<h2>KONTAKT</h2>
<p>
Časopis Park môžeš kontaktovať tak, že sa zastavíš u niektorého z našich zástupcov (ktorých nájdeš <a href="#0">tu</a>) počas veľkej prestávky.
Najlepšie však bude ak nám napíšeš email na <strong>[email protected]</strong> alebo sa nám ozveš na niektorej z našich sociálnych sietí (link dole).</p>
<div id="map-wrap">
<!-- <div id="map-container"></div>
<div id="map-zoom-in"></div>
<div id="map-zoom-out"></div> -->
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2631.1435586706048!2d21.252202515850453!3d48.740954416921966!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x473ee0f2770bbef3%3A0x577e578fb9404e12!2zUGFyayBtbMOhZGXFvmUgNjM0LzUsIDA0MCAwMSBLb8WhaWNl!5e0!3m2!1ssk!2ssk!4v1588626717318!5m2!1ssk!2ssk" width="100%" height="450" frameborder="0" style="border:0;" allowfullscreen="true" aria-hidden="false" tabindex="0"></iframe>
</div>
<div class="row">
<div class="col-six tab-full">
<h4>Adresa</h4>
<p>
Park mládeže 5<br>
Košice, Slovensko<br>
040 01
</p>
</div>
<div class="col-six tab-full">
<h4>Mail</h4>
<p>[email protected]<br>
[email protected] <br>
</p>
</div>
</div>
<h4>Napíš nám tu:</h4>
<form name="cForm" id="cForm" class="contact-form" method="post" action="includes/contact-formulary.php">
<fieldset>
<div>
<input name="cName" id="cName" class="full-width" placeholder="Tvoje Meno*" value="" type="text">
</div>
<div class="form-field">
<input name="cEmail" id="cEmail" class="full-width" placeholder="Tvoj Email*" value="" type="text">
</div>
<div class="form-field">
<input name="cClass" id="cWebsite" class="full-width" placeholder="Trieda" value="" type="text">
</div>
<div class="message form-field">
<textarea name="cMessage" id="cMessage" class="full-width" placeholder="Tvoja správa*"></textarea>
</div>
<button type="submit" name ="submit" class="submit btn btn--primary btn--large full-width">Odoslať spŕavu</button>
</fieldset>
</form>
<?php
//error handling
if (!isset($_GET["error"])) {
echo "";
} else {
$contactCheck = $_GET["error"];
if ($contactCheck == "empty") {
echo "<p style = 'font-weight: bold; color:red;'> Prosím vyplňte všetky povinné okná! </p>";
//keep the page scroll
echo " <script>
document.addEventListener('DOMContentLoaded', function(event) {
var scrollpos = localStorage.getItem('scrollpos');
if (scrollpos) window.scrollTo(0, scrollpos);
});
window.onbeforeunload = function(e) {
localStorage.setItem('scrollpos', window.scrollY);
};
</script>";
} elseif($contactCheck == "invalidmail")
echo "<p style = 'font-weight: bold; color:red;'> Prosím zadajte platnú E-Mailovú adresu!</p>";
//keep the page scroll
echo " <script>
document.addEventListener('DOMContentLoaded', function(event) {
var scrollpos = localStorage.getItem('scrollpos');
if (scrollpos) window.scrollTo(0, scrollpos);
});
window.onbeforeunload = function(e) {
localStorage.setItem('scrollpos', window.scrollY);
};
</script>";
}
?>
</div> <!-- s-content__main -->
</div> <!-- end row -->
</section> <!-- end s-content -->
<!-- s-extra
================================================== -->
<section class="s-extra">
<div class="row">
<div class="col-seven md-six tab-full popular">
<h3>Populárne články</h3>
<div class="block-1-2 block-m-full popular__posts">
<article class="col-block popular__post">
<a href="#0" class="popular__thumb">
<img src="images/thumbs/small/tulips-150.jpg" alt="">
</a>
<h5>Populárny článok</h5>
<section class="popular__meta">
<span class="popular__author"><span>Od</span> <a href="#0">Meno Priezvisko</a></span>
<span class="popular__date"><span>dňa</span> <time datetime="2018-06-14">Jun 14, 2018</time></span>
</section>
</article>
<article class="col-block popular__post">
<a href="#0" class="popular__thumb">
<img src="images/thumbs/small/wheel-150.jpg" alt="">
</a>
<h5><a href="#0">Populárny článok</a></h5>
<section class="popular__meta">
<span class="popular__author"><span>Od</span> <a href="#0">Meno Priezvisko</a></span>
<span class="popular__date"><span>dňa</span> <time datetime="2018-06-12">30. Mája, 2020</time></span>
</section>
</article>
<article class="col-block popular__post">
<a href="#0" class="popular__thumb">
<img src="images/thumbs/small/shutterbug-150.jpg" alt="">
</a>
<h5><a href="#0">Populárny článok</a></h5>
<section class="popular__meta">
<span class="popular__author"><span>Od</span> <a href="#0">Meno Priezvisko</a></span>
<span class="popular__date"><span>dňa</span> <time datetime="2018-06-12">30. Mája, 2020</time></span>
</section>
</article>
<article class="col-block popular__post">
<a href="#0" class="popular__thumb">
<img src="images/thumbs/small/cookies-150.jpg" alt="">
</a>
<h5><a href="#0">Populárny článok</a></h5>
<section class="popular__meta">
<span class="popular__author"><span>Od</span> <a href="#0"> Meno Priezvisko</a></span>
<span class="popular__date"><span>dňa</span> <time datetime="2018-06-12">30. Mája, 2020</time></span>
</section>
</article>
<article class="col-block popular__post">
<a href="#0" class="popular__thumb">
<img src="images/thumbs/small/beetle-150.jpg" alt="">
</a>
<h5><a href="#0">Populárny článok</a></h5>
<section class="popular__meta">
<span class="popular__author"><span>Od</span> <a href="#0">Meno Priezvisko</a></span>
<span class="popular__date"><span>dňa</span> <time datetime="2018-06-12">30. Mája, 2020</time></span>
</section>
</article>
<article class="col-block popular__post">
<a href="#0" class="popular__thumb">
<img src="images/thumbs/small/salad-150.jpg" alt="">
</a>
<h5>Populárny článok</h5>
<section class="popular__meta">
<span class="popular__author"><span>Od</span> <a href="#0"> Meno Priezvisko</a></span>
<span class="popular__date"><span>dňa</span> <time datetime="2018-06-12">30. Mája, 2020</time></span>
</section>
</article>
</div> <!-- end popular_posts -->
</div> <!-- end popular -->
<div class="col-four md-six tab-full end">
<div class="row">
<div class="col-six md-six mob-full categories">
<h3>Kategórie</h3>
<ul class="linklist">
<li><a href="#0">Škola</a></li>
<li><a href="#0">Filmy</a></li>
<li><a href="#0">Hudba</a></li>
<li><a href="#0">Recepty</a></li>
<li><a href="#0">Hry</a></li>
<li><a href="#0">Šport</a></li>
</ul>
</div> <!-- end categories -->
<div class="col-six md-six mob-full sitelinks">
<h3>Ostatné</h3>
<ul class="linklist">
<li><a href="#0">Domov</a></li>
<li><a href="#0">Archív</a></li>
<li><a href="#0">Náš team</a></li>
<li><a href="#0">O nás</a></li>
<li><a href="#0">Kontakt</a></li>
<li><a href="#0">Zásady používania</a></li>
</ul>
</div> <!-- end sitelinks -->
</div>
</div>
</div> <!-- end row -->
</section> <!-- end s-extra -->
<!-- s-footer
================================================== -->
<footer class="s-footer">
<div class="s-footer__main">
<div class="row">
<div class="col-six tab-full s-footer__about">
<h4>O časopise Park</h4>
<p>Fugiat quas eveniet voluptatem natus. Placeat error temporibus magnam sunt optio aliquam. Ut ut occaecati placeat at.
Fuga fugit ea autem. Dignissimos voluptate repellat occaecati minima dignissimos mollitia consequatur.
Sit vel delectus amet officiis repudiandae est voluptatem. Tempora maxime provident nisi et fuga et enim exercitationem ipsam. Culpa error
temporibus magnam est voluptatem.</p>
</div> <!-- end s-footer__about -->
<div class="col-six tab-full s-footer__subscribe">
<h4>Prihlás sa na odber noviniek</h4>
<p>Sit vel delectus amet officiis repudiandae est voluptatem. Tempora maxime provident nisi et fuga et enim exercitationem ipsam. Culpa consequatur occaecati.</p>
<div class="subscribe-form">
<form id="mc-form" class="group" novalidate="true">
<input type="email" value="" name="EMAIL" class="email" id="mc-email" placeholder="Email Address" required="">
<input type="submit" name="subscribe" value="Send">
<label for="mc-email" class="subscribe-message"></label>
</form>
</div>
</div> <!-- end s-footer__subscribe -->
</div>
</div> <!-- end s-footer__main -->
<div class="s-footer__bottom">
<div class="row">
<div class="col-six">
<ul class="footer-social">
<li>
<a href="#0"><i class="fab fa-facebook"></i></a>
</li>
<li>
<a href="#0"><i class="fab fa-twitter"></i></a>
</li>
<li>
<a href="#0"><i class="fab fa-instagram"></i></a>
</li>
<!-- <li>
<a href="#0"><i class="fab fa-youtube"></i></a>
</li>
<li>
<a href="#0"><i class="fab fa-pinterest"></i></a>
</li> -->
</ul>
</div>
<div class="col-six">
<div class="s-footer__copyright">
<span>
Copyright ©<script>document.write(new Date().getFullYear());</script> Všetky práva vyhradené | Táto stránka bola vytvorená zo <i class="fa fa-heart" aria-hidden="true"></i> od <a href="https://www.facebook.com/Tomas.Hani.Hanecak" target="_blank">Tomi Hanečák</a>
</span>
</div>
</div>
</div>
</div> <!-- end s-footer__bottom -->
<div class="go-top">
<a class="smoothscroll" title="Back to Top" href="#top"></a>
</div>
</footer> <!-- end s-footer -->
<!-- Java Script
================================================== -->
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
</body>
</html>