-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathIndex.php
78 lines (75 loc) · 2.42 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Student Management System</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script src="js/bootstrap.min.js"></script>
<script src="js/juqery_latest.js"></script>
</head>
<body class="p-3 mb-2 #E5E5E5 text-Black">
<div class="container align-center">
<div class="row">
<div class="col-md-12">
<h5 style="text-align: center; padding-top: 50px; font-size: 35px">
Student Management Syatem
</h5>
</div>
</div>
</div>
<br /><br /><br /><br /><br /><br />
<div class="container">
<div class="row">
<div class="col-md-4">
<form action="" method="post" style="text-align: center">
<input style="
height: 250px;
width: 250px;
padding: 105px 0px;
background-color: gray;
border-color: transparent;
font-size: 25px;
" class="btn btn-primary" type="submit" value="Admin" name="admin_login">
</form>
</div>
<div class="col-md-4" style="text-align: center">
<form action="" method="post">
<input class="btn btn-primary" type="submit" value="Teachers" name="teacher_login" style="
height: 250px;
width: 250px;
padding: 105px 0px;
background-color: #33c353;
border-color: transparent;
font-size: 25px;">
</form>
</div>
<div class=" col-md-4" style="text-align: center">
<form action="" method="post">
<input class="btn btn-primary" type="submit" value="Students" name="student_login" style="
height: 250px;
width: 250px;
padding: 105px 0px;
background-color: #f13838;
border-color: transparent;
font-size: 25px;
">
</form>
</div>
</div>
</div>
<?php
if (isset($_POST['admin_login'])) {
header("Location: admin_login.php");
}
if (isset($_POST['teacher_login'])) {
header("Location: teacher_login.php");
}
if (isset($_POST['student_login'])) {
header("Location: student_login.php");
}
?>
</body>
</html>