From 3a25dfa43b1029f2e6fd41c2b86a54affdbb524a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Wawrzyniak?= Date: Sun, 6 Dec 2020 20:15:35 +0100 Subject: [PATCH] =?UTF-8?q?Prze=C5=9Blij=20pliki=20do=20''?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 41 +++++++++++++++++++++++++++++++++---- lekarz.php | 12 +++++++++++ pacjent.php | 51 +++++++++++++++++++++++++++++++++++++++++++++++ recepcjonista.php | 12 +++++++++++ 4 files changed, 112 insertions(+), 4 deletions(-) create mode 100644 lekarz.php create mode 100644 pacjent.php create mode 100644 recepcjonista.php diff --git a/index.php b/index.php index 9066482..b09fcb6 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,37 @@ - \ No newline at end of file + + + + + + + + + +
+Login:
+Hasło:
+ + +
+ + + diff --git a/lekarz.php b/lekarz.php new file mode 100644 index 0000000..0a9f2b4 --- /dev/null +++ b/lekarz.php @@ -0,0 +1,12 @@ + + +

Lekarz

+ + + + \ No newline at end of file diff --git a/pacjent.php b/pacjent.php new file mode 100644 index 0000000..afc5399 --- /dev/null +++ b/pacjent.php @@ -0,0 +1,51 @@ + + +

Pacjent

+ + + +
+"; + } + print "

";*/ + $polaczenie=mysqli_connect('localhost','root','','rejestracja'); + $zapytanie="SELECT `dzien`,`godzina` FROM `wizyty`"; + $wynik=mysqli_query($polaczenie,$zapytanie); + print ""; + while($wiersz=mysqli_fetch_row($wynik)) + { + if($wiersz[0]=='2020-12-13') + { + print ""; + print ""; + print ""; + } + else if ($wiersz[0]=='2020-12-14') + { + print ""; + print ""; + print ""; + } + } + print "
".$wiersz[0]." ".$wiersz[1]."
".$wiersz[0]." ".$wiersz[1]."


"; + mysqli_close($polaczenie); +?> + + \ No newline at end of file diff --git a/recepcjonista.php b/recepcjonista.php new file mode 100644 index 0000000..7aee2b8 --- /dev/null +++ b/recepcjonista.php @@ -0,0 +1,12 @@ + + +

Recepcjonista

+ + + + \ No newline at end of file