-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathteacher.php
74 lines (62 loc) · 1.92 KB
/
teacher.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
<?php
require('database_connection.php');
if(isset($_POST['Logout'])){
session_destroy();
header("location:signin.php");
}
?>
<!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>Teacher</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- <link rel="stylesheet" href="style.css"> -->
<style>
.card{
width: 20rem;
height: 20rem;
}
.card-body img{
height: 50px;
width: 50px;
margin-left: 32px;
}
</style>
</head>
<body>
<nav class="navbar navbar-light" style="background-color: #0C78CC;">
<div class="container-fluid">
<h2 class="navbar-brand fs-4 fw-bolder text-light">
<img src="photos/menu.png" class="navbar-brand" alt="">
Teacher Panel</h2>
<form class="d-flex" method="POST">
<a href="index.php" class="btn"><img src="photos/home.png" alt=""></a>
<button class="btn pb-3" type="submit" name="Logout"><img src="photos/check-out.png" alt=""></button>
<p class=" text-light pt-2 " >
<img src="photos/user (5).png" alt="">
<?php
session_start();
echo $_SESSION['name'] ;
?>
</p>
</form>
</div>
</nav>
<div class="card m-4 shadow">
<div class="card-body ">
<div class="card-header text-light rounded " style="background-color:#32AC71;">
<h5 class="card-title fs-2 fw-bolder">CSE-326
<img src="photos/user (4).png" class="card-img " alt="">
</h5>
<h6 class="card-subtitile fs-5">Section A</h6>
<p class="card-subtitle ">Internet Programming(Sessional)</p>
</div>
<a href="perform.php" class="stretched-link"></a>
</div>
</div>
<script src="js/bootstrap.bundle.js"></script>
</body>
</html>