-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
59 lines (51 loc) · 2.02 KB
/
index.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
<?php
session_start();
?>
<html>
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="modal">
<span class="times">×</span>
<div class="modal-content">
<button class="signup-art">SIGN UP</button>
<button class="signup-temp">LOG IN</button>
<div class="form1">
<?php if(isset($_SESSION['msg'])) echo $_SESSION['msg']; ?>
<form id="form" autocomplete="off" action="./scripts/users.php" method="post">
<!-- this is the fist step -->
<div class="step">
<input type="text" name="name" class="name" placeholder="Your Name" required><br>
<input type="email" name="email" class="name" placeholder="Your Email" required><br>
<input type="text" name="address" class="name" placeholder="Your Address" required>
<input type="password" name="password" class="name" placeholder="Choose Password" required><br>
</div>
<!-- this is the third step-->
<!-- end of steps-->
<button class="signup">SIGN UP</button>
</form>
</div>
<div class="form2">
<form id="form2" action="./scripts/users.php" method="post">
<!-- this is the fist step -->
<div class="step">
<input type="email" name="login_email" class="name" placeholder="Your Email" required><br>
<input type="password" name="login_password" class="name" placeholder="Your Password" required><br>
</div>
<!-- this is the second step-->
<!-- this is the third step-->
<!-- end of steps-->
<button class="login">LOG IN</button>
</form>
</div>
</div>
</div>
</div>
<script src="jquery.min.js"></script>
<script src="app.js"></script>
</body>
</html>
<?php
session_destroy();
?>