-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmedia.php
116 lines (106 loc) · 4.19 KB
/
media.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?php
session_start();
if(empty($_SESSION['iduser'])){
echo "
<script type='text/javascript'>
alert('Mohon maaf, Silahkan Login Terlebih Dahulu.');
window.location.href='index.php';
</script>
";
}
elseif(isset($_SESSION['iduser']) AND isset($_SESSION['akses'])){
include ("config/koneksi.php");
include ("config/akses.php");
include ("config/class_paging.php");
include("config/fungsi_indotgl.php");
include("config/fungsi_rupiah.php");
$akses=$_SESSION['akses'];
error_reporting(E_ALL^(E_NOTICE));
?>
<!DOCTYPE html>
<html lang="id">
<head>
<title><?php include ("config/title.php"); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<link href="css/custom.css" rel="stylesheet" media="screen">
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="css/bootstrap-responsive.min.css" rel ="stylesheet">
<link href="font-awesome/css/font-awesome.min.css" rel ="stylesheet">
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script><!-- Bootstrap -->
<link rel="shortcut icon" href="logo.png" >
</head>
<body>
<header>
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<!-- Menampilkan tombol trigger -->
<a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-responsive-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a><!-- Akhir dari tombol triger -->
<!-- Komponen navbar -->
<div class="nav-collapse collapse navbar-responsive-collapse">
<ul class="nav">
<li><a href="media.php?module=home"><i class="fa fa-home"></i> Home</a></li>
<li><a href="media.php?module=rekam_medik"><i class="fa fa-medkit"></i> Sistem Informasi Klinik</a></li>
<?php
if($akses=='3'){
?>
<li><a href="media.php?module=data_user"><i class="fa fa-users"></i> Data User</a></li>
<?php
}
?>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-wheelchair"></i> Data Pasien <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="media.php?module=data_pasien">Data Pasien</a></li>
<li><a href="media.php?module=tanggungan">Data Pasien Tanggungan</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user-md"></i> Data Dokter <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="media.php?module=dokter">Data Dokter</a></li>
<li><a href="media.php?module=jadwal_dok">Jadwal Dokter</a></li>
</ul>
</li>
<li><a href="media.php?module=pegawai"><i class="fa fa-users"></i> Data Pegawai</a></li>
<li><a href="media.php?module=tindakan"><i class="fa fa-plus-square"></i> Kategori Tindakan</a></li>
<li><a href="media.php?module=dataobat"><i class="fa fa-tint"></i> Data Obat</a></li>
<li><a href="laporan.php"><i class="fa fa-globe"></i> Wilayah</a></li>
</ul>
<ul class="nav pull-right">
<li class="divider-vertical"></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-logout" ></i> Settings <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#"><i class="icon-refresh"></i> Ganti Password</a></li>
<li class="divider"></li>
<li><a href="media.php?module=keluar"><i class="icon-off"></i> Keluar</a></li>
</ul>
</li>
</ul>
</div><!-- /.nav-collapse -->
</div>
</div><!-- /navbar-inner -->
</div><!-- /navbar -->
</header>
<?php
include ("kontent.php");
?>
<script type="text/javascript">
$(function () {
$(".btn").popover('show');
});
</script>
</body>
</html>
<?php
}
else{
}
?>