-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.php
106 lines (83 loc) · 3.74 KB
/
signup.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
97
98
99
100
101
102
103
104
105
106
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="fonts/icomoon/style.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Style -->
<link rel="stylesheet" href="css/style.css">
<title>Signup TOWIS</title>
</head>
<body>
<div class="content">
<div class="container">
<div class="row">
<div class="col-md-6 order-md-2">
<img src="images/undraw_file_sync_ot38.svg" alt="Image" class="img-fluid">
</div>
<div class="col-md-6 contents">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="mb-4">
<h3>Sign Up to <strong>TOWIS</strong></h3>
<p class="mb-4"></p>
</div>
<form action="proses.php?action=add_user" method="post">
<div class="form-group first">
<label for="username">Full Name</label>
<input type="text" name="name" class="form-control" required>
</div>
<div class="form-group last mb-4">
<label for="address">Address</label>
<input type="text" name="address" class="form-control" required>
</div>
<div class="form-group last mb-4">
<label for="email">Email</label>
<input type="text" name="email" class="form-control" required>
</div>
<div class="form-group last mb-4">
<label for="username">Username</label>
<input type="text" name="username" class="form-control" required>
</div>
<div class="form-group last mb-4">
<label for="address">Password</label>
<input type="text" title="6 Character Password. Use UpperCase, Lowercase and Numeric" pattern="^\S{6,}$" onchange="this.setCustomValidity(this.validity.patternMismatch ? 'Minimal 6 Karakter' : ''); if(this.checkValidity()) form.password_two.pattern = this.value;" name="password" class="form-control" >
</div>
<div >
<label> Birth Date</label>
<input type="date" name="tgl_lahir" class="form-control" required>
</div>
<div>
<input type="hidden" name="level_user" value="user" class="form-control" >
</div>
<input type="submit" value="Signup" class="btn text-white btn-block btn-primary">
<!-- <span class="d-block text-left my-4 text-muted"> or sign in with</span>
<div class="social-login">
<a href="#" class="facebook">
<span class="icon-facebook mr-3"></span>
</a>
<a href="#" class="twitter">
<span class="icon-twitter mr-3"></span>
</a>
<a href="#" class="google">
<span class="icon-google mr-3"></span> -->
</a>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>