82 lines
2.3 KiB
PHP
82 lines
2.3 KiB
PHP
<?php
|
|
|
|
session_start();
|
|
|
|
if (!isset($_SESSION['zalogowany1']))
|
|
{
|
|
header('Location: index.php');
|
|
exit();
|
|
}
|
|
|
|
?>
|
|
<!DOCTYPE HTML>
|
|
<html lang="pl">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>GymFit </title>
|
|
<meta name="description" content="Serwis poświęcony siłowni. />
|
|
<meta name="keywords" content="gym, fit, gymfit" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
|
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
<link href='http://fonts.googleapis.com/css?family=Lato:400,900&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div id="container">
|
|
|
|
<div id="menu">
|
|
<div id="logo">
|
|
<img src="png/logo.png" />
|
|
</div>
|
|
<div id="menuP">
|
|
<div class="option"><a href="index.html">Strona główna</a></div>
|
|
|
|
<div class="option"><a href="rejestracja.php">Dołącz</a></div>
|
|
<div class="option"><a href="terminarz.php">Terminarz</a></div>
|
|
<div class="option"><a href="kontakt.html">Kontakt</a></div>
|
|
<div class="option"><a href="logout.php">Wyloguj się</a></div>
|
|
</div>
|
|
<div style="clear:both;"></div>
|
|
</div>
|
|
|
|
<div id="content">
|
|
<span class="bigtitle">Dodaj zajęcia</span>
|
|
<div class="dottedline"></div>
|
|
<form action="dodaj.php" method="post">
|
|
|
|
Id Prowadzącego: <br /> <input type="text" name="idprow" /> <br />
|
|
Nazwa zajęć: <br /> <input type="text" name="nazwa" /> <br />
|
|
Czas zajęć: <br /> <input type="text" name="czas" /> <br />
|
|
|
|
<input type="submit" value="Dodaj" />
|
|
|
|
</form>
|
|
<span class="bigtitle">Modyfikuj zajęcia</span>
|
|
<div class="dottedline"></div>
|
|
<form action="modyfikuj.php" method="post">
|
|
|
|
Id Prowadzącego: <br /> <input type="text" name="idprow" /> <br />
|
|
Nazwa zajęć: <br /> <input type="text" name="nazwa" /> <br />
|
|
Czas zajęć: <br /> <input type="text" name="czas" /> <br />
|
|
|
|
<input type="submit" value="Modyfikuj" />
|
|
|
|
</form><span class="bigtitle">Usuń zajęcia</span>
|
|
<div class="dottedline"></div>
|
|
<form action="usun.php" method="post">
|
|
|
|
Id Zajęć: <br /> <input type="text" name="idzaj" /> <br />
|
|
|
|
|
|
<input type="submit" value="Usuń" />
|
|
|
|
</form>
|
|
</div>
|
|
|
|
<div id="footer">
|
|
GymFit. Strona w sieci od 2021r. © Wszelkie prawa zastrzeżone
|
|
</div>
|
|
|
|
</div>
|