-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignupNOTEQUAL.php
54 lines (50 loc) · 2.39 KB
/
signupNOTEQUAL.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
<?php
if (isset($_COOKIE['cookie_token'])) {
header("Location: index.php");
die();
}
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/litera/bootstrap.min.css" rel="stylesheet" integrity="sha384-D/7uAka7uwterkSxa2LwZR7RJqH2X6jfmhkJ0vFPGUtPyBMF2WMq9S+f9Ik5jJu1" crossorigin="anonymous">
<title>Registration</title>
</head>
<style>
body {
background-image: url(https://getbg.net/upload/full/www.GetBg.net_2017Creative_Wallpaper_Two_white_dice_113042_.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
font-size: 200%;
position: fixed;
top: 30%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
<body>
<h1 align = "center" class="alert alert-success">Registration</h1>
<form method="post" action="register.php">
<div align="center">
<h4 class="alert alert-danger">Passwords are not equel. Try again.</h4>
<table>
<tr>
<td> <label for="loginField">Login</label> </td>
<td> <input id="loginField" type="text" name="login" size="30" autocomplete="off" required> </td>
</tr>
<tr>
<td> <label for="passField" </label> Password </td>
<td> <input id="passField" type="password" name="pswrd" size="30" required> </td>
</tr>
<tr>
<td> <label for="confField" </label> Confirm password </td>
<td> <input id="confField" type="password" name="confirm" size="30" required> </td>
</tr>
</table>
<input type="submit" class="btn btn-success" value="OK">
</div>
</body>
</html>