-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.php
More file actions
26 lines (24 loc) · 770 Bytes
/
content.php
File metadata and controls
26 lines (24 loc) · 770 Bytes
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
<?php
@$halaman = $_GET['halaman'];
if ($halaman == "departemen"){
//tampilkan halaman departemen
//echo "Tampil Halaman Modul Departemen";
include "modul/departemen/departemen.php";
}
elseif ($halaman == "pengirim_surat"){
//tampilkan halaman pengirim surat
include "modul/pengirim_surat/pengirim_surat.php";
}
elseif ($halaman == "arsip_surat"){
//tampilkan halaman arsip surat
if(@$_GET['hal'] == "tambahdata" || @$_GET['hal'] == "edit" || @$_GET['hal'] == "hapus"){
include "modul/arsip/form.php";
}else{
include "modul/arsip/data.php";
}
}
else{
//echo "Tampil Halaman Home";
include "modul/home.php";
}
?>