-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindexx.php
137 lines (118 loc) · 2.59 KB
/
indexx.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?php
if (session_status() !== PHP_SESSION_ACTIVE) {
session_start();
}
?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport", initial-scale=1">
<style>
body {font-family: Arial, Helvetica, sans-serif;}
form {border: 3px solid #f1f1f1;
height: 400px;
width: 350px;
border-radius: 25px;
background: linear-gradient(-45deg, #66ff66,#00e600,#00b300,#ccffeb,#006600);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
input[type=text], input[type=password] {
width: 80%;
padding: 12px 20px;
margin: 8px 8px 8px 8px;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
border-radius: 15px;
align-items: center;
}
button {
background-color: #0341fc;
color: white;
padding: 12px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 80%;
border-radius: 15px;
}
button:hover {
opacity: 0.8;
}
.cancelbtn {
width: 80%;
padding: 10px 18px;
background-color: #f44336;
}
.imgcontainer {
text-align: center;
margin: 24px 0 12px 0;
}
img.avatar {
width: 40%;
border-radius: 50%;
}
.container {
padding: 16px;
}
.myLogo{
width: 60px;
height: 60px;
margin-top: 30px;
}
span.psw {
float: right;
padding-top: 16px;
}
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
span.psw {
display: block;
float: none;
}
.cancelbtn {
width: 100%;
}
}
</style>
</head>
<body>
<title>USC Community Extension Services</title>
<center>
<img class="myLogo" src="University_of_San_Carlos_logo.png" align="center"></img>
<form action="/Login.php" method="post">
<div class="container">
<label for="uname"><b></b></label>
<input type="hidden" name="Empname">
<input type="text" placeholder="Username" name="user_name" required>
<br>
<label for="psw"><b></b></label>
<input type="password" placeholder="Password" name="pass1" required>
<br>
<button type="submit" name="submit">Login</button><br>
<button type="reset" name="reset" class="cancelbtn">Cancel</button>
<br>
<label>
<input type="checkbox" checked="checked" name="remember"> Remember me <label>    <a href="frmforgotpassword.php">Forgot Password?</a></label>
</label><br>
<label>Don't have an account?   <a href="frmregister.php">Register here</a></label>
</div>
</form>
</center>
</body>
</html>
<?php
include("footer.php");
?>