Compare commits
No commits in common. "cb994d8a5bad90bc79f8142b514e0b89a8f41eda" and "790fd8861b3f8f12cbefe60adfde717ad87bc527" have entirely different histories.
cb994d8a5b
...
790fd8861b
Binary file not shown.
110
assets/style.css
110
assets/style.css
@ -1,110 +0,0 @@
|
|||||||
body, html {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
font-family: Arial, sans-serif;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
min-height: 100vh;
|
|
||||||
align-items: center;
|
|
||||||
background-color: #b9b9b9;
|
|
||||||
}
|
|
||||||
|
|
||||||
header #top {
|
|
||||||
background-image: url(/assets/bambus.jpg);
|
|
||||||
color: #fff;
|
|
||||||
text-shadow: #363636 5px 4px;
|
|
||||||
padding: 20px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
header nav {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
flex-grow: 1;
|
|
||||||
background-color: #444444b7;
|
|
||||||
padding: 10px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
header nav > * {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
flex-direction: row;
|
|
||||||
list-style: none;
|
|
||||||
padding: 0;
|
|
||||||
justify-content: center;
|
|
||||||
width: 100%;
|
|
||||||
color: #dfd07a;
|
|
||||||
text-decoration: none;
|
|
||||||
margin: 0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav a:hover {
|
|
||||||
color: rgb(189, 189, 42);
|
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown {
|
|
||||||
position: relative;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown-content {
|
|
||||||
display: none;
|
|
||||||
position: absolute;
|
|
||||||
background-color: #585a59;
|
|
||||||
min-width: 100px;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown:hover .dropdown-content {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown-content a {
|
|
||||||
color: #fff;
|
|
||||||
padding: 12px 16px;
|
|
||||||
text-decoration: none;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown-content a:hover {
|
|
||||||
background-color: #363636;
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
|
||||||
background-color: #333333c7;
|
|
||||||
color: #fff;
|
|
||||||
text-align: center;
|
|
||||||
padding: 10px 0;
|
|
||||||
position: fixed;
|
|
||||||
width: 100%;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer, header {
|
|
||||||
text-align: center;
|
|
||||||
padding: 10px 0;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer > * {
|
|
||||||
display: inline;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
main {
|
|
||||||
display: flex;
|
|
||||||
flex-grow: 1;
|
|
||||||
align-items: center;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 105 KiB |
@ -2,7 +2,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="keywords" content="Bambusove ponozky, ponozky, bambusove ponozky za dobru cenu" viewport="">
|
<meta name="keywords" content="Bambusove ponozky, ponozky, bambusove ponozky za dobru cenu" viewport="">
|
||||||
<title>Bambusové ponožky</title>
|
<title>Bambusové ponožky</title>
|
||||||
<link rel="icon" type="image/x-icon" href="ponozka.png">
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
@ -170,7 +170,7 @@
|
|||||||
<h2>Lacnejšie</h2>
|
<h2>Lacnejšie</h2>
|
||||||
<p>Tu môžete nájsť Lacnejšie ponožky:</p>
|
<p>Tu môžete nájsť Lacnejšie ponožky:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://ecobamboo.sk/sk-SK/product/82003P-W/Bambusove-klasicke-ponozky-damske">Lacnejšie ponožky</a></li>
|
<li><a href="https://example.com/cheap-bamboo-socks-1">Lacnejšie ponožky</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@ -178,7 +178,7 @@
|
|||||||
<h2>Drahšie</h2>
|
<h2>Drahšie</h2>
|
||||||
<p>Tu môžete nájsť Drahšie ponožky:</p>
|
<p>Tu môžete nájsť Drahšie ponožky:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li> <a href="https://www.trenirkaren.sk/panske-ponozky/163729-10pack-ponozky-styx-nizke-bambusove-cierne-10hbn960.html?gad_source=1&gclid=CjwKCAjwmYCzBhA6EiwAxFwfgExqTdhD8HGqHI4OafdxnkXdGbxlYoJLlT5uy__0LdTcjw8IjrTvrBoC7fgQAvD_BwE#/22-velkost-m">Drahšie ponožky</a></li>
|
<li><a href="https://example.com/Quite expensive-bamboo-socks-1">Drahšie ponožky</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@ -186,7 +186,7 @@
|
|||||||
<h2>Najdrahšie</h2>
|
<h2>Najdrahšie</h2>
|
||||||
<p>Tu môžete nájsť Najdrahšie ponožky:</p>
|
<p>Tu môžete nájsť Najdrahšie ponožky:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://www.trenirkaren.sk/panske-ponozky/162497-10pack-ponozky-styx-clenkove-bambusove-cierne-10hbk960.html?gad_source=1&gclid=CjwKCAjwmYCzBhA6EiwAxFwfgFD14oeQOxriGY8n4Gd-7CbWGguXAlA81t3KvUPqpVvP25RXSlahQxoC9dsQAvD_BwE#/21-velkost-l">Najdrahšie ponožky</a></li>
|
<li><a href="https://example.com/Expensive-bamboo-socks-1">Najdrahšie ponožky</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@ -198,7 +198,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<footer>
|
<footer>
|
||||||
© 2024 Moje bambusove ponožky. Copyright rezervovaný.
|
© 2024 Moje bambusove ponožky. Všetok copyright je môj :P .
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -252,20 +252,20 @@
|
|||||||
|
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<form action="">
|
<form action="">
|
||||||
<h1>Prihlásenie do účtu</h1>
|
<h1>Login</h1>
|
||||||
<div class="input-box">
|
<div class="input-box">
|
||||||
<input type="text" placeholder="Používateľské meno">
|
<input type="text" placeholder="Username">
|
||||||
</div>
|
</div>
|
||||||
<div class="input-box">
|
<div class="input-box">
|
||||||
<input type="password"
|
<input type="password"
|
||||||
placeholder="Heslo" required>
|
placeholder="Password" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="remember-forgot">
|
<div class="remember-forgot">
|
||||||
<label><input type="checkbox">Zapamätať si ma </label>
|
<label><input type="checkbox">Remember me </label>
|
||||||
<a href="#">Zabudli ste heslo? </a>
|
<a href="#">Forgot password? </a>
|
||||||
<button type="submit" class="btn">Prihlásiť sa</button>
|
<button type="submit" class="btn">Login</button>
|
||||||
<div class="register-link">
|
<div class="register-link">
|
||||||
<p>Nemáte účet? <a href="#">Zaregistrovať sa</a></p>
|
<p>Dont have an account? <a href="#">Register</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
37
index.php
37
index.php
@ -1,37 +0,0 @@
|
|||||||
<?php
|
|
||||||
$skeleton = file_get_contents('templates/skeleton.html');
|
|
||||||
|
|
||||||
$menu_obsah = file_get_contents('templates/header.html');
|
|
||||||
$out = str_replace('__TEMPLATE_HEADER__', $menu_obsah, $skeleton);
|
|
||||||
|
|
||||||
$footer_obsah = file_get_contents('templates/footer.html');
|
|
||||||
$out = str_replace('__TEMPLATE_FOOTER__', $footer_obsah, $out);
|
|
||||||
|
|
||||||
$nazov_stranky = basename($_SERVER['QUERY_STRING']);
|
|
||||||
if (empty($nazov_stranky)){
|
|
||||||
$nazov_stranky = 'index';
|
|
||||||
}
|
|
||||||
|
|
||||||
$cesta_k_stranke = "stranky/$nazov_stranky.html";
|
|
||||||
if (!file_exists($cesta_k_stranke)) {
|
|
||||||
$cesta_k_stranke = "templates/404.html";
|
|
||||||
}
|
|
||||||
$stranka_obsah = file_get_contents($cesta_k_stranke);
|
|
||||||
$out = str_replace('__TEMPLATE_STRANKA__', $stranka_obsah, $out);
|
|
||||||
|
|
||||||
$cesta_k_skriptu = "scripty/$nazov_stranky.js";
|
|
||||||
$script_obsah = "<script src=\"$cesta_k_skriptu\"></script>";
|
|
||||||
if (!file_exists($cesta_k_skriptu)){
|
|
||||||
$script_obsah = '';
|
|
||||||
}
|
|
||||||
$out = str_replace('__TEMPLATE_SCRIPT__', $script_obsah, $out);
|
|
||||||
|
|
||||||
$cesta_k_stylu = "styly/$nazov_stranky.css";
|
|
||||||
$style_obsah = "<link rel=\"stylesheet\" href=\"$cesta_k_stylu\">";
|
|
||||||
if (!file_exists($cesta_k_stylu)){
|
|
||||||
$style_obsah = '';
|
|
||||||
}
|
|
||||||
$out = str_replace('__TEMPLATE_STYLE__', $style_obsah, $out);
|
|
||||||
|
|
||||||
echo $out;
|
|
||||||
?>
|
|
@ -1 +0,0 @@
|
|||||||
$R<18>0<EFBFBD><30><EFBFBD>h<EFBFBD>v<EFBFBD><76>>-<2D><>h<EFBFBD>$<24>Z)ݣ6<>]4<>}6ӎ<36><D38E>M<EFBFBD><4D>Mt<4D>m5<6D>N<EFBFBD><4E>m8<6D>N<EFBFBD><4E>1<EFBFBD>$R#<23><>
<0A>j<EFBFBD>Qoz<6F><7A>Pj<><6A><EFBFBD><EFBFBD><EFBFBD>o<>PM<50><4D><EFBFBD>ג<EFBFBD>J<EFBFBD><4A>f<EFBFBD><66>ԯ<EFBFBD><D4AF><EFBFBD>4<1F>1K<31><08><><EFBFBD>aDC6O<36><4F><EFBFBD>m;<3B><>~-<2D>'N<>
|
|
@ -1 +0,0 @@
|
|||||||
<1F><>aH<61><15>N:<3A><>
|
|
@ -1,6 +0,0 @@
|
|||||||
<h2>Najdrahšie</h2>
|
|
||||||
<p>Tu môžete nájsť Najdrahšie ponožky:</p>
|
|
||||||
<ul>
|
|
||||||
<a href="LINK NA OBRAZOK" download><img src="LINK NA OBRAZOK"></a>
|
|
||||||
<li><a href="https://www.trenirkaren.sk/panske-ponozky/162497-10pack-ponozky-styx-clenkove-bambusove-cierne-10hbk960.html?gad_source=1&gclid=CjwKCAjwmYCzBhA6EiwAxFwfgFD14oeQOxriGY8n4Gd-7CbWGguXAlA81t3KvUPqpVvP25RXSlahQxoC9dsQAvD_BwE#/21-velkost-l">Najdrahšie ponožky</a></li>
|
|
||||||
</ul>
|
|
@ -1,49 +0,0 @@
|
|||||||
<form method="get">
|
|
||||||
<br>
|
|
||||||
<label for="email">Tu si môžete zadať email:</label><br>
|
|
||||||
<br>
|
|
||||||
<input type="email" id="email" name="email">
|
|
||||||
<input type="submit" value="Odoslať">
|
|
||||||
<hr>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<form action="/action_page.php" method="get" name="prihlasenie">
|
|
||||||
<!-- method moze naberat dve hodnoty post alebo algebricky, default je get-->
|
|
||||||
<br>
|
|
||||||
<label>Tu si zadajte meno a priezvisko</label>
|
|
||||||
<br>
|
|
||||||
<br>
|
|
||||||
<label for="name">Meno</label><br>
|
|
||||||
<input type="text" id="name" name="fname" value="Fero"><br>
|
|
||||||
<br>
|
|
||||||
<label for="name1">Priezvisko</label><br>
|
|
||||||
<input type="text" id="name1" name="1name" value="Mrkvicka"><br><br>
|
|
||||||
<input type="submit" value="Odoslať">
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
<label for="gender">Pohlavie</label><br><br>
|
|
||||||
<input type="radio" id="idmale" name="gender" value="male">
|
|
||||||
<label for="idmale">Muž</label><br>
|
|
||||||
<input type="radio" id="idfemale" name="gender" value="female">
|
|
||||||
<label for="idfemale">Žena</label><br>
|
|
||||||
<input type="radio" id="idother" name="gender" value="other">
|
|
||||||
<label for="idother">Iné</label><br><br>
|
|
||||||
<input type="submit" value="Odoslať">
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<laber for="roknarodenia">Rok narodenia</laber>
|
|
||||||
<br><br>
|
|
||||||
<input type="date" id="datemin" name="datemin" min="1000-01-01"><br><br>
|
|
||||||
<input type="submit" value="Odoslať">
|
|
||||||
<hr>
|
|
||||||
</form> <br>
|
|
||||||
<form>
|
|
||||||
<label for="favcolor">Select your favorite color:</label><br>
|
|
||||||
<br>
|
|
||||||
<input type="color" id="favcolor" name="favcolor">
|
|
||||||
<br><br>
|
|
||||||
<input type="submit" value="Odoslať">
|
|
||||||
</form>
|
|
@ -1,2 +0,0 @@
|
|||||||
<h2>O nás</h2>
|
|
||||||
<p>Vitajte na našej stránke s najlepšími bambusovými ponožkami.</p>
|
|
@ -1,5 +0,0 @@
|
|||||||
<h2>Kontakty</h2>
|
|
||||||
<p>Tu nás môžete kontaktovať:</p>
|
|
||||||
Email: BambusPonozky@gmail.com <br>
|
|
||||||
Ig: BambusovePonozky.majstrovke<br>
|
|
||||||
TT: Majster_a_ponozky
|
|
@ -1,6 +0,0 @@
|
|||||||
<h2>Lacnejšie</h2>
|
|
||||||
<p>Tu môžete nájsť Lacnejšie ponožky:</p>
|
|
||||||
<ul>
|
|
||||||
<a href="LINK NA OBRAZOK" download><img src="LINK NA OBRAZOK"></a>
|
|
||||||
<li><a href="https://ecobamboo.sk/sk-SK/product/82003P-W/Bambusove-klasicke-ponozky-damske">Lacnejšie ponožky</a></li>
|
|
||||||
</ul>
|
|
@ -1,6 +0,0 @@
|
|||||||
<h2>Špeciality</h2>
|
|
||||||
<p>Tu môžete nájsť Špeciality:</p>
|
|
||||||
<ul>
|
|
||||||
<a href="LINK NA OBRAZOK" download><img src="LINK NA OBRAZOK"></a>
|
|
||||||
<li><a href="https://example.com/Special-bamboo-socks-1">Špeciality</a></li>
|
|
||||||
</ul>
|
|
@ -1,6 +0,0 @@
|
|||||||
<h2>Drahšie</h2>
|
|
||||||
<p>Tu môžete nájsť Drahšie ponožky:</p>
|
|
||||||
<ul>
|
|
||||||
<a href="LINK NA OBRAZOK" download><img src="LINK NA OBRAZOK"></a>
|
|
||||||
<li> <a href="https://www.trenirkaren.sk/panske-ponozky/163729-10pack-ponozky-styx-nizke-bambusove-cierne-10hbn960.html?gad_source=1&gclid=CjwKCAjwmYCzBhA6EiwAxFwfgExqTdhD8HGqHI4OafdxnkXdGbxlYoJLlT5uy__0LdTcjw8IjrTvrBoC7fgQAvD_BwE#/22-velkost-m">Drahšie ponožky</a></li>
|
|
||||||
</ul>
|
|
@ -1 +0,0 @@
|
|||||||
<h1>zlý request</h1>
|
|
@ -1 +0,0 @@
|
|||||||
<p>© 2024 Moje bambusove ponožky. Copyright rezervovaný.</p>
|
|
@ -1,18 +0,0 @@
|
|||||||
<div id="top">
|
|
||||||
<h1>Bambusové ponožky od majstra</h1>
|
|
||||||
</div>
|
|
||||||
<nav>
|
|
||||||
<a href="/index" id="homeLink">Domov</a>
|
|
||||||
<div class="dropdown">
|
|
||||||
<a href="#" class="dropdown">Podľa ceny</a>
|
|
||||||
<div class="dropdown-content">
|
|
||||||
<a href="/lacne" id="lacnejsieLink">Lacnejšie</a>
|
|
||||||
<a href="/stredne" id="drahsieLink">Drahšie</a>
|
|
||||||
<a href="/drahe" id="najdrahsieLink">Najdrahšie</a>
|
|
||||||
<a href="/specialne" id="specialityLink">Špeciality</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a href="/kontakt" class="socklink" data-idcko="contactLinkCont" id="contactLink">Kontakty</a>
|
|
||||||
<a href="/formular" class="socklink" data-idcko="formularLinkCont" id="formularLink">Formular</a>
|
|
||||||
|
|
||||||
</nav>
|
|
@ -1,30 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="sk">
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="keywords" content="Bambusove ponozky, ponozky, bambusove ponozky za dobru cenu" viewport="">
|
|
||||||
<meta name="description" content="Bambusové ponožky od majstra">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<link rel="stylesheet" href="/assets/style.css" />
|
|
||||||
<link rel="icon" href="/assets/favicon.png" type="image/png">
|
|
||||||
<script src="/assets/script.js"></script>
|
|
||||||
<title>Bambusové ponožky</title>
|
|
||||||
__TEMPLATE_SCRIPT__
|
|
||||||
__TEMPLATE_STYLE__
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
__TEMPLATE_HEADER__
|
|
||||||
</header>
|
|
||||||
<main>
|
|
||||||
__TEMPLATE_STRANKA__
|
|
||||||
</main>
|
|
||||||
<footer>
|
|
||||||
__TEMPLATE_FOOTER__
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
Loading…
Reference in New Issue
Block a user