-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
50 lines (47 loc) · 1 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
<?php
session_start();
?>
<html>
<head>
<title>Login</title>
<style type="text/css">
h2 {
text-align: center;
color:white;
}
body {
background-image:url("2.jpeg");
}
.form-container {
padding: 45px;
border: 1px solid #ccc;
margin: auto;
width:20%;
height:50%;
line-height:300%;
background-color:black;
color:white;
opacity:0.6;
}
.btn.btn-primary {
background-color:#ccc;
padding:3px 100px;
}
</style>
</head>
<body>
<h2>Welcome User</h2>
<hr>
<div class="form-container">
<form action="login.php" method="post">
<h2> LOGIN </h2>
<hr>
ID Number:<br>
<input type="text" name="username" minlength="10" maxlength="12" placeholder="Enter ID Number" required><br>
Password:<br>
<input type="password" name="password" minlength="10" maxlength="10" placeholder="Enter Password" required><br><br>
<button type="Submit" class="btn btn-primary">Login</button>
</form>
</div>
</body>
</html>