Upload files to 'projektpp'
This commit is contained in:
parent
ee43610fc3
commit
608a749a8d
60
projektpp/admin.php
Normal file
60
projektpp/admin.php
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
<?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="login.php">Zaloguj</a></div>
|
||||||
|
<div class="option"><a href="rejestracja.php">Dołącz</a></div>
|
||||||
|
<div class="option"><a href="terminaz.html">Terminaż</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">
|
||||||
|
<?php
|
||||||
|
$data1=$_SESSION['dnipremium'];
|
||||||
|
$data=date("Y-m-d");
|
||||||
|
echo "<p>Witaj ".$_SESSION['user'].'</p>';
|
||||||
|
echo "<p><b>E-mail</b>: ".$_SESSION['email'];
|
||||||
|
$data = $_SESSION['dnipremium'];
|
||||||
|
$obecna_data = date("Y-m-d"); // pobieranie aktualnej daty
|
||||||
|
$pozostalo = (strtotime($data) - strtotime($obecna_data)) / (60*60*24);
|
||||||
|
echo "Dni premium ".$pozostalo." Konto ważne do ".$data;
|
||||||
|
?></div>
|
||||||
|
|
||||||
|
<div id="footer">
|
||||||
|
GymFit. Strona w sieci od 2021r. © Wszelkie prawa zastrzeżone
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
8
projektpp/connect.php
Normal file
8
projektpp/connect.php
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$host = "localhost";
|
||||||
|
$db_user = "root";
|
||||||
|
$db_password = "";
|
||||||
|
$db_name = "gymfit";
|
||||||
|
|
||||||
|
?>
|
53
projektpp/index.html
Normal file
53
projektpp/index.html
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
<!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="login.php">Zaloguj</a></div>
|
||||||
|
<div class="option"><a href="rejestracja.php">Dołącz</a></div>
|
||||||
|
<div class="option"><a href="terminaz.html">Terminaż</a></div>
|
||||||
|
<div class="option"><a href="kontakt.html">Kontakt</a></div>
|
||||||
|
</div>
|
||||||
|
<div style="clear:both;"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
<span class="bigtitle">AKTUALNOŚCI</span>
|
||||||
|
|
||||||
|
<div class="dottedline"></div>
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean lacinia mollis odio eu bibendum. Praesent non hendrerit risus. Nulla id semper sem. Mauris risus mauris, ultrices sed ullamcorper sed, vulputate vel nisi. Aliquam augue ante, mattis in pulvinar vitae, ultrices nec leo. Nulla ultricies augue enim, sit amet semper tellus vulputate sit amet. Maecenas tincidunt, ex eu viverra scelerisque, quam lectus auctor nunc, at pretium nibh lacus in ligula. Cras condimentum felis ac aliquet tristique. Sed elementum eu nulla vel rutrum. Cras feugiat nulla non congue malesuada.
|
||||||
|
|
||||||
|
<br /><br />
|
||||||
|
Cras et nulla vehicula, efficitur enim non, fermentum tortor. Curabitur id elementum leo. Sed eget turpis accumsan dolor mollis imperdiet. Praesent pellentesque laoreet lectus, at commodo magna varius vitae. Aliquam erat volutpat. Curabitur commodo, tortor laoreet sagittis cursus, nulla enim laoreet libero, et egestas risus ante vel orci. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nunc quis posuere massa, sed sollicitudin lorem. Mauris lacinia, massa efficitur malesuada luctus, arcu ex mattis erat, a venenatis magna risus nec neque. Nulla vulputate nisl urna, quis egestas orci suscipit tristique. Interdum et malesuada fames ac ante ipsum primis in faucibus. Cras auctor nec elit at ultricies. Morbi aliquam pharetra diam, vitae porta felis. Pellentesque vel arcu tincidunt, luctus justo quis, ultrices erat. Vivamus efficitur leo vitae dui molestie, eu varius sapien iaculis. In quis pharetra mauris.
|
||||||
|
|
||||||
|
<br /><br />
|
||||||
|
Nam ullamcorper turpis non tristique sollicitudin. Etiam id magna lacus. Pellentesque vestibulum ex eget quam consectetur, sit amet luctus erat feugiat. Sed gravida tellus tempus consequat rhoncus. Phasellus lobortis magna et risus pharetra, facilisis blandit sapien tristique. Vivamus aliquam interdum arcu, eget facilisis ante gravida ut. Proin nec nisl ut lacus finibus sagittis id non nibh. Donec volutpat pretium libero. Sed fermentum vel ante vitae mattis. Curabitur porttitor turpis at scelerisque auctor. Sed vitae iaculis risus, ut iaculis nibh.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="footer">
|
||||||
|
GymFit. Strona w sieci od 2021r. © Wszelkie prawa zastrzeżone
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
56
projektpp/klient.php
Normal file
56
projektpp/klient.php
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
session_start();
|
||||||
|
|
||||||
|
if (!isset($_SESSION['zalogowany3']))
|
||||||
|
{
|
||||||
|
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="terminaz.html">Terminaż</a></div>
|
||||||
|
<div class="option"><a href="kontakt.html">Kontakt</a></div>
|
||||||
|
<div class="option"><a href="voucher.php">Kup voucher</a></div>
|
||||||
|
<div class="option"><a href="logout.php">Wyloguj się</a></div>
|
||||||
|
</div>
|
||||||
|
<div style="clear:both;"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
<?php
|
||||||
|
$data=$_SESSION['dnipremium'];
|
||||||
|
$obecna_data=date("Y-m-d");
|
||||||
|
echo "<p>Witaj ".$_SESSION['imie']." ".$_SESSION['nazwisko'];
|
||||||
|
$pozostalo = (strtotime($data) - strtotime($obecna_data)) / (60*60*24);
|
||||||
|
echo "<br />Pozostało dni premium ".$pozostalo."<br /> Konto ważne do ".$data;
|
||||||
|
?></div>
|
||||||
|
|
||||||
|
<div id="footer">
|
||||||
|
GymFit. Strona w sieci od 2021r. © Wszelkie prawa zastrzeżone
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
81
projektpp/kontakt.html
Normal file
81
projektpp/kontakt.html
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="pl">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Kontakt </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="login.php">Zaloguj</a></div>
|
||||||
|
<div class="option"><a href="rejestracja.php">Dołącz</a></div>
|
||||||
|
<div class="option"><a href="terminaz.html">Terminaż</a></div>
|
||||||
|
<div class="option"><a href="kontakt.html">Kontakt</a></div>
|
||||||
|
</div>
|
||||||
|
<div style="clear:both;"></div>
|
||||||
|
</div>
|
||||||
|
<div id="content">
|
||||||
|
<span class="bigtitle">SKONTAKTUJ SIĘ Z NAMI </span>
|
||||||
|
|
||||||
|
<div class="dottedline"></div>
|
||||||
|
<div id="contentl">
|
||||||
|
|
||||||
|
<div id="lok">
|
||||||
|
<img src="png/lok.png" />
|
||||||
|
</div>
|
||||||
|
<div id="text">
|
||||||
|
<b>GymFit Sp. z o.o.</b><br>
|
||||||
|
Ul.Księdza Biskupa Tymienieckiego Wincentego 22 <br> 90-349 Łódź
|
||||||
|
<br /><br />
|
||||||
|
</div>
|
||||||
|
<p><b>BIURO OBSŁUGI KLIENTA</b></p>
|
||||||
|
|
||||||
|
<div id="obs">
|
||||||
|
<img src="png/tel.png" />
|
||||||
|
</div>
|
||||||
|
<div id="tex1">
|
||||||
|
665-557-256
|
||||||
|
<br /><br /><br />
|
||||||
|
bok@gymfit.pl
|
||||||
|
<br /><br />
|
||||||
|
</div>
|
||||||
|
<p><b>SEKRETARIAT</b></p>
|
||||||
|
<div id="sek">
|
||||||
|
<img src="png/tel.png" />
|
||||||
|
</div>
|
||||||
|
<div id="tex1">
|
||||||
|
665-507-116
|
||||||
|
<br /><br /><br />
|
||||||
|
sekretariat@gymfit.pl
|
||||||
|
<br /><br />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="contentp">
|
||||||
|
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2469.8601732091515!2d19.474277315779073!3d51.75388037967632!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x471a34c85351e38b%3A0x7e82cb3f1302421f!2sks.%20bp.%20Wincentego%20Tymienieckiego%2022%2C%2090-001%20%C5%81%C3%B3d%C5%BA!5e0!3m2!1spl!2spl!4v1609694105786!5m2!1spl!2spl" width="400" height="300" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="footer">
|
||||||
|
GymFit. Strona w sieci od 2021r. © Wszelkie prawa zastrzeżone
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user