Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

Commit

Permalink
arkusz3_2022
Browse files Browse the repository at this point in the history
  • Loading branch information
NickyMB committed Jan 17, 2022
1 parent bae4743 commit 487c2b5
Show file tree
Hide file tree
Showing 12 changed files with 591 additions and 1 deletion.
Binary file added EE.09/EE.09-01-22.03-SG/1.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added EE.09/EE.09-01-22.03-SG/2.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added EE.09/EE.09-01-22.03-SG/3.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added EE.09/EE.09-01-22.03-SG/4.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added EE.09/EE.09-01-22.03-SG/EE.09-01-22.03-SG.zip
Binary file not shown.
483 changes: 483 additions & 0 deletions EE.09/EE.09-01-22.03-SG/baza3.sql

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions EE.09/EE.09-01-22.03-SG/dodanie.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
$conn=new mysqli("localhost", "root", "", "ee09");
$nrkaretki=$_POST["nrkaretki"];
$ratownik1=$_POST["ratownik1"];
$ratownik2=$_POST["ratownik2"];
$ratownik3=$_POST["ratownik3"];
$qr="INSERT INTO ratownicy(nrKaretki, ratownik1, ratownik2, ratownik3) VALUES ($nrkaretki,'$ratownik1','$ratownik2','$ratownik3')";
$result=$conn->query($qr);
echo "Do bazy zostało wysłane zapytanie: INSERT INTO ratownicy(nrKaretki, ratownik1, ratownik2, ratownik3) VALUES ($nrkaretki,'$ratownik1','$ratownik2','$ratownik3')";
$conn->close();
?>
7 changes: 7 additions & 0 deletions EE.09/EE.09-01-22.03-SG/kwerendy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
1. INSERT INTO `ratownicy`(`nrKaretki`, `ratownik1`, `ratownik2`, `ratownik3`) VALUES (20,"Adam Nowak","Jan Kowalski","Anna Nowakowska")

2. SELECT `id`,`adres`,`ratownicy_id` FROM `zgloszenia` WHERE dyspozytorzy_id=4

3. CREATE USER 'adam'@'localhost' identified BY 'Adam6&'

4. GRANT CREATE, DROP, ALTER ON *.* TO 'adam'@'localhost' REQUIRE NONE WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0
Binary file added EE.09/EE.09-01-22.03-SG/obraz.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions EE.09/EE.09-01-22.03-SG/ratownicy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<title>Zespoły ratownicze</title>
<link rel="stylesheet" href="styl3.css">
</head>
<body>
<div id="banerl">
<h2>Dodanie zespołu ratowniczego</h2>
</div>
<div id="baners">
<p>Kontakt:<br> 022 222 11 333</p>
</div>
<div id="banerp">
<img src="obraz.jpg" alt="Ratownicy">
</div>
<div id="glowny">
<h3>Dodaj nowy zespół</h3>
<form method="POST" action="dodanie.php">
<label for="nrkaretki">Numer karetki:</label><br><input type="number" name="nrkaretki"><br>
<label for="ratownik1">Imię i nazwisko pierwszego ratownika</label><br><input type="text" name="ratownik1"><br>
<label for="ratownik2">Imię i nazwisko drugiego ratownika</label><br><input type="text" name="ratownik2"><br>
<label for="ratownik3">Imię i nazwisko trzeciego ratownika</label><br><input type="text" name="ratownik3"><br>
<button type="reset">CZYŚĆ</button>
<button type="submit">DODAJ</button>
</form>
</div>
<div id="stopkal">
<a href="kwerendy.txt">Zobacz kwerendy</a>
</div>
<div id="stopkas">
<h5>Przypominamy numery alarmowe</h5>
<ol>
<li>112</li>
<li>999</li>
</ol>
</div>
<div id="stopkap">
<p>Autor<br>ja</p>
</div>
</body>
</html>
45 changes: 45 additions & 0 deletions EE.09/EE.09-01-22.03-SG/styl3.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
body
{
font-family:Arial;
}
#banerl, #baners, #banerp, #stopkal, #stopkas, #stopkap
{
background-color:SaddleBrown;
color:white;
height:100px;
float:left;
}
#banerl, #stopkal
{
width:55%;
font-size:120%;
}
#baners, #stopkas
{
width:25%;
}
#banerp, #stopkap
{
width:20%;
text-align:right;
}
#main
{
background-color:Snow;
padding:70px;
clear:both;
}
a
{
border-width:2px;
border-style:dotted;
border-color:SaddleBrown;
background-color:Snow;
color:SaddleBrown;
padding:20px;
line-height:100px;
}
ol
{
list-style-type: lower-latin;
}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ Arkusze biorę z tej [strony](https://www.praktycznyegzamin.pl/inf03ee09e14/prak
### 2022
* Styczeń
* Karta wędkarska [EE.09-01-22.01-SG](/EE.09/EE.09-01-22.01-SG/) [.ZIP](/EE.09/EE.09-01-22.01-SG/EE.09-01-22.01-SG.zip/)
* Karta wędkarska [EE.09-01-22.02-SG](/EE.09/EE.09-01-22.02-SG/) [.ZIP](/EE.09/EE.09-01-22.02-SG/EE.09-01-22.02-SG.zip/)
* prognoza pogody [EE.09-01-22.02-SG](/EE.09/EE.09-01-22.02-SG/) [.ZIP](/EE.09/EE.09-01-22.02-SG/EE.09-01-22.02-SG.zip/)
* pogotowie [EE.09-01-22.03-SG](/EE.09/EE.09-01-22.03-SG/) [.ZIP](/EE.09/EE.09-01-22.03-SG/EE.09-01-22.03-SG.zip/)
## Egzaminy E.14
### 2016
* Sierpień
Expand Down

0 comments on commit 487c2b5

Please sign in to comment.