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