forked from shaon92/Student-Management-System
-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
38 lines (37 loc) · 1.1 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
<?php
include("header.php");
if($login){
?> <h1 style="text-align: center;color: firebrick"><br/><br/><br/><br/><br/><br/><br/>You are Logged in<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/></h1><?php
}else{
?>
<style>
table{
border: 2px brown solid;
background-color: aqua;
margin-left: 350px;
margin-top: 30px;
box-shadow: black 5px 5px 5px;
}
</style>
<div id="content">
<form method="post" action="process_login.php">
<table>
<tr>
<td style="padding: 15px; color: blue;">Username:</td>
<td style="padding: 15px;"><input style="color: blue;" type="text" name="username" value="" required/></td>
</tr>
<tr>
<td style="padding: 15px; color: blue;">Password:</td>
<td style="padding: 15px;"><input style="color: blue;" type="password" name="password" value="" required/></td>
</tr>
<tr>
</tr>
<tr>
<td style="padding: 15px;" colspan="2" ><input style="color: blue;margin-left: 80px;" type="submit" name="login" value="Login" /></td>
</tr>
</table>
</form>
</div>
<?php
}
include('footer.php'); ?>