-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
47 lines (46 loc) · 1.78 KB
/
index.php
File metadata and controls
47 lines (46 loc) · 1.78 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
<?php
session_start();
if (isset($_SESSION['unique_id'])) {
header('location: users.php');
}
?>
<?php include_once "head.php" ?>
<body>
<div class="wrapper">
<section class="form signup">
<header>Chat@Web</header>
<form action="#" enctype="multipart/form-data">
<div class="error-text"></div>
<div class="name-details">
<div class="field input">
<label>Nome</label>
<input type="text" name="fname" placeholder="Seu nome" required>
</div>
<div class="field input">
<label>Sobrenome</label>
<input type="text" name="lname" placeholder="Seu sobrenome" required>
</div>
</div>
<div class="field input">
<label>e-mail</label>
<input type="email" name="email" placeholder="Seu e-mail" required>
</div>
<div class="field input">
<label>Senha</label>
<input type="password" name="password" placeholder="Informe uma senha" required>
<i class="fas fa-eye"></i>
</div>
<div class="field image">
<input type="file" name="image" required>
</div>
<div class="field button">
<input type="submit" value="Continuar para o chat">
</div>
</form>
<div class="link">Já está cadastrado? <a href="login.php">Entrar agora</a></div>
</section>
</div>
<script src="js/pass-show-hide.js"></script>
<script src="js/signup.js"></script>
</body>
</html>