-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
47 lines (36 loc) · 1.29 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Login - জাবিইপা</title>
<link rel="shortcut icon" href="image/juil-logo.ico" type="image/x-icon">
<link rel="stylesheet" href="https://unpkg.com/swiper@7/swiper-bundle.min.css" />
<!-- font awesome cdn link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<script src="https://kit.fontawesome.com/899adf5c9e.js" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="css/login.css">
</head>
<body>
<!-- header section starts -->
<header class="header">
<div class="header-2">
<nav class="navbar">
<a href="index.php">Home</a>
</nav>
</div>
</header>
<form action="login-check.php" method="post">
<h2>ADMIN LOGIN</h2>
<?php if (isset($_GET['error'])) { ?>
<p class="error"><?php echo $_GET['error']; ?></p>
<?php } ?>
<label>Username</label>
<input type="text" name="uname" placeholder="Username" required><br>
<label>Password</label>
<input type="password" name="password" placeholder="Password" required><br>
<button type="submit">Login</button>
</form>
</body>
</html>