Lekcja 2
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
dashboard/
|
||||
9
assets/css/blog.css
Normal file
@@ -0,0 +1,9 @@
|
||||
article {
|
||||
background-color: #363636;
|
||||
border: #666666 2px solid;
|
||||
margin-top: .5rem;
|
||||
margin-bottom: .5rem;
|
||||
padding: .5rem;
|
||||
border-radius: .5rem;
|
||||
font-size: 12pt;
|
||||
}
|
||||
203
assets/css/styl.css
Normal file
@@ -0,0 +1,203 @@
|
||||
@font-face {
|
||||
font-family: Montserrat;
|
||||
src: url(https://darksteveneq.nonamesoft.xyz/assets/fonts/Montserrat-VariableFont_wght.ttf);
|
||||
}
|
||||
|
||||
html {
|
||||
line-height: 1.3;
|
||||
font-size: 13pt;
|
||||
user-select: none;
|
||||
font-family: Montserrat, Arial, Helvetica, sans-serif;
|
||||
color: #eeeeee;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #111111;
|
||||
background-image: url("https://darksteveneq.nonamesoft.xyz/assets/images/V3.2garden.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50% 50%;
|
||||
background-attachment: fixed;
|
||||
background-size: cover;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 0%;
|
||||
padding: 0%;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 11pt;
|
||||
color: #dddddd;
|
||||
}
|
||||
|
||||
small.ps {
|
||||
display: inline-block;
|
||||
color: #999999;
|
||||
margin-top: .25rem;
|
||||
margin-bottom: .25rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #89b4fa;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #b4befe;
|
||||
text-underline-offset: 6px;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-top: .5rem;
|
||||
margin-bottom: .5rem;
|
||||
padding-left: 2rem;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-top: .5rem;
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #111111;
|
||||
padding: .25rem;
|
||||
border-radius: .25rem;
|
||||
border: #bbbbbb groove 2px;
|
||||
}
|
||||
|
||||
hr {
|
||||
margin-top: .75rem;
|
||||
margin-bottom: .75rem;
|
||||
margin-left: -.75rem;
|
||||
margin-right: -.75rem;
|
||||
border-radius: .5rem;
|
||||
}
|
||||
|
||||
body {
|
||||
width: 72rem;
|
||||
min-height: 49rem;
|
||||
margin: auto;
|
||||
background-color: #232323bb;
|
||||
backdrop-filter: blur(16px);
|
||||
border-radius: .5rem;
|
||||
box-shadow: 0px 4px 2px 6px #444444;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: #999999 solid .25rem;
|
||||
}
|
||||
|
||||
aside nav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
nav a {
|
||||
margin-left: .3rem;
|
||||
margin-right: .3rem;
|
||||
}
|
||||
|
||||
main {
|
||||
flex-grow: 1;
|
||||
font-size: 14pt;
|
||||
padding-left: .5rem;
|
||||
padding-right: .5rem;
|
||||
}
|
||||
|
||||
img#logo {
|
||||
float: left;
|
||||
aspect-ratio: 1;
|
||||
margin-right: 1rem;
|
||||
height: 4.25rem;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
aside {
|
||||
min-width: 14rem;
|
||||
max-width: 14rem;
|
||||
margin-top: -.75rem;
|
||||
margin-bottom: -.75rem;
|
||||
padding: .75rem;
|
||||
}
|
||||
|
||||
aside#left {
|
||||
border-right: #666666 2px solid;
|
||||
margin-right: .25rem;
|
||||
padding-left: 0%;
|
||||
}
|
||||
|
||||
aside#right {
|
||||
border-left: #666666 2px solid;
|
||||
margin-left: .25rem;
|
||||
padding-right: 0%;
|
||||
}
|
||||
|
||||
header {
|
||||
padding: 1rem;
|
||||
background-color: #363636;
|
||||
background: linear-gradient(#363636, #282828);
|
||||
border-bottom: #666666 2px solid;
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 1rem;
|
||||
background-color: #303030;
|
||||
text-align: center;
|
||||
border-top: #666666 2px solid;
|
||||
}
|
||||
|
||||
section {
|
||||
margin: .75rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
footer p {
|
||||
margin-top: .25rem;
|
||||
margin-bottom: .1rem;
|
||||
}
|
||||
|
||||
|
||||
img.banner {
|
||||
width: calc(88px * 1.25);
|
||||
height: calc(31px * 1.25);
|
||||
}
|
||||
|
||||
@media (width <= 1024px) {
|
||||
aside {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div#content {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (width <= 640px) {
|
||||
img#logo {
|
||||
float: none;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
a {
|
||||
text-wrap-mode: wrap;
|
||||
}
|
||||
|
||||
img.banner {
|
||||
width: calc(88px * 1);
|
||||
height: calc(31px * 1);
|
||||
}
|
||||
}
|
||||
BIN
assets/images/kalendarz.gif
Normal file
|
After Width: | Height: | Size: 200 KiB |
BIN
assets/images/koralowa_wyspa.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
assets/images/logo.jpg
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
assets/images/osoba1.jpg
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
assets/images/stary fanatyk wędkarstwa.jpg
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
assets/images/tekst.jpg
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
assets/images/wycieczki/1.jpg
Normal file
|
After Width: | Height: | Size: 55 KiB |
BIN
assets/images/wycieczki/2.jpg
Normal file
|
After Width: | Height: | Size: 110 KiB |
BIN
assets/images/wycieczki/3.jpg
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
assets/images/wycieczki/4.jpg
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
assets/images/wycieczki/5.jpg
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
assets/images/wycieczki/6.jpg
Normal file
|
After Width: | Height: | Size: 95 KiB |
BIN
assets/images/wycieczki/7.jpg
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
assets/images/wycieczki/8.jpg
Normal file
|
After Width: | Height: | Size: 85 KiB |
BIN
assets/images/wycieczki/9.jpg
Normal file
|
After Width: | Height: | Size: 69 KiB |
53
zad1.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
||||
<title>Zadanie 1</title>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='/assets/css/styl.css'>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
document.getElementById("browser").innerText =
|
||||
`Korzystasz z przeglądarki: ${navigator.appName}. Jej nazwa kodowa to: ${navigator.appCodeName}`;
|
||||
});
|
||||
</script>
|
||||
|
||||
<header>
|
||||
<h1>Zadanie 1</h1>
|
||||
Góra
|
||||
</header>
|
||||
<section>
|
||||
<aside id="left">
|
||||
Menu
|
||||
<nav>
|
||||
<a href="./zad1.html">Zadanie 1</a>
|
||||
<a href="./zad2.html">Zadanie 2</a>
|
||||
<a href="./zad3.html">Zadanie 3</a>
|
||||
<a href="./zad4.html">Zadanie 4</a>
|
||||
<a href="./zad5.html">Zadanie 5</a>
|
||||
<a href="./zad6.html">Zadanie 6</a>
|
||||
<a href="./zad7.php">Zadanie 7</a>
|
||||
</nav>
|
||||
</aside>
|
||||
<main>
|
||||
Content
|
||||
</main>
|
||||
<aside id="right">
|
||||
Prawa
|
||||
</aside>
|
||||
</section>
|
||||
<footer>
|
||||
Stopka
|
||||
<p id="browser"></p>
|
||||
<br>
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/athens_acropolis_4793_images_trinitynow.gif" width="88">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/paws.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/anythingbut.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/itoddler.gif" width="88" height="31">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
83
zad2.html
Normal file
@@ -0,0 +1,83 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
||||
<title>Zadanie 2</title>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='/assets/css/styl.css'>
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='/assets/css/blog.css'>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Zadanie 2</h1>
|
||||
</header>
|
||||
<section>
|
||||
<aside id="left">
|
||||
Menu
|
||||
<nav>
|
||||
<a href="./zad1.html">Zadanie 1</a>
|
||||
<a href="./zad2.html">Zadanie 2</a>
|
||||
<a href="./zad3.html">Zadanie 3</a>
|
||||
<a href="./zad4.html">Zadanie 4</a>
|
||||
<a href="./zad5.html">Zadanie 5</a>
|
||||
<a href="./zad6.html">Zadanie 6</a>
|
||||
<a href="./zad7.php">Zadanie 7</a>
|
||||
</nav>
|
||||
</aside>
|
||||
<main>
|
||||
<article>
|
||||
<h3>Google Ultron</h3>
|
||||
Szybka przeglądarka wyglądająca identycznie jak Chrome którą używają w NASA.
|
||||
</article>
|
||||
<article>
|
||||
<iframe
|
||||
src="https://www.youtube-nocookie.com/embed/bjKLjGbL-W0?si=aCbC3m9NnZ-Qt1Tp"
|
||||
style="aspect-ratio: calc(16/9);width: 100%;"
|
||||
title="YouTube video player"
|
||||
frameborder="0"
|
||||
allow="encrypted-media; web-share"
|
||||
referrerpolicy="strict-origin-when-cross-origin"
|
||||
allowfullscreen
|
||||
></iframe>
|
||||
</article>
|
||||
<article><code style="display: inline-block;">
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
path: dawdiuawodihawod
|
||||
- run: wget -rN ga7 od8a9tw9dpy
|
||||
- run: ls -la
|
||||
- run: cd diaud w9dy424 && ls -la
|
||||
- run: cd adigabiovw0dyq2 && git config user.email 471987v nmidyawdca && git config user.name vna8y91nyv8192y3
|
||||
- run: cd vawv283t1v83y91y4v && git add . && git commit -m "vawv29371-4mv" && git push || false
|
||||
</code></article>
|
||||
</main>
|
||||
<aside id="right">
|
||||
Dodatkowa nawigacja
|
||||
<iframe src="https://youads.nonamesoft.xyz/ads/site"
|
||||
title="YouAds Ads Site"
|
||||
width="240"
|
||||
style="border:none;width: 240px;">
|
||||
</iframe>
|
||||
<iframe src="https://youads.nonamesoft.xyz/ads/site"
|
||||
title="YouAds Ads Site"
|
||||
width="240"
|
||||
style="border:none;width: 240px;">
|
||||
</iframe>
|
||||
<iframe src="https://youads.nonamesoft.xyz/ads/site"
|
||||
title="YouAds Ads Site"
|
||||
width="240"
|
||||
style="border:none;width: 240px;">
|
||||
</iframe>
|
||||
</aside>
|
||||
</section>
|
||||
<footer>
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/athens_acropolis_4793_images_trinitynow.gif" width="88">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/paws.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/anythingbut.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/itoddler.gif" width="88" height="31">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
66
zad3.html
Normal file
@@ -0,0 +1,66 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
||||
<title>Zadanie 3</title>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='/assets/css/styl.css'>
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='/assets/css/blog.css'>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Zadanie 3</h1>
|
||||
<nav>
|
||||
<a href="./zad1.html">Zadanie 1</a>
|
||||
<a href="./zad2.html">Zadanie 2</a>
|
||||
<a href="./zad3.html">Zadanie 3</a>
|
||||
<a href="./zad4.html">Zadanie 4</a>
|
||||
<a href="./zad5.html">Zadanie 5</a>
|
||||
<a href="./zad6.html">Zadanie 6</a>
|
||||
<a href="./zad7.php">Zadanie 7</a>
|
||||
</nav>
|
||||
</header>
|
||||
<section>
|
||||
<main>
|
||||
<div style="display:grid; grid-template-rows: 5rem; grid-template-columns: 50% 50%">
|
||||
<article>Blok lewy</article>
|
||||
<article>Blok prawy</article>
|
||||
</div>
|
||||
<br>
|
||||
<div style="display:grid; grid-template-rows: 5rem; grid-template-columns: 33% 33% 33%">
|
||||
<article>Blok boczny</article>
|
||||
<article>Blok główny</article>
|
||||
<article>Blok sekcji</article>
|
||||
</div>
|
||||
<br>
|
||||
<div style="display:grid; grid-template-rows: 5rem 5rem; grid-template-columns: 50% 50%; column-gap:1rem;">
|
||||
<article>Blok karty</article>
|
||||
<article>Blok karty</article>
|
||||
<article>Blok karty</article>
|
||||
<article>Blok karty</article>
|
||||
</div>
|
||||
<br>
|
||||
<article style="min-width: 10rem;max-width: 10rem;min-height: 4rem;max-height: 4rem;">
|
||||
<h4>Blok sekcji 1</h4>
|
||||
<article style="min-width: 10rem;max-width: 10rem;min-height: 4rem;max-height: 4rem;margin-left: .5rem;margin-top: .5rem;">
|
||||
<h4>Blok sekcji 2</h4>
|
||||
<article style="min-width: 10rem;max-width: 10rem;min-height: 4rem;max-height: 4rem;margin-left: .5rem;margin-top: .5rem;">
|
||||
<h4>Blok sekcji 3</h4>
|
||||
<article style="min-width: 10rem;max-width: 10rem;min-height: 4rem;max-height: 4rem;margin-left: .5rem;margin-top: .5rem;">
|
||||
<h4>Blok sekcji 4</h4>
|
||||
</article>
|
||||
</article>
|
||||
</article>
|
||||
</article>
|
||||
</main>
|
||||
</section>
|
||||
<footer>
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/athens_acropolis_4793_images_trinitynow.gif" width="88">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/paws.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/anythingbut.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/itoddler.gif" width="88" height="31">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
53
zad4.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
||||
<title>Zadanie 4</title>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='/assets/css/styl.css'>
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='/assets/css/blog.css'>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div style="display: flex; flex-direction: row; justify-content: space-between;">
|
||||
<h1>Zadanie 4</h1>
|
||||
<div style="display: flex; flex-direction: row; align-items: center;">
|
||||
Frosta - Smaczna i prosta
|
||||
</div>
|
||||
</div>
|
||||
<nav>
|
||||
<a href="./zad1.html">Zadanie 1</a>
|
||||
<a href="./zad2.html">Zadanie 2</a>
|
||||
<a href="./zad3.html">Zadanie 3</a>
|
||||
<a href="./zad4.html">Zadanie 4</a>
|
||||
<a href="./zad5.html">Zadanie 5</a>
|
||||
<a href="./zad6.html">Zadanie 6</a>
|
||||
<a href="./zad7.php">Zadanie 7</a>
|
||||
</nav>
|
||||
</header>
|
||||
<section>
|
||||
<aside id="left">Left Blocks</aside>
|
||||
<main>
|
||||
<div style="height: 33%;">
|
||||
Center-Center Blocks
|
||||
</div>
|
||||
<div style="display: grid; height: 33%; grid-template-columns: 50% 50%;">
|
||||
<article>Center-Left Block</article>
|
||||
<article>Center-Right Block</article>
|
||||
</div>
|
||||
<div style="height: 33%;">
|
||||
Module Contents
|
||||
</div>
|
||||
</main>
|
||||
<aside id="right">Right Blocks</aside>
|
||||
</section>
|
||||
<footer>
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/athens_acropolis_4793_images_trinitynow.gif" width="88">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/paws.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/anythingbut.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/itoddler.gif" width="88" height="31">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
41
zad5.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
||||
<title>Zadanie 5</title>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='/assets/css/styl.css'>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Zadanie 5</h1>
|
||||
<nav>
|
||||
<a href="./zad1.html">Zadanie 1</a>
|
||||
<a href="./zad2.html">Zadanie 2</a>
|
||||
<a href="./zad3.html">Zadanie 3</a>
|
||||
<a href="./zad4.html">Zadanie 4</a>
|
||||
<a href="./zad5.html">Zadanie 5</a>
|
||||
<a href="./zad6.html">Zadanie 6</a>
|
||||
<a href="./zad7.php">Zadanie 7</a>
|
||||
</nav>
|
||||
</header>
|
||||
<section>
|
||||
<main style="display: flex; flex-direction: row;flex-wrap: wrap; gap: .5rem;">
|
||||
<img src="assets/images/kalendarz.gif" />
|
||||
<img src="assets/images/koralowa_wyspa.jpg" />
|
||||
<img src="assets/images/logo.jpg" />
|
||||
<img src="assets/images/osoba1.jpg" />
|
||||
<img src="assets/images/stary fanatyk wędkarstwa.jpg" />
|
||||
<img src="assets/images/tekst.jpg" />
|
||||
</main>
|
||||
</section>
|
||||
<footer>
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/athens_acropolis_4793_images_trinitynow.gif" width="88">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/paws.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/anythingbut.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/itoddler.gif" width="88" height="31">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
217
zad6.html
Normal file
@@ -0,0 +1,217 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
||||
<title>Zadanie 6</title>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='/assets/css/styl.css'>
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='/assets/css/blog.css'>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Zadanie 6</h1>
|
||||
<nav>
|
||||
<a href="./zad1.html">Zadanie 1</a>
|
||||
<a href="./zad2.html">Zadanie 2</a>
|
||||
<a href="./zad3.html">Zadanie 3</a>
|
||||
<a href="./zad4.html">Zadanie 4</a>
|
||||
<a href="./zad5.html">Zadanie 5</a>
|
||||
<a href="./zad6.html">Zadanie 6</a>
|
||||
</nav>
|
||||
</header>
|
||||
<section>
|
||||
<main>
|
||||
<article>
|
||||
<h4>Zadanie 1</h4>
|
||||
<form method="get" action="zad6.html">
|
||||
<button type="submit">Wyślij</button>
|
||||
</form>
|
||||
</article>
|
||||
<article>
|
||||
<h4>Zadanie 2</h4>
|
||||
<form method="get" action="zad6.html">
|
||||
<div>
|
||||
<label for="imie">Imię</label>
|
||||
<input id="imie" name="imie" type="text" required placeholder="Wpisz imię">
|
||||
</div>
|
||||
<div>
|
||||
<label for="nazwisko">Nazwisko</label>
|
||||
<input id="nazwisko" name="nazwisko" type="text" required placeholder="Wpisz nazwisko">
|
||||
</div>
|
||||
<div>
|
||||
<label for="email">E-mail</label>
|
||||
<input id="email" name="email" type="email" required placeholder="np. ala@szkola.pl" autocomplete="email">
|
||||
</div>
|
||||
|
||||
<button type="submit">Wyślij</button>
|
||||
</form>
|
||||
</article>
|
||||
<article>
|
||||
<h4>Zadanie 3</h4>
|
||||
<form method="get" action="zad6.html">
|
||||
<div>
|
||||
<label for="nazwa_kontaktu"></label>
|
||||
<input id="nazwa_kontaktu" name="nazwa_kontaktu" type="text" title="Kto?" placeholder="Nazwa kontaktu">
|
||||
</div>
|
||||
<div>
|
||||
<label for="telefon">Telefon</label>
|
||||
<input id="telefon" name="telefon" type="tel" pattern="\d{9}" title="Wpisz dokładnie 9 cyfr" placeholder="np. 501234567" inputmode="numeric">
|
||||
</div>
|
||||
<div>
|
||||
<label for="miasto">Miasto</label>
|
||||
<input id="miasto" required maxlength="40" placeholder="Wpisz nazwę miasta">
|
||||
</div>
|
||||
|
||||
<button type="submit">Wyślij</button>
|
||||
</form>
|
||||
</article>
|
||||
<article>
|
||||
<h4>Zadanie 4</h4>
|
||||
<form method="get" action="zad6.html">
|
||||
<div>
|
||||
<label for="haslo">Hasło</label>
|
||||
<input id="haslo" name="haslo" type="password" required minlength="8" placeholder="min. 8 znaków">
|
||||
</div>
|
||||
<div>
|
||||
<label for="phaslo">Powtórz Hasło</label>
|
||||
<input id="phaslo" name="phaslo" type="password" required minlength="8" placeholder="min. 8 znaków">
|
||||
</div>
|
||||
<div>
|
||||
<label for="wiek">Wiek</label>
|
||||
<input id="wiek" name="wiek" type="number" min="10" max="120" step="1" placeholder="np. 16">
|
||||
</div>
|
||||
<div>
|
||||
<label for="sztuki">Liczba sztuk</label>
|
||||
<input id="sztuki" name="sztuka" type="number" min="1" max="10" step="1" required>
|
||||
</div>
|
||||
|
||||
<button type="submit">Wyślij</button>
|
||||
</form>
|
||||
</article>
|
||||
<article>
|
||||
<h4>Zadanie 5</h4>
|
||||
<form method="get" action="zad6.html">
|
||||
<fieldset>
|
||||
<legend>Sposób dostawy</legend>
|
||||
<div>
|
||||
<input type="radio" id="d-paczkomat" name="dostawa" value="paczkomat" checked>
|
||||
<label for="d-paczkomat">Paczkomat</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" id="d-kurier" name="dostawa" value="kurier">
|
||||
<label for="d-kurier">Kurier</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" id="d-golab" name="dostawa" value="golab">
|
||||
<label for="d-golab">Gołąb pocztowy</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" id="d-dron" name="dostawa" value="dron">
|
||||
<label for="d-dron" title="Dokładniej Hadid 110">Dron</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Płeć</legend>
|
||||
<div>
|
||||
<input type="radio" id="p-m" name="plec" value="p">
|
||||
<label for="p-m">Mężczyzna</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" id="p-k" name="plec" value="k">
|
||||
<label for="p-k">Kobieta</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" id="p-h" name="plec" value="h">
|
||||
<label for="p-h">Helikopter Bojowy</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" id="p-n" name="plec" value="n">
|
||||
<label for="p-n">Wolę nie podawać</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
<button type="submit">Wyślij</button>
|
||||
</form>
|
||||
</article>
|
||||
<article>
|
||||
<h4>Zadanie 6</h4>
|
||||
<form method="get" action="zad6.html">
|
||||
<fieldset>
|
||||
<legend>Ulubione języki programowania</legend>
|
||||
<div>
|
||||
<input type="checkbox" id="j-cb" name="jezyk" value="cb">
|
||||
<label for="j-cb">CBot</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" id="j-spp" name="jezyk" value="spp">
|
||||
<label for="j-spp">SourcePawn++</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" id="j-bf" name="jezyk" value="bf">
|
||||
<label for="j-bf">Brainfuck</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" id="j-hc" name="jezyk" value="hc">
|
||||
<label for="j-hc">HolyC</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div>
|
||||
<input type="checkbox" id="akcept" name="akcept" value="akcept">
|
||||
<label for="akcept">Akceptuję regulamin</label>
|
||||
</div>
|
||||
<button type="submit">Wyślij</button>
|
||||
</form>
|
||||
</article>
|
||||
<article>
|
||||
<h4>Zadanie 7</h4>
|
||||
<form method="get" action="zad6.html">
|
||||
<select id="przedmioty" name="przedmioty" required>
|
||||
<option value="" selected>-- wybierz --</option>
|
||||
<option value="elsk">ELSK</option>
|
||||
<option value="lsk">LSK</option>
|
||||
<option value="adso">ADSO</option>
|
||||
<option value="so">SO</option>
|
||||
<option value="pp">PP</option>
|
||||
</select>
|
||||
<label for="miasto">Miasto</label>
|
||||
<input id="miasto" placeholder="Miasto" required list="lista-miasta">
|
||||
<datalist id="lista-miasta">
|
||||
<option value="bb">Bielsko-Biała</option>
|
||||
<option value="katzewice">Katowice</option>
|
||||
<option value="zw">Żywiec</option>
|
||||
<option value="gl">Gliwice</option>
|
||||
<option value="pysczkowice">Pyskowice</option>
|
||||
<option value="kt">Kęty</option>
|
||||
</datalist>
|
||||
<button type="submit">Wyślij</button>
|
||||
</form>
|
||||
</article>
|
||||
<article>
|
||||
<h4>Zadanie 8</h4>
|
||||
<form method="get" action="zad6.html">
|
||||
<label for="wiadomosc">Wiadomość</label>
|
||||
<textarea required id="wiadomosc" name="wiadomosc" rows="4" cols="40" placeholder="Twoja wiadomość..." maxlength="200"></textarea>
|
||||
max 200 znaków
|
||||
<button type="submit">Wyślij</button>
|
||||
</form>
|
||||
</article>
|
||||
<article>
|
||||
<h4>Zadanie 9</h4>
|
||||
<form method="get" action="zad6.html">
|
||||
<input type="hidden" name="formularz_id" value="kontakt_2025">
|
||||
<label for="ocena">Ocena (1-10)</label>
|
||||
<input id="ocena" name="ocena" type="range" min="1" max="10" step="1" value="5">
|
||||
<button type="reset">Reset</button>
|
||||
</form>
|
||||
</article>
|
||||
</main>
|
||||
</section>
|
||||
<footer>
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/athens_acropolis_4793_images_trinitynow.gif" width="88">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/paws.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/anythingbut.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/itoddler.gif" width="88" height="31">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
100
zad7.php
Normal file
@@ -0,0 +1,100 @@
|
||||
<?php
|
||||
$conn = mysqli_connect("localhost", "root", "");
|
||||
mysqli_select_db($conn, "biuro");
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
||||
<title>Zadanie 7</title>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='/assets/css/styl.css'>
|
||||
<link rel='stylesheet' type='text/css' media='screen' href='/assets/css/blog.css'>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Zadanie 7</h1>
|
||||
<nav>
|
||||
<a href="./zad1.html">Zadanie 1</a>
|
||||
<a href="./zad2.html">Zadanie 2</a>
|
||||
<a href="./zad3.html">Zadanie 3</a>
|
||||
<a href="./zad4.html">Zadanie 4</a>
|
||||
<a href="./zad5.html">Zadanie 5</a>
|
||||
<a href="./zad6.html">Zadanie 6</a>
|
||||
<a href="./zad7.php">Zadanie 7</a>
|
||||
</nav>
|
||||
</header>
|
||||
<section style="display: initial;">
|
||||
<div style="text-align: center; border-bottom: #666666 2px solid; margin-left: -.75rem; margin-right: -.75rem; margin-top: -.25rem; margin-bottom: .5rem;">
|
||||
<h3>Wycieczki, na które są wolne miejsca</h3>
|
||||
<ul style="list-style-type: none;padding: 0;">
|
||||
<?php
|
||||
$wycieczki = mysqli_query($conn, "SELECT * FROM wycieczki WHERE dostepna = 1 ORDER BY dataWyjazdu;");
|
||||
|
||||
while($row = mysqli_fetch_array($wycieczki))
|
||||
{
|
||||
echo "<li>".$row["cel"]." <b>Cena:</b> ".$row["cena"]."zł <b>Data wyjazdu:</b> ".$row["dataWyjazdu"]."</li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<section>
|
||||
<aside id="left">
|
||||
<h3>Bestsellery</h3>
|
||||
<ul>
|
||||
<?php
|
||||
$bestseller = mysqli_query($conn, "SELECT cena, cel FROM wycieczki WHERE dostepna = 0 ORDER BY cena;");
|
||||
|
||||
while($row = mysqli_fetch_array($bestseller))
|
||||
{
|
||||
echo "<li>".$row["cel"]."</li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</aside>
|
||||
<main>
|
||||
<h2>Nasze zdjęcia</h2>
|
||||
<article style="display: flex; flex-direction: row; flex-wrap: wrap; gap: .5rem;">
|
||||
<?php
|
||||
$zdjecia = mysqli_query($conn, "SELECT nazwaPliku FROM zdjecia;");
|
||||
|
||||
while($row = mysqli_fetch_array($zdjecia))
|
||||
{
|
||||
echo "<img style=\"max-width: 100%; width: 18rem;\" src=\"/assets/images/wycieczki/".$row["nazwaPliku"]."\">";
|
||||
}
|
||||
?>
|
||||
</article>
|
||||
<article>
|
||||
<h3>Query</h3>
|
||||
<ul>
|
||||
<li><code>SELECT id, cena, cel, dataWyjazdu FROM wycieczki;</code></li>
|
||||
<li><code>SELECT nazwaPliku, podpis FROM zdjecia ORDER BY podpis;</code></li>
|
||||
<li><code>nie wiem nie uczyłem sie into SQL</code></li>
|
||||
<li><code>ALTER TABLE `wycieczki` ADD `liczbaDni` INT UNSIGNED NULL DEFAULT NULL AFTER `dostepna`;</code></li>
|
||||
</ul>
|
||||
</article>
|
||||
</main>
|
||||
<aside id="right">
|
||||
<h3>Skontaktuj się</h3>
|
||||
<a href="mailto:turysta@wycieczki.pl">Napisz do nas</a>
|
||||
<p>telefon: 111222333</p>
|
||||
</aside>
|
||||
</section>
|
||||
</section>
|
||||
<footer>
|
||||
Stronę wykonał: 213742069
|
||||
<br>
|
||||
<br>
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/athens_acropolis_4793_images_trinitynow.gif" width="88">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/paws.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/anythingbut.gif" width="88" height="31">
|
||||
<img class="banner" src="https://darksteveneq.nonamesoft.xyz/assets/banners/itoddler.gif" width="88" height="31">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<?php
|
||||
mysqli_close($conn);
|
||||
?>
|
||||