-
Notifications
You must be signed in to change notification settings - Fork 1
/
atur-konten.php
46 lines (41 loc) · 1.08 KB
/
atur-konten.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
<?php
if ($_GET['menu'] == 'home') {
include('konten/home.php');
}
elseif (empty($_GET['menu'])) {
include('konten/home.php');
}
elseif ($_GET['menu'] == 'keluar') {
session_destroy();
print "<meta http-equiv='refresh' content='0;URL=index.php'> ";
}
elseif ($_GET['menu'] == 'jenis-barang') {
include('konten/jenis-barang.php');
}
elseif ($_GET['menu'] == 'tambah-jenis-barang') {
include('konten/tambah-jenis-barang.php');
}
elseif ($_GET['menu'] == 'ruangan') {
include('konten/ruangan.php');
}
elseif ($_GET['menu'] == 'tambah-ruangan') {
include('konten/tambah-ruangan.php');
}
elseif ($_GET['menu'] == 'inventaris') {
include('konten/inventaris.php');
}
elseif ($_GET['menu'] == 'tambah-inventaris') {
include('konten/tambah-inventaris.php');
}
elseif ($_GET['menu'] == 'tambah-pegawai') {
include('konten/tambah-pegawai.php');
}
elseif ($_GET['menu'] == 'pegawai') {
include('konten/pegawai.php');
}
elseif ($_GET['menu'] == 'tambah-peminjaman') {
include('konten/tambah-peminjaman.php');
}
elseif ($_GET['menu'] == 'peminjaman') {
include('konten/peminjaman.php');
}