mirror of
https://github.com/FlyInTheBox/31TSAI.git
synced 2024-11-09 20:44:11 +01:00
l
This commit is contained in:
parent
da496f7908
commit
6f6723d927
13 changed files with 92 additions and 0 deletions
1
Biblioteka 17.05.2023/include/db_conn.php
Normal file
1
Biblioteka 17.05.2023/include/db_conn.php
Normal file
|
@ -0,0 +1 @@
|
|||
<?php
|
1
Biblioteka 17.05.2023/include/db_disconn.php
Normal file
1
Biblioteka 17.05.2023/include/db_disconn.php
Normal file
|
@ -0,0 +1 @@
|
|||
<?php
|
41
Biblioteka 17.05.2023/index.php
Normal file
41
Biblioteka 17.05.2023/index.php
Normal file
|
@ -0,0 +1,41 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Biblioteka</title>
|
||||
<link rel="stylesheet" href="style/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav>
|
||||
<a class="linki" href="?PAGE=mainpage">Strona główna</a>
|
||||
<a class="linki" href="?PAGE=db_conn">Test Połączenia</a>
|
||||
<a class="linki" href="?PAGE=listatabel">Lista tabel</a>
|
||||
<a class="linki" href="?PAGE=czytelnicy">Tabela czytelnicy</a>
|
||||
<a class="linki" href="?PAGE=dzialy">Tabela działy</a>
|
||||
<a class="linki" href="?PAGE=ksiazki">Tabela książki</a>
|
||||
<a class="linki" href="?PAGE=pracownicy">Tabela pracownicy</a>
|
||||
<a class="linki" href="?PAGE=stanowiska">Tabela stanowiska</a>
|
||||
<a class="linki" href="?PAGE=wypozyczenia">Tabela wypożyczenia</a>
|
||||
<hr>
|
||||
<a class="linki" href="?PAGE=login">Logowanie</a>
|
||||
|
||||
</nav>
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<?php
|
||||
if (isset($_GET['PAGE'])) {
|
||||
if (file_exists('pages/' . $_GET['PAGE'] . '.php'))
|
||||
include('pages/' . $_GET['PAGE'] . '.php');
|
||||
else
|
||||
echo '<h2>Ta strona nie istnieje</h2>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
1
Biblioteka 17.05.2023/pages/czytelnicy.php
Normal file
1
Biblioteka 17.05.2023/pages/czytelnicy.php
Normal file
|
@ -0,0 +1 @@
|
|||
<h1>Tabela czytelnicy</h1>
|
1
Biblioteka 17.05.2023/pages/dzialy.php
Normal file
1
Biblioteka 17.05.2023/pages/dzialy.php
Normal file
|
@ -0,0 +1 @@
|
|||
<h1>Tabela działy</h1>
|
1
Biblioteka 17.05.2023/pages/ksiazki.php
Normal file
1
Biblioteka 17.05.2023/pages/ksiazki.php
Normal file
|
@ -0,0 +1 @@
|
|||
<h1>Tabela książki</h1>
|
1
Biblioteka 17.05.2023/pages/listatabel.php
Normal file
1
Biblioteka 17.05.2023/pages/listatabel.php
Normal file
|
@ -0,0 +1 @@
|
|||
<h1>Lista tabel</h1>
|
1
Biblioteka 17.05.2023/pages/login.php
Normal file
1
Biblioteka 17.05.2023/pages/login.php
Normal file
|
@ -0,0 +1 @@
|
|||
<h1>Logowanie</h1>
|
1
Biblioteka 17.05.2023/pages/mainpage.php
Normal file
1
Biblioteka 17.05.2023/pages/mainpage.php
Normal file
|
@ -0,0 +1 @@
|
|||
<h1>Strona główna</h1>
|
1
Biblioteka 17.05.2023/pages/pracownicy.php
Normal file
1
Biblioteka 17.05.2023/pages/pracownicy.php
Normal file
|
@ -0,0 +1 @@
|
|||
<h1>Tabela pracownicy</h1>
|
1
Biblioteka 17.05.2023/pages/stanowiska.php
Normal file
1
Biblioteka 17.05.2023/pages/stanowiska.php
Normal file
|
@ -0,0 +1 @@
|
|||
<h1>Tabela stanowiska</h1>
|
1
Biblioteka 17.05.2023/pages/wypozyczenia.php
Normal file
1
Biblioteka 17.05.2023/pages/wypozyczenia.php
Normal file
|
@ -0,0 +1 @@
|
|||
<h1>Tabela wypożyczenia</h1>
|
40
Biblioteka 17.05.2023/style/style.css
Normal file
40
Biblioteka 17.05.2023/style/style.css
Normal file
|
@ -0,0 +1,40 @@
|
|||
body{
|
||||
font-family: "Droid Sans";
|
||||
}
|
||||
nav {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100vh;
|
||||
width: 15vw;
|
||||
background-color: darkorange;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.container {
|
||||
position: absolute;
|
||||
width: 85vw;
|
||||
height: 100vh;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
.content {
|
||||
padding: 2vw;
|
||||
position: absolute;
|
||||
width: 81vw;
|
||||
background-color: burlywood;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.linki {
|
||||
width: 13.7vw;
|
||||
text-decoration: none;
|
||||
color: aliceblue;
|
||||
padding-left: 1.3vw;
|
||||
line-height: 6vh;
|
||||
animation: ease 200ms;
|
||||
}
|
||||
.linki:hover{
|
||||
background-color: chocolate;
|
||||
|
||||
}
|
Loading…
Reference in a new issue