-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog_in.php
122 lines (104 loc) · 4.29 KB
/
log_in.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<?php
include './php/common.php';
links("Log-in");
title("Log-in");
?>
<html lang="en">
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css" integrity="sha512-MV7K8+y+gLIBoVD59lQIYicR65iaqukzvf/nwasF0nqhPay5w/9lJmVM2hMDcnK1OnMGCdVK+iQrJ7lzPJQd1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://kit.fontawesome.com/64d58efce2.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./css/style_log.css" />
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<title>Sign in & Sign up Form</title>
</head>
<body>
<div class="container">
<video autoplay muted loop plays-inline class='backvid'>
<source src='./assests/video/back.mp4' type='video/mp4' />
</video>
<div class="forms-container">
<div class="signin-signup">
<form action="add_customer.php" method="post" class="sign-in-form">
<span id="check-2"></span>
<img class="form__image" src="./assests/Images/keymaster_circle.png" />
<h2 class="title">Sign in</h2>
<div class="input-field">
<i class="fas fa-user"></i>
<input type="text" placeholder="Username" id="username-signin"/>
</div>
<div class="input-field">
<i class="fas fa-lock"></i>
<input type="password" placeholder="Password" id="Password-signin"/>
</div>
<input type='button' class="btn" value="Sign in" id="submit" onclick="log_in()" />
</form>
<form action="add_customer.php" method="post" class="sign-up-form">
<span id="check"></span>
<img class="form__image" src="./assests/Images/keymaster_circle.png" />
<h2 class="title">Sign up</h2>
<div class="input-field">
<i class="fas fa-user"></i>
<input type="text" name="username" placeholder="Username" id="username-signup" onkeyup="checkusername(this.value)" />
</div>
<div class="input-field">
<i class="fas fa-envelope"></i>
<input type="email" name="email" placeholder="Email" id="email-signup" />
</div>
<div class="input-field">
<i class="fas fa-envelope"></i>
<input type="Address" name="address" placeholder="Address" id="Address-signup" />
</div>
<div class="input-field">
<i class="fas fa-lock"></i>
<input type="password" name="password" placeholder="Password" onkeyup="checkPassword(this.value)" id="password-signup" />
</div>
<div class="validation" id="container-requirements">
<ul>
<li id="lower"> At least 1 lower case</li>
<li id="upper"> At least 1 upper case</li>
<li id="number"> At least 1 number </li>
<li id="special"> At least 1 special character</li>
<li id="length"> At least 8 characters</li>
</ul>
</div>
<input type='button' class="btn" value="Sign up" id="submit" onclick="save()" />
</form>
</div>
</div>
<div class="panels-container">
<div class="panel left-panel">
<div class="content">
<h3>New here ?</h3>
<p>
Regiser now and enjoy your shopping spree
</p>
<button class="btn transparent" id="sign-up-btn">
Sign up
</button>
</div>
<img src="./Assests/Images/log_in.png" class="image" alt="" />
</div>
<div class="panel right-panel">
<div class="content">
<h3>One of us ?</h3>
<p>
Log-in Directly and START SHOPPING
</p>
<button class="btn transparent" id="sign-in-btn">
Sign in
</button>
</div>
<img src="./Assests/Images/sign_up.png" class="image" alt="" />
</div>
</div>
</div>
<script src="./js/app.js"></script>
<script src="js/log_in_sorting.js"></script>
<!-- Back to Homepage box overflow -->
<a href="./index.php" class="gotobottom"><i class="fas fa fa-home"></i></a>
</body>
</html>