-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrejestracja.php
executable file
·94 lines (74 loc) · 2.91 KB
/
rejestracja.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
session_start();
?>
<!DOCTYPE HTML>
<html lang="pl">
<head>
<meta charset="utf-8"/>
<title>Rejestacja</title>
<meta name="description" content="Rejestracja"/>
<meta name="keywords" content=" zarejestruj, rejestracja"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<link rel="stylesheet" href="rejestracja_style.css" type="text/css"/>
</head>
<body>
<div id="container">
<form action="zarejestruj.php" method="post">
<input type="text" placeholder="Imię" onfocus="this.placeholder=''" onblur="this.placeholder='Imię'" name="imie"
class="nazwa" value=
<?php
if (isset($_SESSION['r_imie']))
echo $_SESSION['r_imie'];
?>>
<input type="text" placeholder="Nazwisko" onfocus="this.placeholder=''" onblur="this.placeholder='Nazwisko'"
name="nazwisko" class="nazwa" value=
<?php
if (isset($_SESSION['r_nazwisko']))
echo $_SESSION['r_nazwisko'];
?>>
<div style="clear: both"></div>
<div class="blad" id="blad_imie">
<?php
if (isset($_SESSION['blad_imie']))
echo $_SESSION['blad_imie'];
?>
</div>
<!--------------------------------------------------------------------------------------------->
<input type="text" placeholder="Wybierz nazwę użytkownika" onfocus="this.placeholder=''"
onblur="this.placeholder='Wybierz nazwę użytkownika'"
name="login" value=
<?php
if (isset($_SESSION['r_login']))
echo $_SESSION['r_login'];
?>>
<div class="blad" id="blad_login">
<?php
if (isset($_SESSION['blad_login']))
echo $_SESSION['blad_login'];
?>
</div>
<!--------------------------------------------------------------------------------------------->
<input type="password" placeholder="Utwórz hasło" onfocus="this.placeholder=''"
onblur="this.placeholder='Utwórz hasło'" name="haslo1" value=
<?php
if (isset($_SESSION['r_haslo1']))
echo $_SESSION['r_haslo1'];
?>>
<input type="password" placeholder="Potwierdź hasło" onfocus="this.placeholder=''"
onblur="this.placeholder='Potwierdź hasło'" name="haslo2" value=
<?php
if (isset($_SESSION['r_haslo2']))
echo $_SESSION['r_haslo2'];
?>>
<div class="blad" id="blad_haslo">
<?php
if (isset($_SESSION['blad_haslo']))
echo $_SESSION['blad_haslo'];
?>
</div>
<!--------------------------------------------------------------------------------------------->
<input type="submit" value="Zarejestruj">
</form>
</div>
</body>
</html>