forked from ZayBryx/Food-Court-Rental-System
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
32 lines (28 loc) · 1.15 KB
/
Copy pathindex.php
File metadata and controls
32 lines (28 loc) · 1.15 KB
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
<?php
$title = "Food Court Rental System | Login User";
require('template/header.php');
require('template/nav.php');
?>
<main class="container mt-5">
<h2 class="text-center mb-4">Login</h2>
<div class="row justify-content-center">
<div class="col-md-6">
<?php if(isset($_GET['errorMsg'])){
echo '<div class="alert alert-danger" role="alert">'. $_GET['errorMsg']. '</div>';
}
?>
<form action="/controller/checkUser.php" method="POST">
<div class="mb-3">
<label for="username" class="form-label">Username:</label>
<input type="text" class="form-control" id="username" name="username" required>
</div>
<div class="mb-3">
<label for="password" class="form-label">Password:</label>
<input type="password" class="form-control" id="password" name="password" required>
</div>
<button type="submit" class="btn btn-primary">Login</button>
</form>
</div>
</div>
</main>
<?php require('template/footer.php'); ?>