-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuser.php
45 lines (36 loc) · 1.25 KB
/
user.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
<?php
session_start();
if (isset($_SESSION['tata_logged_ID']))
{
header ('Location: index.php') ;
exit();
}
?>
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="utf-8">
<title>Zaloguj do panelu użytkownika</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="css/main.css">
<link href="https://fonts.googleapis.com/css?family=Lobster|Open+Sans:400,700&subset=latin-ext" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<main>
<article>
<form action="login.php" method="post">
<input type="text" name="login" placeholder="login" onfocus="this.placeholder=''" onblur="this.placeholder='login'">
<input type="password" name="pass" placeholder="haslo" onfocus="this.placeholder=''" onblur="this.placeholder='hasło'">
<input type="submit" value="Zaloguj się!">
</form>
</article>
</main>
</div>
</body>
</html>