-
Notifications
You must be signed in to change notification settings - Fork 0
/
customer.php
45 lines (31 loc) · 1.04 KB
/
customer.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
<?php
require 'includes/header.php';
?>
<?php
if(isset($_GET['error'])){
$error = $_GET['error'];
?>
<div class="alert">
<span class="closebtn" onclick="this.parentElement.style.display='none';">×</span>
<?php echo $error; ?>
</div>
<?php
}
?>
<div class="customer">
<h1>Register</h1>
<p>Already have an account? <a href="login.php">Login here</a></p>
<form action="includes/customer-inc.php" method="POST" enctype="multipart/form-data">
<div class="non-radio">
<input type="text" name="username" placeholder="Username" maxlength="20" minlength="5">
<input type="password" name="password" placeholder="Password" maxlength="25" minlength="4">
<input type="password" name="confpass" placeholder="Retype Password" maxlength="25" minlength="4">
<p>Enter your photo below</p>
<input type="file" name="file">
</div>
<button type="submit" name="submit">Submit</button>
</form>
</div>
<?php
require 'includes/footer.php';
?>