-
Notifications
You must be signed in to change notification settings - Fork 2
/
loginadmin.php
70 lines (67 loc) · 1.54 KB
/
loginadmin.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
61
62
63
64
65
66
67
68
69
70
<?php include('server1.php');
if (isset($_SESSION['username'])) {
header('location: admin.php');
} ?>
<!DOCTYPE html>
<html>
<head>
<title> LOGIN </title>
<style>
body {
font-size : 120%;
}
form, .content {
width : 30%;
margin: 0px auto;
padding: 20px;
border: 1px solid #B0C4DE;
background: white;
border-radius: 0px 0px 10px 10px;
}
.input-group {
margin: 10px 0px 10px 0px;
}
.input-group label {
display: block;
text-align: left;
margin: 3px;
}
.input-group input {
height: 30px;
width: 93%;
padding: 5px 10px;
font-size: 16px;
border-radius: 5px;
border: 1px solid gray;
}
.btn {
padding: 10px;
font-size: 15px;
color: white;
background: #5F9EA0;
border: none;
border-radius: 5px;
}
</style>
</head>
<body>
<form method="post" action="admin.php">
<center>
<div class="input-group">
<label>Username</label>
<input type="text" name="username">
</div>
<div class="input-group">
<label>Password</label>
<input type="password" name="password">
</div>
<div class="input-group">
<button type="submit" name="login" class="btn">Login</button>
</div>
<div class="input-group">
<a href="index.php"><strong> GO Live Score!</strong></a>
</div>
</center>
</form>
</body>
</html>