View difference between Paste ID: MWDvtVJu and SvMVKn5R
SHOW: | | - or go back to the newest paste.
1
index.php
2
3
<?php
4
$menu_active=@$_GET['isi'];
5
	if ($_GET['isi']=="home") {
6
		$geto=$_GET['isi'];
7
		$body="page/home.php";
8
		$stmu = '';
9
	}elseif ($_GET['isi']=="about") {
10
		$stmu = '';
11
		$body="page/about.php";
12
	}else {
13
		echo "halaman awal<br/>";
14
		$stmu="";
15
		$body="";
16
	}
17
	echo $stmu;
18
19
	include 'header.php';
20
	include $body;
21
	include 'footer.php';
22
?>
23