-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsignup.php
More file actions
82 lines (78 loc) · 2.58 KB
/
Copy pathsignup.php
File metadata and controls
82 lines (78 loc) · 2.58 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang='en'>
<title> Sign up </title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="css/mycss.css">
</head>
<body class="colored-body">
<div class="container">
<form class="form-signup"
name='signup'
action='validate_new_user.php'
method='post'
enctype="multipart/form-data">
<h2>Please sign up</h2>
<div class="errors"></div>
<input type="text"
class="form-control name"
placeholder="Name"
name="name"
maxlength="20"
required
autofocus>
<input type="text"
class="form-control surname"
placeholder="Surname"
name="surname"
maxlength="20"
required>
<input type="email"
class="form-control email"
placeholder="Email address"
name="email"
required>
<input type="password"
maxlength="16"
class="form-control password"
name="pass"
placeholder="Password"
required>
<input type="password"
maxlength="16"
class="form-control password2"
name="pass2"
placeholder="Repeat password"
required>
<button class="btn btn-success upload-btn"
type="button">
<span class="glyphicon glyphicon-folder-open"></span>
Picture
</button>
<input class='hidden upload-input'
type='file'
name='imgToUpdate'
value="upload">
<div class="row" style="margin-top: 20px;">
<div class="col-lg-5">
<button class='btn btn-lg btn-warning btn-block sign-up'
type='submit'>Sign up</button>
</div>
<div class="col-lg-2">
<h4 style="text-align: center"> OR </h4>
</div>
<div class="col-lg-5">
<button class="btn btn-lg btn-primary btn-block login"
type="button"
onclick = 'window.open("login.php", "_self")'
>Sing in</button>
</div>
</div>
</form>
</div>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="js/upload.js"></script>
</body>
</html>