-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregist.php
48 lines (39 loc) · 1.59 KB
/
regist.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
<?php
session_start();
if (isset($_SESSION["user"])) {
header('Location: ../home.php');
}
?>
<!-- html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./src/style/reset.css">
<link rel="stylesheet" href="./src/style/style.css">
<script src="./script/registScript.js" defer></script>
<title>Регистрация</title>
</head>
<body>
<!-- form -->
<form class="form" enctype="multipart/form-data">
<label>ФИО</label>
<input type="text" name="full_name" placeholder="Введите свою ФИО">
<label>Логин</label>
<input type="text" name="login" placeholder="Введите свой логин">
<label>Фото</label>
<input type="file" name="photo">
<label>Почта</label>
<input type="text" name="email" placeholder="Введите свою почту">
<label>Пароль</label>
<input type="password" name="password" placeholder="Введите свой пароль">
<label>Подтверждение пароля</label>
<input type="password" name="password_confirm" placeholder="Повторите свой пароль">
<button id="btn-regist" class="buttonOpen">Зарегистрироваться</button>
<p class="link-login">Уже есть акканут? <a href="./index.php">Войти</a></p>
<!-- messageError message -->
<p id="message" class="messageError"></p>
</form>
</body>
</html>