-
Notifications
You must be signed in to change notification settings - Fork 3
/
signup.php
107 lines (78 loc) · 2.79 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
107
<?php
include 'connection.php';
// include 'Vars.php';
?>
<!DOCTYPE html>
<html>
<head>
<?php
include 'common/head.php';
?>
<link rel="stylesheet" type="text/css" href="Style/login.css">
</head>
<style type="text/css">
</style>
<style>
.error {color: #FF0000;}
</style>
<body>
<?php
include 'common/header.php';
?>
<section id="main-content">
<div class="box">
<h2>Signup</h2>
<form action="process/signup_.php" autocomplete="off" method="POST">
<div class="inputbox">
<input type="text" name="name" required>
<label>Username</lable>
</div>
<div class="inputbox">
<input type="text" name="shopname" required>
<label>Shop Name</lable>
</div>
<div class="inputbox">
<input type="text" name="phone" required>
<label>Phone Number</lable>
</div>
<div class="inputbox">
<input type="email" name="email" required>
<label>Email</lable>
</div>
<div class="inputbox">
<input type="text" name="address" required>
<label>Address</lable>
</div>
<div class="inputbox">
<input type="password" name="password" required>
<label>Password</lable>
<span class="error" style="font-size: 0.4em;">
</div>
<input type="submit" name="submit" value="Submit">
<br>
<div class="inputbox">
<label><?php $_SESSION['Er']; ?></lable>
<span class="error" > <?php echo $_SESSION["repeatErr"];?></span>
<br>
<span class="error" > <?php echo $_SESSION["nameErr"];?></span>
<br>
<span class="error" > <?php echo $_SESSION["phoneErr"];?></span>
<br>
<span class="error" > <?php echo $_SESSION["emailErr"];?></span>
<br>
<span class="error" > <?php echo $_SESSION["passErr"];?></span>
</div>
</form>
</div>
</section>
<?php
include 'common/footer.php';
?>
<!-- My Scripts -->
<script src="Javascript/signup.js"></script>
<script type="text/javascript">
$(document).ready(function () {
});
</script>
</body>
</html>