commit d5255ea7fde8c62043aedadd3d3f092c4a4af2dd Author: karol1 Date: Tue Jan 14 21:12:24 2025 +0100 first commit diff --git a/american.php b/american.php new file mode 100644 index 0000000..e69de29 diff --git a/crested.jpg b/crested.jpg new file mode 100644 index 0000000..26fcb6b Binary files /dev/null and b/crested.jpg differ diff --git a/crested.php b/crested.php new file mode 100644 index 0000000..e69de29 diff --git a/peruwianka.jpg b/peruwianka.jpg new file mode 100644 index 0000000..0cfd06f Binary files /dev/null and b/peruwianka.jpg differ diff --git a/peruwianka.php b/peruwianka.php new file mode 100644 index 0000000..46f6ea7 --- /dev/null +++ b/peruwianka.php @@ -0,0 +1,69 @@ + + + + + Hodowla świnek morskich + + + +
+

Hodowla świnek morskich - zamów świnkowe maluszki

+
+ + +
+ Świnka morska rasy peruwianka + Rasa: " . $rasa[2] . ""; + } + + $skrypt2 = mysqli_query($mysqli, "SELECT DISTINCT data_ur, miot, rasa FROM rasy JOIN swinki ON rasy.id = rasy_id WHERE rasy.id = '1'"); + while($rasa = mysqli_fetch_array($skrypt2)){ + echo "

Data urodzenia: " . $rasa[0] . "

"; + } + + $skrypt2 = mysqli_query($mysqli, "SELECT DISTINCT data_ur, miot, rasa FROM rasy JOIN swinki ON rasy.id = rasy_id WHERE rasy.id = '1'"); + while($rasa = mysqli_fetch_array($skrypt2)){ + echo "

Oznaczenie miotu: " . $rasa[1] . "

"; + } + mysqli_close($mysqli); + ?>
+

Świnki w tym miocie

+ " . $trojka[0] . " - " . $trojka[1] . "zl

" . $trojka[2] . "

"; + } + + mysqli_close($mysqli); + ?> + +
+ + + + + + diff --git a/styl.css b/styl.css new file mode 100644 index 0000000..d601160 --- /dev/null +++ b/styl.css @@ -0,0 +1,55 @@ +html { + font-family: Helvetica; +} + +header, footer{ + background-color: saddlebrown; + color: white; + text-align: center; + padding: 7px; +} + +nav { + background-color: peru; + width: 80%; + height: 40px; + padding-top: 20px; + float: left; +} + +main { + width: 80%; + height: 700px; + font-size: 120%; + overflow: auto; + float: left; +} + +aside { + background-color: peru; + color: white; + width: 20%; + height: 760px; + float: right; +} + +footer { + clear: both; +} + +a { + color: #ddd; + padding-left: 90px; + font-size: 140%; + text-decoration: none; +} + +a:hover{ + color: white; +} + +img{ + float: left; + margin: 30px; +} +