-
Notifications
You must be signed in to change notification settings - Fork 1
/
login.php
60 lines (44 loc) · 1.87 KB
/
login.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
<?php
include('includes/header.php');
if(isset($_SESSION['loggedIn']))
{
echo '<script>window.location.href="index.php"</script>';
}
?>
<!-- justify-content-center -->
<div class="py-5">
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-5">
<div class="pos-img mt-3">
<img src="assets/images/images.png" alt="">
</div>
</div>
<div class="col-md-6">
<div class="card shadow rounded-4">
<!-- Message function -->
<?php alertMessage(); ?>
<!-- Message function -->
<div class="p-5">
<h4 class="text-dark mb-3">Sign into your POS System</h4>
<form action="login-code.php" method="post">
<div class="mb-3">
<label for="">Enter Email Id</label>
<input type="email" name="email" class="form-control" required/>
</div>
<div class="mb-3">
<label for="">Enter Password</label>
<input type="password" name="password" class="form-control" required/>
</div>
<div class="mb-3">
<button type="submit" name="login" class="btn btn-primary mt-2">Sign In</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
include('includes/footer.php');?>