-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
81 lines (76 loc) · 3.16 KB
/
home.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/styles.css">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<?php
session_start();
if($_SESSION["level"] == ""){
header("location: loginpage.php?pesan=gagal");
}
?>
<section id="section1">
<div class="container">
<div id="selector_1" class="row">
<div id="selector1" class="col-lg-12">
<div class="wrapper-flex-spacebetween">
<div class="wrapper-flex-center">
<div class="tulisan1-judul">
BenMed
</div>
</div>
<div class="wrapper-flex-center">
<div class="tulisan1-judul" style="color: red; cursor: pointer;" onclick="location.href = 'logout.php'">
LogOut
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="section2" style="margin-top: 100px">
<div class="container">
<div id="selector_1-home" class="row">
<div id="selector1-home" class="col-lg-4">
<img src= <?php echo "image/Doctor-03.jpg"?> alt="" srcset="" style="width: 350px">
</div>
<div id="selector2-home" class="col-lg-8">
<div class="wrapper-flex-center-down">
<div class="tulisan1-judul">
Hi!
<?php
echo $_SESSION["username"];
?>
<br>
Anda Login Sebagai
</div>
<div class="tulisan1-judul">
<?php
echo $_SESSION["level"];
?>
</div>
<div class="tulisan1-judul" onclick="location.href = 'tampildatadokter.php'">
Cek Daftar Dokter
</div>
<div class="tulisan1-judul" onclick="location.href = 'tampildataperawat.php'">
Cek Daftar Perawat
</div>
<div class="tulisan1-judul" onclick="location.href = 'tampildataobat.php'">
Cek Daftar Obat
</div>
</div>
</div>
</div>
</div>
</section>
</body>
</html>