Upload files to 'projektpp'
This commit is contained in:
parent
d10e19ea55
commit
3ca4f73a57
77
projektpp/2020.html
Normal file
77
projektpp/2020.html
Normal file
@ -0,0 +1,77 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="pl">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>2020 </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="terminarz.html">Terminarz</a></div>
|
||||
<div class="option"><a href="kontakt.html">Kontakt</a></div>
|
||||
</div>
|
||||
<div style="clear:both;"></div>
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
<div class="month">
|
||||
<ul>
|
||||
<li class="prev">❮</li>
|
||||
<li class="next">❯</li>
|
||||
<li>
|
||||
August<br>
|
||||
<span style="font-size:18px">2016</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<ul class="weekdays">
|
||||
<li>Mo</li>
|
||||
<li>Tu</li>
|
||||
<li>We</li>
|
||||
<li>Th</li>
|
||||
<li>Fr</li>
|
||||
<li>Sa</li>
|
||||
<li>Su</li>
|
||||
</ul>
|
||||
|
||||
<ul class="days">
|
||||
<li>1</li>
|
||||
<li>2</li>
|
||||
<li>3</li>
|
||||
<li>4</li>
|
||||
<li>5</li>
|
||||
<li>6</li>
|
||||
<li>7</li>
|
||||
<li>8</li>
|
||||
<li>9</li>
|
||||
<li><span class="active">10</span></li>
|
||||
<li>11</li>
|
||||
...etc
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
GymFit. Strona w sieci od 2021r. © Wszelkie prawa zastrzeżone
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -32,9 +32,9 @@
|
||||
</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="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>
|
||||
@ -42,16 +42,38 @@
|
||||
</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>
|
||||
<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
|
||||
|
11
projektpp/backup.bat
Normal file
11
projektpp/backup.bat
Normal file
@ -0,0 +1,11 @@
|
||||
@echo off
|
||||
For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
|
||||
For /f "tokens=1-2 delims=/:" %%a in ("%TIME%") do (set mytime=%%a%%b)
|
||||
|
||||
SET backupdir=C:\xampp\htdocs\backup
|
||||
SET mysqluername=root
|
||||
SET mysqlpassword=
|
||||
SET database=gymfit
|
||||
|
||||
|
||||
C:\xampp\mysql\bin\mysqldump.exe -uroot %database% > %backupdir%\%database%_%mydate%_%mytime%_.sql
|
@ -4,5 +4,6 @@
|
||||
$db_user = "root";
|
||||
$db_password = "";
|
||||
$db_name = "gymfit";
|
||||
$table="terminarz"
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user