-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
55 lines (47 loc) · 1.13 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
<title>LOGIN</title>
</head>
<body>
<link rel="stylesheet" type="text/css" href="style.css">
<header class="myheader">
<nav class="header">
<p>thi is it</p>
</nav>
</header>
<div class="container">
<div class="row">
<div class="col">
<div class="login_div">
<div class="alert_message">
<h3>LOGIN FORM</h3>
</div>
<?php
if (@$_GET['Empty']==true) {
# code...
}
?>
<?php if (@GET['Invalid']==true) {
# code...
} ?>
<div class="alert-light text-danger">
<?php echo @$_GET['Empty']; ?>
<?php echo @$_GET['Invalid'];?>
</div>
<div class="login_body">
<form action="process.php" method="POST">
<input type="text" name="user_name" placeholder="user name">
<input type="password" name="password" placeholder>
<input type="submit " name="login" value="login">
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>