-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregistrati.php
96 lines (78 loc) · 3.6 KB
/
registrati.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
95
96
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>Registrati</title>
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> -->
<link rel="stylesheet" type="text/css" href="http://localhost/PROblemSolver/css/main.css">
<link rel="stylesheet" type="text/css" href="http://localhost/PROblemSolver/css/registrati.css">
</head>
<body>
<div class="container">
<nav class="navbar">
<span class="open-slide">
<a href="#" onclick="openSlideMenu()">
<svg width="30" height="30">
<path d = "M0,5 30,5" stroke="#fff" stroke-width="5"/>
<path d = "M0,14 30,14" stroke="#fff" stroke-width="5"/>
<path d = "M0,23 30,23" stroke="#fff" stroke-width="5"/>
</svg>
</a>
</span>
<ul class="navbar-nav">
<li><a href="http://localhost/PROblemSolver/index.php">Home</a></li>
<li><a href="http://localhost/PROblemSolver/prova.php">Naviga Problemi</a></li>
<li><a href="http://localhost/PROblemSolver/report.php">Riporta Problema</a></li>
<li><a href="#">Login/Registrati</a></li>
<li><a href="http://localhost/PROblemSolver/cerca.php"> Cerca Problemi</a><li>
</ul>
</nav>
<!--Menu a scomparsa-->
<div id="side-menu" class="side-nav">
<a href="#" class="btn-close" onclick="closeSlideMenu()">×</a>
<a href="http://localhost/PROblemSolver/index.php">Home</a>
<a href="http://localhost/PROblemSolver/prova.php">Naviga Problemi</a></a>
<a href="http://localhost/PROblemSolver/report.php">Riporta Problema</a>
<a href="#">Login/Registrati</a>
<li><a href="http://localhost/PROblemSolver/cerca.php"> Cerca Problemi</a><li>
</div>
<!--Form di registrazione-->
<form method="POST" action="register.php">
<h1>Registrati</h1>
<p>Inserisci i tuoi dati per creare un account.</p>
<label for="email"><b> Email </b></label>
<input type="text" placeholder="Email" name="email" required>
<label for="nome"><b> Nome </b></label>
<input type="text" placeholder="Nome" name="nome" required>
<label for="cognome"><b> Cognome </b></label>
<input type="text" placeholder="Cognome" name="cognome" required>
<label for="cf"><b> Codice Fiscale </b></label>
<input type="text" placeholder="Codice Fiscale" name="cf" required maxlength="16" minlength="16">
<label for="psw"><b> Password </b></label>
<input type="password" placeholder="Password" name="password" required>
<label for="pswr"><b> Inserisci nuovamente la password </b></label>
<input type="password" placeholder="Password" name="passwordr" required>
<label for="secretID"><b> Inserisci un numero utente che sarà utilizzato per garantire la tua privacy</b></label>
<input type="text" placeholder="secretID" name="secretID" required>
<a class="termini" href="#" style="color:dodgerblue">Termini e Politiche di Privacy</a>
<div class="clearfix">
<button type="button" class="cancelbtn">Cancel</button>
<button type="submit" class="signupbtn">Sign Up</button>
</div>
</form>
</div>
<script>
//sccript per menù a scomparsa
function openSlideMenu(){
document.getElementById("side-menu").style.width="250px"
document.getElementById("main.").style.marginLeft="250px"
}
function closeSlideMenu(){
document.getElementById("side-menu").style.width="0px"
document.getElementById("main.").style.marginLeft="0px"
}
</script>
</body>
</html>