-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpage.php
36 lines (36 loc) · 823 Bytes
/
page.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
<?php
$page=htmlspecialchars(@$_GET['page']);
switch ($page){
case null:
include 'page/beranda.php';
break;
case 'beranda':
include 'page/beranda.php';
break;
case 'barang':
include 'page/barang.php';
break;
case 'supplier':
include 'page/supplier.php';
break;
case 'kriteria':
include 'page/kriteria.php';
break;
case 'subkriteria':
include 'page/subkriteria.php';
break;
case 'bobot':
include 'page/bobot.php';
break;
case 'penilaian':
include 'page/nilai.php';
break;
case 'hasil':
include 'page/hasil.php';
break;
case 'tambahbobot':
include 'page/tambahbobot.php';
break;
default:
include 'page/404.php';
}