-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmop_staff.php
More file actions
63 lines (55 loc) · 2.55 KB
/
mop_staff.php
File metadata and controls
63 lines (55 loc) · 2.55 KB
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
<?php
include("connect.php")
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MOP Staff</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<link href="fontawesome-free-6.4.0-web/css/all.css" rel="stylesheet">
<link rel="stylesheet" href="css/staffpage.css">
</head>
<body>
<?php
include("header.php");
include("header2.php");
?>
<div id="staff_heading">
<h2 align="center">Modern Office Practice</h2>
</div>
<br>
<?php
$sel_query = "Select * from staff Where department='mop' ORDER BY staffid asc;";
$result = mysqli_query($con, $sel_query);
while ($row = mysqli_fetch_assoc($result)) { ?>
<div class="staff-container">
<div class="staff-content">
<div class="staff-img">
<img src="staff/<?php echo $row["photo"]; ?>" alt="" height="200">
</div>
<div class="staff-info">
<h5><b>Name :</b> <?php echo $row["name"]; ?></h5>
<br>
<h5><b>Designation : </b> <?php echo $row["designation"]; ?></h5>
<br>
<h5><b>Qualification : </b> <?php echo $row["qualification"]; ?> </h5>
<br>
<h5><b>Contact :</b> <?php echo $row["contact"]; ?> </h5>
<br>
<h5><b>Email :</b> <?php echo $row["email"]; ?></h5>
<br>
<h5><b>Date of Joining : </b> <?php echo $row["date_of_join"]; ?> </h5>
</div>
</div>
</div>
<?php
}
?>
<?php
include("footer.php");
?>
</body>
</html>