Advertisement
frowdst

index.php

Aug 26th, 2020
1,087
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. index.php
  2.  
  3. <?php
  4.     if ($_GET['isi']=="home") {
  5.         $geto=$_GET['isi'];
  6.         $body="page/home.php";
  7.         $stmu = '';
  8.     }elseif ($_GET['isi']=="about") {
  9.         $stmu = '';
  10.         $body="page/about.php";
  11.     }else {
  12.         echo "halaman awal<br/>";
  13.         $stmu="";
  14.         $body="";
  15.     }
  16.     echo $stmu;
  17.  
  18.     include 'header.php';
  19.     include $body;
  20.     include 'footer.php';
  21. ?>
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement