-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreg.php
More file actions
65 lines (59 loc) · 3.11 KB
/
reg.php
File metadata and controls
65 lines (59 loc) · 3.11 KB
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
<?php include("path.php");
include ("users.php");
?>
<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ladoga</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!--шапка-->
<?php include("app/include/header.php"); ?>
<!--карусель-->
<div class="container reg_form">
<form action="reg.php" method="post" class="row justify-content-center">
<h2>Форма регистрации</h2>
<div class="mb-3 col-12 col-md-4 err">
<p><?=$errMsg?></p>
</div>
<div class="w-100"></div>
<div class="mb-3 col-12 col-md-4">
<label for="formGroupExampleInput" class="form-label">Ваш логин</label>
<input name="login" value="<?=$login?>" type="text" class="form-control" id="formGroupExampleInput" placeholder="введите ваш логин...">
</div>
<div class="w-100"></div>
<div class="mb-3 col-12 col-md-4">
<label for="exampleInputEmail1" class="form-label">Email</label>
<input name="mail" value="<?=$email?>" type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="введите ваш email...">
<div id="emailHelp" class="form-text">Ваш email адрес не будет использован для спама!</div>
</div>
<div class="w-100"></div>
<div class="mb-3 col-12 col-md-4">
<label for="exampleInputPassword1" class="form-label">Пароль</label>
<input name="pass-first" type="password" class="form-control" id="exampleInputPassword1" placeholder="введите ваш пароль...">
</div>
<div class="w-100"></div>
<div class="mb-3 col-12 col-md-4">
<label for="exampleInputPassword2" class="form-label">Повторите пароль</label>
<input name="pass-second" type="password" class="form-control" id="exampleInputPassword2" placeholder="повторите ваш пароль...">
</div>
<div class="w-100"></div>
<div class="mb-3 col-12 col-md-4">
<button type="submit" class="btn btn-secondary" name="button-reg">Регистрация</button>
<a href="aut.html">Войти</a>
</div>
</form>
</div>
<!--конец карусели-->
<!--main-->
<!--endmain-->
<!--FOOTER-->
<?php include("app/include/footer.php"); ?>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/cc81aa6e53.js" crossorigin="anonymous"></script>
</body>
</html>