-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.php
49 lines (49 loc) · 1.49 KB
/
main.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel='stylesheet' href='styl.css'>
<title>Main site</title>
</head>
<body>
<?php
if(isset($_COOKIE['logowanie']))
{
echo '<div id="main-hello"><span id="powitanie">WELCOME '.strtoupper($_COOKIE['logowanie']).'!</span></div><br/>';
}
else{
echo 'nie znaleziono ciasteczek';
}
?>
<!-- <div id='logout' style='position: fixed; right:0; top:0;'>-->
<!-- <form action='logout.php' method='post'>-->
<!-- <input type='submit' value='LOGOUT' class='btn'>-->
<!-- </form>-->
<!-- </div>-->
<div id='animation'>
<div id='shop'>
<a href='markt.php'>
<img src='shop.png' class="main" alt='shop'>
<br/>
<h2>MARKET</h2>
</a>
</div>
<div id='user'>
<a href='account.php'>
<img src='uzytkownik.png' class="main" alt='user'>
<br/>
<h2>USER INFO</h2>
</a>
</div>
</div>
<footer>
<a href="https://github.com/zdinozi" target="_blank">
<img src="github-ww.png" style="width: 50px; height: 50px;">
</a>
<a href="https://www.linkedin.com/in/wiktor-banasiak-672425222/" target="_blank">
<img src="linkedin.png" style="width: 50px; height: 50px;">
</a>
</footer>
</body>
</html>